LCU out PWM

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

LCU out PWM

4,447件の閲覧回数
zeyu__1
Contributor I

 

I would like to know how to generate the application in this reference document through LCU components or have routines implemented through API functions in SDK. Thank you very much for your help!

lcu.png

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

4,426件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@zeyu__1

attached is a bried routine I wrote when testing LCU and eMIOS module.

The LCU module is used to realize the output of complementary PWM with insert dead time.

 

If you want to have a deeper understanding of its implementation process, the following information will be very helpful to you.

https://www.nxp.com/design/development-boards/automotive-motor-control-solutions/s32k344-brushless-d... 

Senlent_0-1700536055105.png

 

0 件の賞賛
返信

4,415件の閲覧回数
zeyu__1
Contributor I

Hi@Senlent 

Thank you very much for sharing, I am trying to replicate your routine,I want to drive the stepper motor driver through a PWM,Can you provide some thoughts on the unintended effects of my one-way PWM using only LCU out

0 件の賞賛
返信

4,408件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@zeyu__1

The routine I provide you is already the simplest one.

eMIOS.ch1->TRGMUX->LCU0.0->Pair PWM with Dead time.

0 件の賞賛
返信

4,395件の閲覧回数
zeyu__1
Contributor I

Hi@Senlent

I understand the logic of what you said, based on which I would like to discuss something else with you,

For example, is it possible to write UCDIS registers to enable and disable PWM output at will after initialization via this API function Emios_Pwm_Ip_SetChannelEnable (), and also, after the LCU initializes and sets the output, I mean after the hardware is connected and can output PWM, Is it possible to change the PWM duty cycle and period of eMIOS output through API functions to achieve more operations?

Thank you very much for your answer, and I look forward to your reply this time

0 件の賞賛
返信

4,387件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@zeyu__1

yes, you can test the demo project that i have sent you.

0 件の賞賛
返信