[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Small program for UART not working
From: |
Peter Fuhrmann |
Subject: |
Re: [avr-gcc-list] Small program for UART not working |
Date: |
Thu, 1 Sep 2005 11:38:12 +0200 |
User-agent: |
KMail/1.7.2 |
On Tuesday 30 August 2005 02:37, Gary Bi wrote:
> From the scope, I can calculate the baud rate rough
> number, for example, if setting it to 9600 in MCU, on
> scope, it was around that range; setting to 57600, the
> reading from scope will be around 57600, etc. But I
> don't know the exacly reading.
You might try sending 0xAA on the Atmel and 0xAA on the PC at the same time,
and then use a two channel scope to compare the timing of the two waveforms.
You could try playing with the UBRR0L value a little to get the timing
correct.
regards,
Peter
- Re: [avr-gcc-list] Small program for UART not working,
Peter Fuhrmann <=