- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I'm learning about GPIF-II State Machine.
But I have some questions about state machine.
First is start order of state machine.
As you can see in document numbered AN75779, there are two start point of state named "START_SCK0" and "START"SCK1".
Which one is performed first?
Second is about dma callback and thread context.
When state was in "PUSH_DATA_SCK0" and line was !LV, state would be changed to "LINE_END_SCK0", isn't it?
And then state would be change from "LINE_END_SCK0" to "WAIT_FULL_SCK0" when DATA_CNT_HIT was true, it's correct?
So when state was changed to "WAIT_FULL_SCK0", is dma callback function called for "WAIT_FULL_SCK0"? And then when LV was true, state would be changed to "PUSH_DATA_SCK1", right?
Am I right?
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In the AN75779, there are two start states, START_SCK0 and START_SCK1. The state which will be performed first will depend on the parameters in the firmware GPIF APIs.
Yes, you are right. DMA callback function is called for "WAIT_FULL_SCK0".
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In the AN75779, there are two start states, START_SCK0 and START_SCK1. The state which will be performed first will depend on the parameters in the firmware GPIF APIs.
Yes, you are right. DMA callback function is called for "WAIT_FULL_SCK0".
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the GPIF APIs that you said like CyU3PGpifSMStart and CyU3PGpifSMSwtich?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Yes, by GPIF APIs I meant, CyU3PGpifSMStart and CyU3PGpifSMSwitch.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your answers have been helped a lot for me understanding that.
I appreciate that your helping.