Re: GPIF II DDR Mode

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

cross mob
mcn
Level 2
Level 2
10 replies posted 5 questions asked 10 sign-ins

Any additional details (or even a working example) would be helpful. Do we need to set DDR_MODE and DLE_PRESENT? Could we also DR_DATA at DDR? 

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Glad to hear that the example project was helpful

Yes, when GPIF is in DDR mode it can drive the data on both clock edges. USB to GPIF example drives the data on both clock edges. You can use the Cypress' Streamer application to check the throughput.

Regards,
Rashi

View solution in original post

0 Likes
4 Replies
lock attach
Attachments are accessible only for community members.
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please find the attached example firmware which configures the GPIF in synchronous DDR mode and let me know if it works.

To configure the GPIF in DDR mode, B6 bit of GPIF_CONFIG needs to be set and along with this the dll block is enabled using the CyFxApplnSetPibDllParameters API

Regards,
Rashi
0 Likes
mcn
Level 2
Level 2
10 replies posted 5 questions asked 10 sign-ins

Hi Rashi,

This is helpful, thank you! Is it possible to DR_DATA as well in DDR mode? Also, is setting B6 in GPIF_CONFIG all that's necessary to get it to latch on both rising and falling edges? The docs seem to imply that it just doubles the clock speed.

0 Likes
lock attach
Attachments are accessible only for community members.
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Glad to hear that the example project was helpful

Yes, when GPIF is in DDR mode it can drive the data on both clock edges. USB to GPIF example drives the data on both clock edges. You can use the Cypress' Streamer application to check the throughput.

Regards,
Rashi
0 Likes

Fantastic! I'll try this out first thing next week.

0 Likes