I am evaluating AN12169SW in MIMXRT1050EVK, Free Master 2 support CAN port, there is a CAN port in the EVK, why this option is disabled in code? Can I enable it by #define FMSTR_USE_FLEXCAN (1)? What hardware, USB to CAN adopter do I need for CAN port to my PC? Is there any recommended adopter? Are there changes in freemaster_can.c needed? Thanks in advance!
Hi Li,
The CAN communication option is disabled by default because on FreeMaster, Serial and/or BDM communication are more common as they don’t require external hardware.
Regarding its enablement, it is actually related to FMSTR_USE_MSCAN macro. For further details, you could refer to FreeMASTER Serial Communication Driver User’s Guide:
https://www.nxp.com/docs/en/user-guide/FMSTRSCIDRVUG.pdf
Regarding hardware adapters, you could take a look to the following links:
https://community.nxp.com/thread/322693
https://www.kvaser.com/knowledge-base/nxps-freemaster-support-kvaser-hardware/
For complementary information about FreeMaster, you could refer to the following Community documents:
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------