Hi,
I have trouble to integrate a CAN-Communication besides the external mode with my S32K144 Evalboard (S32K1). I have taken the extmode_s32k1xx.slx example and extend it with the following the NXP CAN blocks:
Now, when I start “Build for Monitoring”, no errors occur. But I don’t receive any CAN-Massage from the Evalboard and the blue LED doesn’t blink. When I klick “Connect”, I’ve got the error:
Of course, I’ve configured the interface to the right COM-Port and right speed:
When I comment out die CAN-Blocks, everything works fine!
May be important to now. If I take another configuration for the coder instead the original of the example, see:
and if I use the “embedded coder” to build, the CAN-Communication works! But in this configuration, I can’t use the external mode.
I work with MBDT Toolbox_S32K1xx v4.3.0, MATLAB 2023b Update 7 and Embedded Coder v23.2.
Please, find find my small Simulink model in the attachments.