CPU:IMX6Q
I want to design a bare board can driver, but something goes wrong, and I don't know how to solve it:
When I loopback CAN1 and CAN2 everything is right!
But when I disconnect them ,there are bus errors all the time !
And I can't send or receive any data from other board.
I'm sure the baud rate is right, and the pins are right.
How to config flexcan's registers?
I copy from Linux.
Thx~~~~~~~~~~~~~~~~~
已解决! 转到解答。
Hi
for bare metal flexcan example one can look at attached sdk example,
with description in Chapter 11 Configuring the FlexCAN Modules
in pdf document.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
for bare metal flexcan example one can look at attached sdk example,
with description in Chapter 11 Configuring the FlexCAN Modules
in pdf document.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------