How can I enable interrupt of uart frame error?

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

cross mob
tayoc_1391401
Level 1
Level 1

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.

pastedImage_1.png

0 Likes
1 Solution

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

View solution in original post

0 Likes
4 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes

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.

pastedImage_3.png

pastedImage_2.png

pastedImage_1.png

0 Likes

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

0 Likes

I appriciate your advice.

So, I implemented my device using UART_UartGetByte and it works.

0 Likes