not understanding something fundamental about Uart. See enclosed test program

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

cross mob
RoBu_286116
Level 1
Level 1

As you can see, I got the serial out to work, but not the serial in.  I also tried various configs for the uart, but no luck yet. I  don't need to use interrupts yet, so let's leave that out for now.  Pretty simple. . . use crlf to store the string, check the string (future code) for valid stuff, and then do whatever.  More pressing instrumentation problems are awaiting me. Thanks for any help.

   

Never sent a bundled file. Hope it works.

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

Best is to use

   

Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.



Bob
 

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Did you look at the UART example projects first? (right-click on the component in the component tree, 'find example projects').

   

How large did you set the TX / RX buffers? If they are larger than 4 bytes you need to enable interrupts (also in the code).

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

 Check my UART Rx demo project posted here

   

http://www.cypress.com/?app=forum&id=4749&rID=105248

   

 

   

odissey1

0 Likes