Are there any ATxmega chips with bi-directional SPi ports?
First, I'm going to assume this is what you are looking for:


An Atmel xmega micro-controller
Has IO pins configurable as input (with optional pull-up resistors), or as output
Has both slave and master SPI functionality (preferably hardware support)


Comment below if this isn't exactly what you're looking for.

Pretty much all xmega (maybe even all) devices feature IO pins with select-able internal pullup/pulldown resistors.

This is the IO block diagram for an xmega-AU device:



Notice that the top-right section of the general IO pin block diagram has select-able internal pull-up and pull-down functionality, as well as a pull keep or totem pole input options. This is common across all IO pins configurable as general IO pins.

That just leaves hardware SPI functionality. Luckily, the same xmega-AU device supports hardware SPI in both master and slave modes. See chapter 22 for full details on what is supported.

This is not exclusive to the xmega-AU series, this just happened to be the first one I clicked on. IIRC, pretty much all xmega chips have the same or very similar general IO block diagram, and they also support hardware SPI in master and slave modes.