- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Hardware SPI port is not available when using 32-bit GPIF.
I understand there is a Software SPI option explained @ FX3 use of SPI and 32 bits words GPIF
Is it possible to boot the FX3 from Hardware SPI, and sometime later switch the pins to 32-bit GPIF?
If so, is it also possible to switch back to 16-bit GPIF with SPI in order to access the SPI device(s)?
Are there any examples available?
Thank you in advance for your support.
Greg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Greg,
Please refer to this thread 32-bit GPIF and SPI boot
The booting can be done with 32-bit GPIF as SPI boot is determined by the PMODE line status and not he io matrix configuration.
- Yes you can change io matrix configuration to 16 bit and enable the SPI when device need to communicate with SPI devices and set this io matrix configuration.
- If you don't want to switch between the io matrix configurations. You can do bit banging and use the UART Pins [53:56] for SPI. Please refer to the spigpiomode example in the SDK 1.3.4. But the SPI will not have the same performance as the default one.
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Greg,
Please refer to this thread 32-bit GPIF and SPI boot
The booting can be done with 32-bit GPIF as SPI boot is determined by the PMODE line status and not he io matrix configuration.
- Yes you can change io matrix configuration to 16 bit and enable the SPI when device need to communicate with SPI devices and set this io matrix configuration.
- If you don't want to switch between the io matrix configurations. You can do bit banging and use the UART Pins [53:56] for SPI. Please refer to the spigpiomode example in the SDK 1.3.4. But the SPI will not have the same performance as the default one.
Regards,
Rashi
Rashi