Hello,
I am trying to use GpioApp example which is provided into FX3 SDK. Sample code demonstrate "How to use simple gpio". As per the sample code we are able to use GPIO 45 as a external interrupt. I am trying to use some other pins as a simple gpio [ GPIO17 and GPIO23 ] but when I am going to configure this, then external interrupt also not working.
Please find attachment of source code. In that source code my changes is in between "/********************** Added My Changes Start *******************************/" to "/***************** End ***************************/" this comment.
Please let me know is there any change required into this.
I am running this sample code on Denebola RDK.
Thanks,
Amit
Solved! Go to Solution.
Hi Amit,
GPIO 17 & GPIO 23 need to be override with function CyU3PDeviceGpioOverride. And you also need to set io_cfg.gpioSimpleEn[0] to 0.
Regards,
Eddie
Hi Amit,
GPIO 17 & GPIO 23 need to be override with function CyU3PDeviceGpioOverride. And you also need to set io_cfg.gpioSimpleEn[0] to 0.
Regards,
Eddie