CY7C65211 - getting notification over the Interrupt EP on GPIO change

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

cross mob
Anonymous
Not applicable

 Hello,

   

In many cases SPI devices have interrupt signal which is used to notify SPI master that some action is needed. I see that CY7C65211 have interrupt endpoint exposed so I wonder if it is possible to get nottification from CY7C65211 that GPIO line is triggered instead of constant polling of this device.

   

Thanks,

   

Damjan

0 Likes
2 Replies
Anonymous
Not applicable

 2nd try....

0 Likes
Keerthy_V
Moderator
Moderator
Moderator
First like given 250 sign-ins 50 solutions authored

Hi,

   

 

   

We cannot use GPIO pin as interrupt for CY7C65211 part. There is no option to configure the GPIO pin as edge triggered interrupt using the configuration utility. You can only poll the GPIO using the Host application. We don't have any API to detect the edge of the input GPIO waveform. We have only CyGetGpioValue () function to get the current state of GPIO. You can call this API from the host application to get the state of the GPIO.

   

Hope you are clear.

   

 

   

Regards,

   

Keerthy

0 Likes