Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Impossiblr to change UART baudrate 2nd time

$
0
0

Hello,

It appears to me that it's NOT possible to change UART 2nd time after init  !?!?

U-Blox GPS runs at 9600 baud by default. So we have to use serial comm @ 9600 to change U-Blox baud to higher baud, say 115200 for faster GPS data transfer.

We then have to change serial comm to high baud of 115200

I have NO problem using Atmel MCU AT91SAM3S, it works fine where all ASCII GPS RX data are readable, ie. new baudrate is working on both U-Blox and Atmel MCU

Now we replace Atmel MCU with TI AM1808, it appears to me that it's NOT possible to change baudrate once it's initialized at baud 9600. All RX GPS data are NOT readable, ie different baudrate on U-Blox & AM1808

I could use 9600 baud to turn on/off some GPS messages, and it appears working.

So my conclusion is my new setting of new baudrate of U-Blox did change U-Blox to new baudrate and I failed to change new baudrate in AM1808

What I did was to use API function UARTConfigSetExpClk() to change baudrate

So my question is whether it's possible to change baudrate on the fly ? If ok, how to ?

Thanks,

~Duy-Ky


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>