UART RX Interrupt Problem

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi,

I am working on Uart rx interrupt.I send the data through terminal,then my code receive the data and print on the console.

But my code problem is when i  send the data upto 15 bytes but reads upto 8 bytes only,if i change the buffer size in uart  receiver settings morethan 8 bytes than

the my code always executes the interrupt only ,i.e it is not coming out from interrupt.

so,please help me to resolve the issue.

Thanks in advance.

please find the attachment

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

venu,

Check this PSOC4 UART code example (receiving/sending command string from terminal)

(SCB mode)

http://www.cypress.com/comment/389231#comment-389231

And similar for UDB mode

http://origin-www.cypress.com/comment/235306#comment-235306

odissey1

View solution in original post

0 Likes
2 Replies
EmHo_296241
Level 5
Level 5
10 solutions authored 50 replies posted 25 replies posted

Hi,

Did you try clearing the interrupt first and then processing the data ?

0 Likes
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

venu,

Check this PSOC4 UART code example (receiving/sending command string from terminal)

(SCB mode)

http://www.cypress.com/comment/389231#comment-389231

And similar for UDB mode

http://origin-www.cypress.com/comment/235306#comment-235306

odissey1

0 Likes