Other Parts Discussed in Thread: RM57L843, , HALCOGEN
We have to make a TMS320F2812 has to communicate with a RM57L843 via a CAN.
We have succeed to transmit and receive message using 500Kbps. However 1Mbps it does not work. The RM57L843 does not recognise (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 paramterers? Should both CPUs have the same sample point?
For the TMS320F2812, the clock is 114688000Hz and the value of CANBTC register was proviced 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
For the RM57L843 the clock is 75Hz and the value the configuration parameters was defined with HALCoGen. For the 1Mbps the tool ignores the value we choose for "SP Ref" and the Sample Point is always set to 90.909.
Thanks.