Hello @Daniel_Popa
Are Output Compare Blocks for S32K with MBDT envisioned?
https://www.nxp.com/docs/en/application-note/AN5303.pdf
Regards,
Sam
Hello Marius,
Thanks for the reply, I'll have a look at the example.
Cheers,
Sam
Hello @Sam_ECU ,
Unfortunately, we have no plans to add blocks dedicated to the output compare functionality in S32K1xx.
However, MBDT generates code on top of the S32SDK for ARM, which provides a driver to handle this functionality. What can be done, easily is to add such functionality inside your model, using the custom code similar to how it has been described here https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-...
You can start with an S32DS project, and generate all the C structures required by the ftm_oc_driver.c driver according to your requirements, and integrate such file inside your Simulink model, how it has been described in the article mentioned above. Please let me know if you are interested in using custom code to get this functionality.
Hope this helps,
Marius