2024-10-03 05:08 AM
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.
The transmission status stays in pending throughout multiple iterations :
The corresponding bits in the TXBTO(TX buffer transmission occurred register) are never set.
I have configured Dedicated TX mode.
What configurations am I missing here?
2024-10-03 05:50 AM