Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

GrCa_1363456
Contributor II

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

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator

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

Regards,
Rashi

View solution in original post

1 Reply
Rashi_Vatsa
Moderator
Moderator

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

Regards,
Rashi

View solution in original post