Atmel LIN chips

View: New views
5 Messages — Rating Filter:   Alert me  

Atmel LIN chips

by Ron Kreymborg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have an app that will use LIN for inter-processor comms. Atmel has many
processor chips that have implemented the LIN interface in hardware
(ATA661x, ATmega16/32/64/M1/C1, etc). However, nobody in the world is
stocking any Atmel processor chip with a hardware LIN interface!! Anybody
here know what's going on?

Ron




_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

RE: Atmel LIN chips

by Weddington, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From: avr-chat-bounces+eric.weddington=atmel.com@...
> [mailto:avr-chat-bounces+eric.weddington=atmel.com@...]
>  On Behalf Of Ron Kreymborg
> Sent: Saturday, May 02, 2009 2:46 AM
> To: avr-chat@...
> Subject: [avr-chat] Atmel LIN chips
>
> I have an app that will use LIN for inter-processor comms.
> Atmel has many
> processor chips that have implemented the LIN interface in hardware
> (ATA661x, ATmega16/32/64/M1/C1, etc). However, nobody in the world is
> stocking any Atmel processor chip with a hardware LIN
> interface!! Anybody
> here know what's going on?

Have you asked your local rep / FAE? Have you sent an email to avr AT atmel DOT com?


_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

Re: Atmel LIN chips

by Erwan MARC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Atmel is able to deliver some chips for ATTiny167, that integrates a LIN
UART.
Some distributors also.
Where are you in the world? who did you ask for?

Regards
Erwan

Ron Kreymborg a écrit :

> I have an app that will use LIN for inter-processor comms. Atmel has many
> processor chips that have implemented the LIN interface in hardware
> (ATA661x, ATmega16/32/64/M1/C1, etc). However, nobody in the world is
> stocking any Atmel processor chip with a hardware LIN interface!! Anybody
> here know what's going on?
>
> Ron
>
>
>
>
> _______________________________________________
> AVR-chat mailing list
> AVR-chat@...
> http://lists.nongnu.org/mailman/listinfo/avr-chat
>
>  



_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

RE: Atmel LIN chips

by Ron Kreymborg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Eric's advice I contacted Atmel and a reply suggested all these products
are being shipped to auto makers and until they are satisfied the general
availability and lower MOQs are sometime in the future. They did suggest I
could find ATmega32M1s but a search of Farnell, DigiKey, Mouser, etc showed
they were all non-stock. My client does not want to commit to a product for
which delivery is so unsure as they are ready to go now.

Regards
Ron

> -----Original Message-----
> From: avr-chat-bounces+ron=jennaron.com.au@... [mailto:avr-chat-
> bounces+ron=jennaron.com.au@...] On Behalf Of Erwan MARC
> Sent: Monday, 4 May 2009 5:11 PM
> To: avr-chat@...
> Subject: Re: [avr-chat] Atmel LIN chips
>
> Atmel is able to deliver some chips for ATTiny167, that integrates a
> LIN
> UART.
> Some distributors also.
> Where are you in the world? who did you ask for?
>
> Regards
> Erwan
>
> Ron Kreymborg a écrit :
> > I have an app that will use LIN for inter-processor comms. Atmel has
> many
> > processor chips that have implemented the LIN interface in hardware
> > (ATA661x, ATmega16/32/64/M1/C1, etc). However, nobody in the world is
> > stocking any Atmel processor chip with a hardware LIN interface!!
> Anybody
> > here know what's going on?
> >
> > Ron
> >
> >
> >
> >
> > _______________________________________________
> > AVR-chat mailing list
> > AVR-chat@...
> > http://lists.nongnu.org/mailman/listinfo/avr-chat
> >
> >
>
>
>
> _______________________________________________
> AVR-chat mailing list
> AVR-chat@...
> http://lists.nongnu.org/mailman/listinfo/avr-chat



_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

AT90USB1287 USART problem

by Ron Kreymborg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All

I cannot get the USART in a AT90USB1287 to respond to the RX interrupt. I
have read the '1287 data sheet several times now. I guess I am overlooking
something but I am darned if I know what.

Attached are the source and make files for a simple app that demonstrates
the problem. It transmits the text to TeraTerm on a PC but typing anything
there never interrupts at the USART1 vector. The vector is there in the
interrupt table at 0x32 and points to the correct location. I can scope the
incoming characters right on the RX pin (PD2).
 
It is compiled with avr-gcc (WinAVR 20090313) 4.3.2 and loaded into a
AT90USB128716AU with a 14.7456MHz crystal on a STK501. The other numbers on
the '1287 are 0740-6G3879A.

Can anyone offer a suggestion?

Thanks
Ron


// A test of the usb1287 serial interface.
//
#include <avr/interrupt.h>

#define  SB(a)                (1<<a)
typedef unsigned char   uint8;
typedef unsigned int    uint16;

#define  CRYSTAL     14745600L
#define  BAUD        19200L

void Delay(int milliseconds);

volatile uint8 Buffer[] = "Hello ";
volatile uint8 byte;
volatile uint8* ptr;


int main(void)
{
   DDRC = 0xff;
   PORTC = 0xff;
   DDRD = 0x01;

   uint16 count = (uint16)(CRYSTAL / 16L / BAUD - 1);
   UBRR1 = count;
   UCSR1B = SB(RXCIE1) | SB(TXCIE1) | SB(RXEN1) | SB(TXEN1);
   UCSR1C = SB(UCSZ11) | SB(UCSZ10);

   sei();

   PORTD |= 0x01;

   ptr = Buffer;
   UDR1 = *ptr++;

   while (1)
   {
      while (*ptr != '\0') {;}
      Delay(10);
      ptr = Buffer;
      UDR1 = *ptr++;
   }

        return 0;
}


ISR(USART1_RX_vect)
{
   byte = UDR1;
   PORTC = ~byte;
   UDR1 = byte;
}


ISR(USART1_TX_vect)
{
   if (*ptr != '\0')
   {
      UDR1 = *ptr++;
   }
}

void Delay(int milliseconds)
{
   volatile int i, j, k;

   for (i=0; i<milliseconds; i++)
      for (j=0; j<550; j++)
         k = j;
}

_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

makefile (18K) Download Attachment