CY_ISR problems

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

Hi. i'm using in my project psoc4 with led matrix max7219 an HC_06 bluetooth.my problem is that i can't seem to activate the interruption.

   

this is my first contact with the interruption. the problem is that my project will work only once. i feel that interruption doesn't work. can anyone help me

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

In the interrupt handler interruptRx() you try to reset the interrupt cause for the MAX219 which seems to be wrong.

   

For the UART the internal interrupts are enabled. This will conflict with your interrupt handler.

   

The indentation of your code is difficult to read and comments are rare. Both will make reading easier, even for you.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

thanks Bob. this is my first project with psoc. i'll change it 🙂

0 Likes