How to use internal clock settings and GPIF. | Cypress Semiconductor
How to use internal clock settings and GPIF.
Summary: 6 Replies, Latest post by Waterman on 14 Nov 2013 07:27 PM PST
Verified Answers: 0
13 Nov 2013 01:14 AM PST#1
My goal is to develop a firmware for the FX3 that would do the following:
- if type is CY_U3P_DMA_CB_PROD_EVENT,
call CyU3PGpifControlSWInput(CyTrue) and CyU3PDmaChannelCommitBuffer()
When data is sent from pc to fx3, I want a dma callback for CY_U3P_DMA_CB_CONS_EVENT, but no reponse.
Strangely, GPIF Callback is called (stateid is STATE3 (INIT_CPU)).
So I tested.. when only SWTrigger(True) without data, GPIF Callback is called, too.
Please tell me what I'm doing wrong and send me the examples.