You are here

FX3 : a question about GPIOs | Cypress Semiconductor

FX3 : a question about GPIOs

Summary: 2 Replies, Latest post by eandre_1663191 on 10 Jun 2016 02:16 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
eandre_1663191's picture
12 posts

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.

mady's picture
Cypress Employee
963 posts


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.


- Madhu Sudhan

eandre_1663191's picture
12 posts

Thanks for the answer !

Log in to post new comments.