Need help for code generation of S32k344 using MBDT NXP

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

Need help for code generation of S32k344 using MBDT NXP

643 次查看
narafat
Contributor II

Hi,

I need to use MBDT tools to configure 4 PWMs channels (Ah, Al, Bh, Bl, CH, CL, Dh, Dl) and 10 ADCs of S32k344 at 20 kHz/50 kHz. For PWMs block there has call functions and need explanation. ADC and PWMs need to synchronize. Please help me to give a demo model where I can perfrom the following tasks. I want to provide sine signals in the 3 PWM channels (ABC) and other one is the neutral (D). Deadtime is 1 usec. ADC signals are analog signals from 0 to 5 V. 

Thanks

Nayeem

narafat@anduril.com

0 项奖励
回复
4 回复数

596 次查看
Irina_Costachescu
NXP Employee
NXP Employee

Hello @narafat 

As a starting point, could you please you the following NXP Community article, detailing ADC and PWM configurations and how to use them in Simulink models? I think that the information presented here would help you get a clearer understanding on the peripherals operating modes, and the steps necessary to be taken for configuring them as your application requires.

Hope this will help you,

Irina

0 项奖励
回复

585 次查看
narafat
Contributor II

Hi Irina,

Documents does not provide me the dead time configuration of the epwm channels like AH, AL and maybe 1 usec deadtime. How can I configure that. Can you help me to find that. Thanks in advance.

Nayeem

0 项奖励
回复

548 次查看
Irina_Costachescu
NXP Employee
NXP Employee

Hi @narafat 

As MBDT integrates the RTD (Real-Time Drivers) for configuring and accessing the hardware peripherals, I would like to point you to the following Application Note

The document presents a 3-phase Sensorless PMSM Motor Control application developed using RTD APIs, hence, in there you will find more details on the dead time, how it can be configured, and what are the components that need to be enabled for achieving your use case.

Hope this helps,

Irina

621 次查看
narafat
Contributor II
 
标记 (1)
0 项奖励
回复