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?
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!
-----------------------------------------------------------------------------------------------------------------------
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.