Re: UART timing





Ross Marchant schrieb:

Thanks, I'm trying to solve a problem for someone remotely. Symptoms: * HyperTerminal connection to GPRS modem at 9600 baud works fine. Messages come through fine at server. * Embedded device connection to GPRS modem at 9600 baud doesn't work properly. AT commands have to be sent one byte at a time slowly, and once connected messages sent come out as garbage at server end.

Sounds to me like the embedded device's baud rate is way off, although I am
assured its only 1.6%. Maybe the modem is out by 3% and hence the error
occurs.

Hello,

there are some microprocessors with built in UART which generate the baudrate clock from a 20 MHz clock. For 9600 Baud, there is an error of + 1 % or - 1,4 %, but this error does not affect the communication.
What about messuring the signals with a scope? Some care is necessary to measure UART signals with a precision better than 1 %.


Bye

.



Relevant Pages

  • Re: UART timing
    ... HyperTerminal connection to GPRS modem at 9600 baud works fine. ... connected messages sent come out as garbage at server end. ...
    (comp.arch.embedded)
  • Re: UART timing
    ... > * HyperTerminal connection to GPRS modem at 9600 baud works fine. ... > * Embedded device connection to GPRS modem at 9600 baud doesn't work ...
    (comp.arch.embedded)
  • Re: UART timing
    ... >* HyperTerminal connection to GPRS modem at 9600 baud works fine. ... Did you check if the modem and embedded device use the same data ...
    (comp.arch.embedded)
  • Re: Is CDMA 1x a 14.4 kbps or ~144 kbps
    ... Whenever I increase the baud ... The connection speed shows as 19.2 kbps however speed ... supposed to burts up to 144 kbps and cruz between 60-80. ... am only connecting at 14.4 speeds I will never see that. ...
    (alt.cellular.verizon)
  • Telneting to The Cottonwood BBs
    ... incoming baud rate correctly. ... Simply setup ANOTHER, dial up connection, to your ISP, and configure ... the modem THAT connection will use, ...
    (comp.sys.cbm)