I am trying to connect my #S32K344# to FreeMaster through CAN. While the official NXP docs say that CAN is not supported for the K3 family, I found this post where it is recommended to use the FreeMaster Driver 2.0 which supports CAN for the K1 family because the FlexCAN modules for both families are similar.
I didn't quite understand how this should be done. I am using Simulink for developing my application and the MBDT for the K1xx series has a FreeMaster Config block. In the generated code I can see that the function freemaster_interface_init() and FMSTR_Init() functions are called. So I know I have to somehow use the Driver 2.0, configure the FlexCAN module in my K344's model and call these 2 functions (or equivalent). But I'm not so sure how to do this. Can someone help me with it?