Issue with the CAN driver for LS1021A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue with the CAN driver for LS1021A

306 Views
sukruthrameshba
Contributor III

Hi,

 

Trying to develop a simple CAN driver code with the functionality to transmit and receive the CAN packets.

CAN4 channel is being used and RCW settings are loaded to enable CAN4_tx and CAN4_rx.

Attached is the code used for reference.

On transmitting the simple CAN packet, we are getting the stuff error as shown in the attached snapshot.

Also please find the CAN transceiver schematic used.

Kindly support us in resolving this issue. Please let me know if you need more information.

Original Attachment has been moved to: 1000BASET1_TWR_RAM-core0_Rev0.1.zip

0 Kudos
1 Reply

240 Views
Pavel
NXP Employee
NXP Employee

Test your board if MCR[SRXDIS] bit is cleared and Loopback mode is enabled.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos