Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Hi, I am a new on Cypress FX3. I got a GPIO problem, please help me to solve it.
I add the GPIO configuration in "cyfxuvcinmem" example. The configuration was copied from "cyfxgpioapp". I want to initial GPIO , but the "CyU3PGpioSetSimpleConfig" always returns error code "CY_U3P_ERROR_NOT_STARTED". After I tried many methods I got the same result.
Attachment is my project. Can you help me to check it ?
I have looked at your code. I don't see that you initializing the GPIO module. You need to do that before configuring any GPIO. Please go through the function "CyFxGpioInit" in "GpioComplexApp" example code.
/* Init the GPIO module. The GPIO block will be running
* with a fast clock at SYS_CLK / 2 and slow clock is not
* used. For the DVK, the SYS_CLK is running at 403 MHz.*/