Hi All,
Currently I have got some issue of making Hercules(TMS570LS3) CAN port working with CANoe(using Philip SJA1000).
Basically, I wrote a CAN receiving software for TMS570LS3 that try to receive CAN message from the CAN port. I simply connect the CAN port on TMS570LS3 to CANoe. I make CANoe to send a lot of CAN messages. I configure the CAN mask register to receive all CAN messages, and configure the Bit Timing Register of TMS570LS3 to (500kbps, 16cycle 75%sample point SJW=3)
canREG1->BTR = (0U << 16U) |
((4U - 1U) << 12U) |
((11U - 1U) << 8U) |
((3U - 1U) << 6U) |
9U;
CANoe settings are:
It never work. I actually have 2 TMS570LS3, so on One 570LS3 I periodically send CAN messages and the Other receive. And I attached the CANoe on the bus and try to scan to find the right baudrate for CANoe. Scan range(0-1000 kbps), but failed to find any suitable bauderate. Could you help me to figure out what the problem is please?
Many thanks
Shawn