[solved] CY_ISR not working with freertos

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

I'm currently trying to port freertos v9.0.0 to my CY8C4247LQI-BL483 (PSOC4 device). (Using with CY8CKIT-042-BLE Pioneer baseboard)

   

I've got succeeded in making a simple led blinking with a freertos task.

   

However, when I try to implement a button press ISR, I have failed.

   

I used the CY_ISR in order to implement a button press ISR.

   

I've attached my project.

   

I'm not sure why the ISR is not occuring when I press the button.

   

I've check some other sample freertos ported projects, and they have implemented the CY_ISR the same way as I did.

   

Could anyone nudge me in the right direction?

0 Likes
1 Reply
Anonymous
Not applicable

sorry guys, it turns out I made a small but a stressful mistake.

   

I left the configuration of the button pin to be 'high impedance digital' which wouldn't be able to properly detect the button press/release voltage changes.

   

the ISR was properly triggered once I changed this config to 'resistive pull-up'.

   

   

0 Likes