[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] "Why me?" UART problem.
From: |
Christian Vogel |
Subject: |
Re: [avr-gcc-list] "Why me?" UART problem. |
Date: |
Mon, 21 Jun 2004 22:04:27 +0200 |
User-agent: |
Mutt/1.2.5.1i |
Hi Richard,
On Mon, Jun 21, 2004 at 06:56:07PM +0100, Richard Urwin wrote:
> I'll just add that it looks like the PC was receiving TTL OK. The five 1
> bits in 0x5F probably match the five 0 bits in 0x41. All TTL to RS232
> converters have inverters in them.
exactly, and I even made nice graphs which unfortunately were eaten
by the list-software :-(, so here is the short version...
AVR is sending 0x41 (D0=1, D6=1, other 0)
___ __ __ ______ +5V = 1
\ St /D0\ D1 D2 D3 D4 D5 /D6\ D7 /Sp
\__/ \__________________/ \__/ GND = 0
the PC is receiving 0x5f (D5=0, D7=0, other 1)
___ __ __ ______ 'space' = 0
\ /St\ D0 D1 D2 D3 D4 /D5\ D6 /D7 Sp -- threshold at +2V
\__/ \__________________/ \__/ 'mark' = 1
^^
start of transmission detected here.
Chris
--
Yesterday it worked
Today it is not working
Windows is like that
-- Margaret Segall
- [avr-gcc-list] "Why me?" UART problem., Laszlo, 2004/06/21
- Re: [avr-gcc-list] "Why me?" UART problem., Raphaël Assénat, 2004/06/21
- [avr-gcc-list] New AVR simulator, Anich Gregor, 2004/06/23
- Re: [avr-gcc-list] New AVR simulator, Klaus Rudolph, 2004/06/24
- Re: [avr-gcc-list] New AVR simulator, Simon Han, 2004/06/24