Issue with FlexCAN in iMX6ULL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Issue with FlexCAN in iMX6ULL

942件の閲覧回数
bijunair
Contributor II

Hi Gurus,

I am using a custom board based on iMX6ULL (Let me call it My-board) and trying to use CAN in this platform. I am able to bringup the CAN interface and i am able to send data to  CAN-Mate (This is a CAN Analyser/Sniffer). But when i replace the CAN-Mate with another custom board which has a CAN interface (Let me call it as CAN-Display-Board), the transmission fails. Basically, the destination device is able to get the first packet but then i see continuous transactions in the BUS and then any subsequent packet send from my platform will fail.

My-board             CAN-Mate

       +                          +

        |----------------------|                     <===== This is working good

My-board             CAN-Display-Board

       +                          +

        |----------------------|                     <===== This is FAILING

But if i connect the CAN-Mate along with my platform and the CAN-Display-Board, i see that data transmission is working good. 

My-board             CAN-Display-Board          CAN-Mate

       +                          +                                         +

        |----------------------|-----------------------------------|                    <===== This is working good

PS : I am using Linux 4.1.15 on this platform.

PS2: I am terminating the bus with proper resistance values before i do the testing.

Can someone throw some light on this ? Any help is highly appreciated.

Regards, Biju

ラベル(2)
タグ(2)
0 件の賞賛
返信
1 返信

833件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Biju

reason may be that flexcan lines were pulled to wrong state, so board think

that line is busy. Connecting CAN-Display-Board sets lines to correct state

and board is able to transmit.

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

0 件の賞賛
返信