I am new to MSCAN and I am currently unable to transmit CAN messages. The micro controller is part of the MC9S12ZVC family and I am using a USB multilink universal debugger to communicate with the same. I am trying to code this using CodeWarrior with the help of Processor Expert. For the CAN messages to have 250k baud rate with a 20MHz external crystal or an internal oscillator of 1MHz what should the following flags be set to -
CAN0BTR0: SJW1, SJW0, BRP5, BRP4, BRP3, BRP2, BRP1, BRP0
CAN0BTR1: SAMP, TSEG22, TSEG21, TSEG20, TSEG13, TSEG12, TSEG11, TSEG10
I would deeply appreciate any help that comes my way.