- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you try clearing the interrupt first and then processing the data ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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