Hi,
Presently I am working on NXPS32k344 Board. In this board i try to implement can protocol by using can controller0 and micro chip can bus analyzer, while i make transmission i am receiving "ERROR PASSIVE" as shown in the attachments.
Hi,
most probably it is due to inaccurate bit timing setting.
I see you have PE clock running from FIRC, select rather FXOSC or AIPS_PLAT if running from FXOSC.
BR, Petr
Hi,
if a CAN tool is sending a message and stays in error passive with TX error 128, it means opposite site does not ACK this message. So check pin setting and if used CAN transceiver is active. Ideally measure MCU's TX/RX pins and bus signal and check module MCR, ECR, ESR1 registers as well.
BR, Petr
HI @PetrS ,
My code is going to hard fault while executing the line provided in the below attachment.
Hi,
if you get fault when access peripheral register it can be caused by missing peripheral clock. So check if peripheral clock is not gated-off.
BR, Petr