UART C Code not work

Just about everything about Red Pitaya
Post Reply
adamS
Posts: 8
Joined: Mon Jul 09, 2018 11:25 am

UART C Code not work

Post by adamS » Thu Oct 25, 2018 5:40 pm

Hi,
I want to use uart to communicate with some device,
The C code I use is copy from redpitaya doc web page.
https://redpitaya.readthedocs.io/en/lat ... /uart.html
when I run this code, I receive nothing,
the terminal print "AGAIN!" continuously, means data still not coming.

Below imgur link shows TX and RX signal image captured by scope,
Rx(green) signal lags Tx(yellow) signal for about 25ms.
https://imgur.com/a/bGchYzx

I checked if I short Tx to Rx pin,
then these two signal appear in the same time,
and this C code works fine.

I appreciate any help:)

adamS
Posts: 8
Joined: Mon Jul 09, 2018 11:25 am

Re: UART C Code not work

Post by adamS » Fri Oct 26, 2018 4:02 pm

Hi,
the problem is solved,
I follow the steps in below website
https://stackoverflow.com/questions/379 ... -from-uart

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 3 guests