CAN bus initialize

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

CAN bus initialize

1,550件の閲覧回数
eliezer_fortron
Contributor I

Hello, I have an IMXRT1050-EVKB kit.
In the SDK there is no option to initialize the CAN BUS. Does anyone ever do this? Can you adjust me?

0 件の賞賛
返信
2 返答(返信)

1,392件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Eliezer 

sdk can example can be found in

..evkmimxrt1050/driver_examples/flexcan and documentation in
sect.21.2 FlexCAN Driver MCUXpresso SDK API Reference Manual_MIMXRT105x.pdf

Welcome | MCUXpresso SDK Builder 

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

0 件の賞賛
返信

1,392件の閲覧回数
eliezer_fortron
Contributor I

Hi, thanks for the help.
I was able to simulate the flexcan_interrupt_transfer example. It turned perfectly.

I made some modifications to when pressing the "T" key transmit the data and receive via flexcan_callback, also worked.
So when I tried to change the frame.type from kFLEXCAN_FrameTypeData to frame.type to kFLEXCAN_FrameTypeRemote, it sends the data only the first time and gets stuck waiting for txComplete.
What can be happening wrong, if you prefer I can send the code.

0 件の賞賛
返信