cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ Creator & Designer

user_1902111
New Contributor

I am doing following steps for clearing Rx interrupt

   

 

   

1. Attach the interrupt component to the pin on the SCB in the schematic

   

2. Create an ISR in your code by using the CY_ISR() macro

   

3. Start the ISR by running the interrupt_StartEx()

   

4. In the ISR you need to clear the interrupt source.. .this point i dont know which function is doing this

   

please help me to resolve this.

0 Likes
1 Solution
Bob_Marlowe
Expert II

Reading the data from your interface as long as the fifo is not empty will clear the interrupt source. For instance:

   

SCB_UartGetChar() or SCB_UartGetByte()

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Expert II

Reading the data from your interface as long as the fifo is not empty will clear the interrupt source. For instance:

   

SCB_UartGetChar() or SCB_UartGetByte()

   

 

   

Bob

View solution in original post

0 Likes
odissey1
Honored Contributor II
        gangadhar, this forum is dedicated to community components, please post questions in PSoC4 related forum. You may find SCB_Rx example here http://www.cypress.com/comment/389231#comment-389231