AnsweredAssumed Answered

Need help: SPI with 10 devices attached

Question asked by byra ferkovich on Aug 6, 2010
Latest reply on Sep 24, 2010 by Petr MacHala

Hi, Im brand new to MQX and the 52259. I have an application that has 10 devices attached to the SPI0 bus. Each has its own chip select, generated by a decoder (74154 type). The decoder inputs are connected to the 3 dedicated qspi CS pins plus a gpio pin, giving it the ability to select up to 16 different devices. In the MQX UG section about the SPI, all it says is that the QSPI chip selects are handled automatically and that the IO_IOCTL_SPI_SET_CS_CALLBACK function does not apply to this mcu.

 

How do I set it up so that when I write/read the SPI, it will automatically output the CS I need? Even if I have to do it manually that would be ok, but I dont see how to do that either.

 

Thanks,

 

Byra

Outcomes