STM32L562 FDCAN Classic Mode: PSR.ACT = 1 After Leaving INIT, No ACK Sent on Reception
Hi ST Team,
We are using CAN on STM32L562 in classic mode.
After configuring, we se FDCAN.PSR.ACT to be 1 as can be seen in screenshot below.
This means, node is neither receiver nor transmitter.
Why is this happening ?
We are able to receive the data, but the CAN controller does not send the ACK when a frame is received which results in retransmission of the frame from the transmitting node.
Tried configuration:
hfdcan1.Init.AutoRetransmission = ENABLE;
hfdcan1.Init.StdFiltersNbr = 1;
Yet ACT bits in FDCAN1->PSR becomes '0x1' when the instruction "CLEAR_BIT(hfdcan->Instance->CCCR, FDCAN_CCCR_INIT);" is executed (i.e. while leaving the initialization).
It can be seen in the screenshot below.
Please find the below attached screenshots.
