S32K3 MBDT Simulink External Mode ADC configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K3 MBDT Simulink External Mode ADC configuration

166 次查看
shashwats
Contributor I

I am trying to configure ADC using S32K3 MBDT toolbox on Simulink.

Kindly suggest the simplest way to configure this based on PWM trigger, and to be able to view results in Simulink scope using external mode.

The examples included in the MBDT toolbox library use external Freemaster for display. Also they seem to use multiple buffers, configuration blocks to enable freemaster. 

I wish to understand the basic workflow to configure ADC blocks with least external environment interaction.

1 回复

149 次查看
dragostoma
NXP Employee
NXP Employee

Hi, @shashwats,

Thank you for your interest into Model-Based Design Toolbox for S32K3.

I strongly recommend this article (Controlling LED intensity with ADC and PWM) as an excellent introduction to ADC and PWM configuration. It walks you through the process step by step, with clear explanations, detailed visuals, and practical guidance—perfect as a starting point for setting up a basic ADC configuration. 

Feel free to explore the other articles in the MRCANHUB series as well—they offer a great general overview of peripheral configurations and can broaden your understanding of the topic:

- Interacting with Digital Inputs/Outputs on MR-CANHUBK344

Sending data via UART and monitoring signals with FreeMASTER

Communicating over the CAN Bus

Let us know about your progress,

 

Best regards,

Dragos