cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

Hi everyone,

   

There's a sentence in the FX3 technical reference manual that is not clearly understandable.

   

It is said that "
All 60 GPIO pins in FX3 can function as GPIOs. Each is multiplexed to support other functions/peripheral blocks (like UART,SPI, and so on). By default, the pins are allocated in groups to either one function block or the other, depending on the interface mode, in their respective power domains"
 

   

Does that mean that any GPIO pins can be used for any interface ? I'd like to use 2 SPI interface with the FX3.

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

   

You cannot use any GPIO pins for any interface. What meant was, you can use the Pins dedicated for SPI/UART/I2C/I2S as ordinary GPIOs also.

   

There is only one dedicated SPI block with its IOs. However, in addition to the original SPI Pins you can create a custom SPI using ordinary GPIOs but bitbanging. We have an example code for doing so. In the SDK, please refer "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode"

   

But this bigbanging will have its own disadvantages of loading the CPU and slow data transfer rate.

   

Regards,

   

- Madhu Sudhan

0 Likes
Anonymous
Not applicable

Thanks for the answer !

0 Likes