Is it possible to boot FX3 from SPI, then later switch the pins to 32-bit GPIF?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
GrCa_1363456
Level 6
Level 6
50 likes received Beta tester First comment on KBA

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
Moderator
5 likes given 500 solutions authored 1000 replies posted

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
Moderator
5 likes given 500 solutions authored 1000 replies posted

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