Feb 10, 2017
11:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 10, 2017
11:39 PM
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.
Solved! Go to Solution.
1 Solution
Feb 11, 2017
06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2017
06:50 AM
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
2 Replies
Feb 11, 2017
06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2017
06:50 AM
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
Feb 11, 2017
08:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2017
08:32 AM
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