- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I have one question.
How can I enable interrupt of uart frame error?
My configuration window is below, and it shows that RX frame error is not enabled.
I read the data sheet, I couldn't find the reason though.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn't try the "old" component version because it will become obsolete after some time.
"UART_UartGetByte" returns error status.
So did you imply to use this return value?
Simply: yes.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no interrupt for a framing error. Instead you'll need to check the RX status for this kind of error.
Open datasheet and search for "framing".
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your comment, Bob.
> Open datasheet and search for "framing".
I read about "framing", I found that a function "UART_UartGetByte" returns error status.
So did you imply to use this return value?
By the way, I got another view point.
I had "Update Component" and CY_MAJOR_VERSION number is incremented.
Another project not updated, I can check Rx frame error.
I wonder RX frame error interrupt source is deleted with a update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn't try the "old" component version because it will become obsolete after some time.
"UART_UartGetByte" returns error status.
So did you imply to use this return value?
Simply: yes.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I appriciate your advice.
So, I implemented my device using UART_UartGetByte and it works.