How to clear RX FIFO NOT EMPTY INTERRUPT IN PSoc4000s controllers

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

cross mob
user_1902111
Level 1
Level 1

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
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        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