FX3 available GPIOs with 24-bit GPIF configuration

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

cross mob
KeWa_2323766
Level 4
Level 4
25 sign-ins First solution authored 25 replies posted

I have project that needs to use 24-bit GPIF configuration for parallel data bus. At the same time, I2C, SPI and UART communication block are also needed.  Since SPI can UART can't be used at the same time. 4 GPIOs need to be used to implement bit-bang SPI. I  I have 2 questions regarding using 24-bit GPIF

1. IO  configuration block :    io_cfg.isDQ32Bit        = CyTrue ?  

2. available GPIOs for other control signals:   Are GPIOs of   CTL[0], CTL[1], ..., CTL[12],  DQ[23], DQ[24],..., DQ[31], I2S_CLK, I2S_SD,I2S_WS, and I2S_MCLK  all available for controlling other external accessories?

Thanks,

0 Likes
1 Solution
abhinavg_21
Moderator
Moderator
Moderator
50 likes received 25 likes received 10 likes received

Hi Kelly,

You can use SPI and UART together with 24 bit GPIF bus width. Keep the io_cfg.isDQ32Bit  as CyFalse. Yes you can use other GPIO's for controlling other external accessories.

Thanks & Regards

Abhinav

View solution in original post

0 Likes
1 Reply
abhinavg_21
Moderator
Moderator
Moderator
50 likes received 25 likes received 10 likes received

Hi Kelly,

You can use SPI and UART together with 24 bit GPIF bus width. Keep the io_cfg.isDQ32Bit  as CyFalse. Yes you can use other GPIO's for controlling other external accessories.

Thanks & Regards

Abhinav

0 Likes