Yahoo Groups archive

AVR-Chat

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

Message

RE: [AVR-Chat] Re: 90can128 can controller

2010-01-03 by Dave McLaughlin

Hi Brian,

 

If you look in the code for the Atmel driver you will find a Function in
CAN_DRV.H called Can_config_tx()

 

This sets the following register to start the transmission.

 

CANCDMOB |= (MOB_Tx_ENA  << CONMOB)

 

There is other stuff you need to setup before calling this. Look for the
function can_cmd() in CAN_LIB.C as this show the sequence needed to config
before sending. Look for the case CMD_TX_DATA and you will see what I mean.

 

Good luck and if you need more help let me know.

 

Dave.

 

 

From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of blue_eagle74
Sent: 03 January 2010 08:20
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Re: 90can128 can controller

 

  

I just got my 50/100 card edge connectors and have made my eaglecad drawing
so I can etch my boards for my backplane. I will have two backplanes with 5
connectors each with ribbon cable connecting them. My order was shorted the
connectors for the ribbon cable but I called them and the sockets are on the
way. The hard part is the programming so the chips can talk to each other.

Brian

--- In AVR-Chat@yahoogroups.com <mailto:AVR-Chat%40yahoogroups.com> ,
"blue_eagle74" <blue_eagle74@...> wrote:
>
> That would be great. Thank you.
> 
> Brian
> 
> --- In AVR-Chat@yahoogroups.com <mailto:AVR-Chat%40yahoogroups.com> ,
"Dave McLaughlin" <dave_mclaughlin@> wrote:
> >
> > I will fire up my compiler later and see if I can give you some pointers
> > from the Atmel code.
> > 
> > 
> > 
> > Dave.
>



[Non-text portions of this message have been removed]

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.