Can the GPIF output be written manually by the CPU?

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

cross mob
Anonymous
Not applicable

I have an application where I would like to output single words of data (16bit or 32bit) from the FX3 to its output pins.

DQ0..31 can be configured as GPIO and controlled "manually" using the CPU, one pin at a time, by writing to GPIO_SIMPLE.

But on most other MCU's such port pins will also be directly memory mapped so that a single 16bit or 32bit CPU write will control all pins with a single write.

Is this kind of functionality possible on FX3, or must I always use DMA to control the GPIF outputs in a synchronous way?

0 Likes
1 Solution
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

CyU3PGpifWriteDataWords API writes a specified number of data words to the GPIF interface.

Refer FX3 API Guide for more details

View solution in original post

2 Replies
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

CyU3PGpifWriteDataWords API writes a specified number of data words to the GPIF interface.

Refer FX3 API Guide for more details

Anonymous
Not applicable

With a suitable GPIF2 state machine, this solution worked exactly as I needed.

0 Likes