FX3 ez-usb SDK provides API initialization GPIO, use the SPI related functions in the API can't use, now have a solution?

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

cross mob
Anonymous
Not applicable

FX3 ez-usb SDK provides API initialization GPIO, use the SPI related functions in the API can't use, now have a solution?

0 Likes
1 Solution

It looks like you want to use 32-bit GPIF and SPI Functionality.

But in FX3, SPI interface lines are not available when GPIF II is configured in 32-bit mode. However it is still possible to

use SPI interface for booting and then configure GPIF II to 32-bit mode.

If your SPI interface requirement is not for Booting purpose, you can still get the SPI Functionality using the GPIOs.

We have provided an example project in the SDK, in which we used 4 GPIOs for SPI purpose.

Refer the project provided in this path: \EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode

Is this helpful to you?

View solution in original post

0 Likes
3 Replies
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

We couldn't understand your question clearly. Please re-state.

Do you want to implement SPI functionality using the GPIOs(Bit-Banging)?

0 Likes
Anonymous
Not applicable

Sorry,

My problem is to use FX3 ez-usb SDK API provided after the initialization GPIF, and then use the SPI function function can not be used, and now use the GPIO imitation of the SPI.

Due to the need to use high-speed read and write operations, so imitation of the SPI can not meet, with or without a solution?

Thank you

0 Likes

It looks like you want to use 32-bit GPIF and SPI Functionality.

But in FX3, SPI interface lines are not available when GPIF II is configured in 32-bit mode. However it is still possible to

use SPI interface for booting and then configure GPIF II to 32-bit mode.

If your SPI interface requirement is not for Booting purpose, you can still get the SPI Functionality using the GPIOs.

We have provided an example project in the SDK, in which we used 4 GPIOs for SPI purpose.

Refer the project provided in this path: \EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode

Is this helpful to you?

0 Likes