Not able work external interrupt for CX3

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

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

0 Likes
1 Solution
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

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

View solution in original post

0 Likes
1 Reply
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

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

0 Likes