How to select Internal Clock in MBT for S32K116?

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

How to select Internal Clock in MBT for S32K116?

871件の閲覧回数
PrabhuNex
Contributor II

I have Successfully downloaded and Installed the MBDtoolchain for Matlab Simulink, After selecting the MCU and opening the configuration for the MCU the parameter to select internal clock doesn't exist.
My requirement is to Select S32K116 MCU with Internal fast clock.
I have to integrate a BQ769x2 IC with this MCU, do we have a model desiged for this perticular IC? if not, how to add new Header file related to the Specific IC?

0 件の賞賛
返信
1 返信

804件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @PrabhuNex,

By default, the generated code for the S32K116 uses the external clock, settings made for the EVB board. If you want to change those settings, each time the code is generated, the s32k_clock_init.c file is copied from the {Toolbox installation path}\mbdtbx_s32k11x\src\c_library. So you can change the settings in that file to use the Internal fast clock. The C structure from the file is generated using the S32DS so you might find this information useful.

Regarding the BQ769x2 IC support, unfortunately, we do not provide support for that so if you want to include and use the custom code please have a look at this article https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-... Also, in our toolbox you will find support for the MC3377xB Battery cell controller family so you might consider the usage of this MCU as well.

Hope this helps,

Marius

0 件の賞賛
返信