I have this device showing an ACK error when on a long cable (30m) and about 600 ns of total round trip delay from CANnTX to CANnRX. With 15 quanta per 1 Mbps CAN I have the sample point set well past this, but I'm seeing intermittent operation (occasionally 600 ns will fail while 640 ns will pass).
Tiva 120 MHz
Clocks/bit = 15
Predivide = 8
TSEG1 13
TSEG2 1
SJW 1
I want to verify the bit timing with the "Sample Point" mode (CANTST Tx:01), but after enabling this mode:
Init CAN
Enable CAN
Set TST bit in CANCTL
Set CANTST:Tx to "01" for Sample Point
I am still only seeing typical CAN data on the Tx pin (ACK after receiving a CAN message, Normal bit stream when sending a message). I'm expecting to see an edge per bit time at the Sample Point, but I'm not seeing that. Is there more documentation on the "Sample Point" testing somewhere? Or example code? Do I need to disable some other CAN operation for the "Sample Point" test mode to take over?