Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

90can128 usart problems

2009-09-12 by blue_eagle74

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.