Other Parts Discussed in Thread: TMS320F2812, HALCOGEN
A TMS320F2812 has to communicate with a RM57L843 via a CAN. We succeed to implement this communication using 500Kbps. However 1Mbps does working. The RM57L843 does not recognize (it does not set the ACK bit) the TMS320F2812 frame, which keeps re-transmitting it and vice-versa. Using the same CAN bus (wiring) two TMS320F2812 communicate at 1MHz.
We suspect the problem is the bit rate configuration. Could you give advice on how the choose the bit rate configuration parameters? Should both CPUs have the same sample point?
For the TMS320F2812, the clock is 114688000Hz and the value of CANBTC register was provided by http://www.bittiming.can-wiki.info/ as Type: eCAN, Clock : 114MHz, max brp : 256, SP : 87.5%, min tq : 8, max tq : 25, FD factor : undefined, SJW : 1 (0x00050079)
For the RM57L843 the clock is 75MHz and the configuration parameters was defined with HALCoGen. NOTE: for the 1Mbps the tool ignores the value we choose for "SP Ref" and the Sample Point is always set to 90.909.
Thanks.