- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
Because UART is not compatible with PROC I must to use SCB-UART but don`t know how to implement interrupt on " RX byte received " ?
Please help !
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is an example someone uploaded that will do what you want: https://community.cypress.com/external-link.jspa?url=http%3A%2F%2Fwww.cypress.com%2Fcomment%2F389231...
But for a description of how to implement it from scratch:
Setup an ISR.
Associate the ISR with the UART component.
Handle clearing the interrupt flag in the ISR, and reading data into a buffer.
In main code, check if you have data available in the buffer you are reading into, and use the data as your application determines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is an example someone uploaded that will do what you want: https://community.cypress.com/external-link.jspa?url=http%3A%2F%2Fwww.cypress.com%2Fcomment%2F389231...
But for a description of how to implement it from scratch:
Setup an ISR.
Associate the ISR with the UART component.
Handle clearing the interrupt flag in the ISR, and reading data into a buffer.
In main code, check if you have data available in the buffer you are reading into, and use the data as your application determines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much !
It exactly what I need. I checked and it work.
You're best !!!