On Sep 12, 2009, at 1:12 PM, blue_eagle74 wrote:
> I tried to use the second usart on the 90can128, 8N1, but cant get
> it to work with the hyperterminal. Nothing even comes out of the
> chip. I have used the usart on the mega16 with no problem. following
> is a snippit of code using CV.
>
> #include <90can128.h>
> #include <stdio.h>
> #include <delay.h>
>
> main()
> {
> UCSR1A = 0x00;
> UCSR1B = 0x98;
> UCSR1C = 0x06;
> UBRR1L = 0x51;
> UBRR1H = 0x00;
>
> while(1)
> {
> printf("testing");
> delay_ms(3000);
> }
> }
>
> Brian
>
>
>
When you say "nothing comes out", is that as observed with an
oscilloscope or on a terminal?
Jim Wagner
Oregon Research Electonics
[Non-text portions of this message have been removed]Message
Re: [AVR-Chat] 90can128 usart problems
2009-09-12 by Jim Wagner
Attachments
- No local attachments were found for this message.