FTM: Output Compare

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FTM: Output Compare

1,050件の閲覧回数
Sam_ECU
Contributor V

Hello @Daniel_Popa 

Are Output Compare Blocks for S32K with MBDT envisioned?

Sam_ECU_0-1650624576047.png

https://www.nxp.com/docs/en/application-note/AN5303.pdf

 

Regards,

Sam

 

0 件の賞賛
返信
2 返答(返信)

1,023件の閲覧回数
Sam_ECU
Contributor V

Hello Marius,

Thanks for the reply, I'll have a look at the example.

 

Cheers,

Sam

0 件の賞賛
返信

1,027件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

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

0 件の賞賛
返信