LCU out PWM

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

LCU out PWM

4,835 次查看
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,814 次查看
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,803 次查看
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,796 次查看
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,783 次查看
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,775 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@zeyu__1

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

0 项奖励
回复