- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am developing an SPI interface on firmware with an FX3 device, but i need to have multiple slaves and be able to choose which one i want to communicate with, as far as i know, fx3 only has one chip select line for SPI
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The slave Select line available in FX3 by default is meant for the default Slave device. If you want to use multiple slaves, you can always use any other available GPIOs and assert and de-assert in the Firmware whenever needed. CyU3PSpiSetSsnLine API is used for asserting/de-asserting the SSN line. You can refer to the UsbSpiRegMode and UsbSpiDmaMode code examples to get started with your application.
You can find the API guide for the FX3 SDK in the path "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware" after FX3 SDK installation in Windows.
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The slave Select line available in FX3 by default is meant for the default Slave device. If you want to use multiple slaves, you can always use any other available GPIOs and assert and de-assert in the Firmware whenever needed. CyU3PSpiSetSsnLine API is used for asserting/de-asserting the SSN line. You can refer to the UsbSpiRegMode and UsbSpiDmaMode code examples to get started with your application.
You can find the API guide for the FX3 SDK in the path "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware" after FX3 SDK installation in Windows.
Thanks,
Ajeeth