johnc32779 wrote:Some fuel for the fire -- for what it's worth.
http://www.futurlec.com/CANNode.shtml
http://www.futurlec.com/ET-ARM_Stamp.shtml
Atmel CANary
The CANary module used by ATMEL for the T89C51 and CAN-AVR family, like the TouCAN from Motorola, uses three 8-bit registers to set-up the bit timing parameters required by the CAN protocol - CANBT1, CANBT2 und CANBT3. CANBT1 contains BRP, the bit timing prescaler at bits 1-6, value range 0-63. CANBT2 contains the programming time segment PRS = PROP_SEG (Bit 1-3) and CANBT3 contains the values for PHS1 = PHASE_SEG1 (Bit 1-3) and PHS2 = PHASE_SEG2 (Bit 4-6 in CANBT3).
The values for BRP, PRS, PHS1 and PHS2 are calculated.
For 125 kbit/s and 16 tq at 16 (8)Mhz
BRP = 3, PRS = 4, PHS1 = 7, PHS2 = 1
http://www.avrfreaks.net/index.php?modu ... icle&id=23
Looks like the AVR speaks similarly to the Moto chips. With built in CAN... more fuel.
KeithG