cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to TX using CAN in SPC58NN84E4

vallabhd
Associate

Hi, I'm using the SPC58NN84E7 controller for CAN communication. I have referred the this application note that has a similar implementation for SPC58ECx controller. 
I have configured M_CAN_2_SUB_0 hardware channel for CAN communication with a baudrate of 500kbps.
After I write to the TX buffers i.e M_CAN_2_SUB_0_TX_BUFFER_0_T0, T2, T3 & T4, a bit to the corresponding TX_BAR (Buffer Add Request Register) is set. Later in the M_CAN_2_SUB_0_TXBRP (Tx Buffer Request pending register), the corresponding buffer bit is set.

Currently I have set only one data byte (0x55) to TX over CAN.

vallabhd_0-1727956710102.png

The transmission status stays in pending throughout multiple iterations : 

vallabhd_1-1727956887869.png

The corresponding bits in the TXBTO(TX buffer transmission occurred register) are never set. 

vallabhd_2-1727957013400.png

I have configured Dedicated TX mode.

What configurations am I missing here?

1 REPLY 1
vallabhd
Associate