- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an cyusb3.0kit, which use fx3 MCU, and I am trying to communicate with another IC via 16bit-bus.
I need to make WRN (Write enable) pin high for 30ns, send the data to the BUS then make WRN low.
But i tried to use CyU3SimpleGPIOSetValue() and it seems to be the smallest rate of GPIO pin is 1us. So how should I do now. I tried something like that:
For(;;) {
CyU3SimpleGPIOSetValue(LED_Pin, 1);
CyU3SimpleGPIOSetValue(LED_Pin, 0);
}
and used an ossiloscope to measure the LED_Pin. How can I make a 30ns delay while the CyU3SimpleGPIOSetValue() function take 1us itself to implement?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to these links to understand the GPIO clock and usage of complex GPIO
Solved: Re: FX3 GPIO Clocks - Infineon Developer Community
Pulse on FX3 Complex GPIO – KBA228439 - Infineon Developer Community
You can also refer to FX3 TRM for more info on complex GPIO
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way I dont wanna use GPIF II because I am new with this type of MCU and the GPIF seems quite hard for me to config.
I see that the kit run at 384Mhz for SYS_CLK, and 96MHz for GPIO clock, so I wonder how to make the gpio faster because someone on the forum said that 1us is the maximum I can get with software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to these links to understand the GPIO clock and usage of complex GPIO
Solved: Re: FX3 GPIO Clocks - Infineon Developer Community
Pulse on FX3 Complex GPIO – KBA228439 - Infineon Developer Community
You can also refer to FX3 TRM for more info on complex GPIO
Rashi