CY7C68013 Gpif

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

cross mob
Anonymous
Not applicable

Hello!

   

I read documentation on CY768013 chapter 10 about GPIF, but can't understand how specific waveform chosen at the right moment. For instance, i have 4 waveform (read, write, fifo read, fifo write).When i call single read function, how it choose needed waveform. Can anyone explain me?

   
        
0 Likes
1 Solution
Anonymous
Not applicable

Hi,

   

By default, the waveform that you design in the first tab is considered as "Single Read".

   

Second tab is considered for " Single Write". Similary third one is for "FIFO Read" and 4th one is "FIFO Write". If you are following this you don't have to select any waveform specifcially.

   

If you are performing "Single Read" then you need to perform a dummy read to register XGPIFSGLDATLX. This will automatically initiate the GPIF waveform for SIngle Read.

   

g_data = XGPIFSGLDATLX;

   

In case of FIFO Write,

   

GPIFTRIG = FIFO_EpNum; will trigger thr corresponding GPIF FIFO Write waveform.

   

But you can also use all tabs for different "FIFO Write" waveforms in case your application demands that. But then you need to select the waveform with the help of GPIFWFSELECT register.

   

Please let me know if my explanation is not clear.

   

Thanks,

   

sai krishna.

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

   

By default, the waveform that you design in the first tab is considered as "Single Read".

   

Second tab is considered for " Single Write". Similary third one is for "FIFO Read" and 4th one is "FIFO Write". If you are following this you don't have to select any waveform specifcially.

   

If you are performing "Single Read" then you need to perform a dummy read to register XGPIFSGLDATLX. This will automatically initiate the GPIF waveform for SIngle Read.

   

g_data = XGPIFSGLDATLX;

   

In case of FIFO Write,

   

GPIFTRIG = FIFO_EpNum; will trigger thr corresponding GPIF FIFO Write waveform.

   

But you can also use all tabs for different "FIFO Write" waveforms in case your application demands that. But then you need to select the waveform with the help of GPIFWFSELECT register.

   

Please let me know if my explanation is not clear.

   

Thanks,

   

sai krishna.

0 Likes
Anonymous
Not applicable

 Hi!

   

Ok, it's all clear for me now, great thanks.

0 Likes