Need help for code generation of S32k344 using MBDT NXP

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

Need help for code generation of S32k344 using MBDT NXP

680件の閲覧回数
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 返答(返信)

633件の閲覧回数
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 件の賞賛
返信

622件の閲覧回数
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 件の賞賛
返信

585件の閲覧回数
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

658件の閲覧回数
narafat
Contributor II
 
タグ(1)
0 件の賞賛
返信