- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In fx3s, the SPI_SS# PIN is connected to SPI FLASH chipselect. How to disable/enable this pin?
can i make this pin High or high imedence in the firmware?
regards,
geetha.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Geetha,
Step-1:
Slave select using firmware
status = CyU3PSpiSetConfig (&spiConfig, NULL)
&spiConfig Which contain following parameter.
spiConfig.ssnCtrl =/* This is the slave select control using firmware*/.
Step-2:
CyU3PSpiSetSsnLine (CyFalse);------This api is set false means SPI_SS# pin is deassert.
CyU3PSpiSetSsnLine (CyTrue);-------This api is set True means SPI_SS# pin is assert.
Please refer the SPI DMA mode example provided with the SDK in this path: "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspidmamode".
Regards,
Anil Srinivas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Geetha,
Step-1:
Slave select using firmware
status = CyU3PSpiSetConfig (&spiConfig, NULL)
&spiConfig Which contain following parameter.
spiConfig.ssnCtrl =/* This is the slave select control using firmware*/.
Step-2:
CyU3PSpiSetSsnLine (CyFalse);------This api is set false means SPI_SS# pin is deassert.
CyU3PSpiSetSsnLine (CyTrue);-------This api is set True means SPI_SS# pin is assert.
Please refer the SPI DMA mode example provided with the SDK in this path: "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspidmamode".
Regards,
Anil Srinivas.