[avr-gcc-list] Butterfly RS232?

2005-11-29 Thread Mike Young
Looking at the schematic for the Butterfly, it's not readily apparent how it manages to translate levels for outbound data. The docs seem to say it's supposed to work, but my primitive understanding of electronics matches the results: non-receipt of transmitted data. It could also be my

Re: [avr-gcc-list] Butterfly RS232?

2005-11-29 Thread Joerg Wunsch
Mike Young [EMAIL PROTECTED] wrote: Looking at the schematic for the Butterfly, it's not readily apparent how it manages to translate levels for outbound data. Well, it's a bit tricky, but it can be seen. The incoming RxD is normally held at negative level by the external transmitter (i.e.

Re: [avr-gcc-list] Butterfly RS232?

2005-11-29 Thread Mike Young
) { while (!(UCSRA (1RXC))); return UDR; } - Original Message - From: Steve Franks [EMAIL PROTECTED] To: 'Mike Young' [EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 5:50 PM Subject: RE: [avr-gcc-list] Butterfly RS232? Mike, I've done it, seems to work fine for me. Hooked up DB9

Re: [avr-gcc-list] Butterfly RS232?

2005-11-29 Thread Daniel O'Connor
On Wed, 30 Nov 2005 10:54, Mike Young wrote: // Set baud rate UBRRH = (unsigned char)(baudrate8); UBRRL = (unsigned char)baudrate; // Enable 2x speed UCSRA = (1U2X); // Enable receiver UCSRB = (1RXEN)|(0TXEN)|(0RXCIE)|(0UDRIE); This line turns the