Is Bot Board II PS2 Pins SPI - compatible

Does anyone know if the pins for the PS2 controller on the BotBoard II compatible with SPI? My thought is that instead of re-writing the Phoenix code, I could just programmatically emulate a PS2 controller. Does anyone know if the PS2 pins can be connected directly to SPI?

I suspect that it is, since the Phoenix control_ps2.bas simply treats pins 12-15 as if they are SPI. But I want to make sure before I fry connecting an IOIO board to the Bot Board with the idea that the IOIO will active like the slave, and the Bot Board II will continue to act like the master.

And I want to compare the mapping (Phoenix/PS2 Nomenclature = Bot Board II Pin = SPI nomenclature):

PS2DAT = Pin 12 = MISO
PS2CMD = Pin 13 = MOSI
PS2SEL = Pin 14 = SS
PS2CLK = Pin 15 = SCLK

Hey,

That may very well be possible.

Please note that unlike a true SS pins for SPI, in the case of a PS2 controller, the SEL/ATT pin needs to be driven low before every packet and driven high again afterwards.
Of course, your PS2 emulation could simply ignore that, too. You can read more about the PS2 interface/protocol here.

If you are afraid of damaging the IOIO board, you could place some opto-isolators (ex: 2x RB-Spa-750) between the two boards.

Other than these details, your assessment seems good and you should be able to emulate a controller without too much work.

Sincerely,