IMX8 SDMA

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

IMX8 SDMA

跳至解决方案
2,232 次查看
HankChang989
Contributor II
0 项奖励
回复
1 解答
2,216 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hello @HankChang989 ,

I hope you are doing well.

Q)Can I use SDMA as PWM on IMX8?
->I have mentioned the list of the drivers that use SDMA and the number of SDMA physical channels used by each driver.
 
->A driver can specify the SDMA channel number that it wishes to use, static channel allocation, or can have the SDMA driver provide a free SDMA channel for the driver to use, dynamic channel allocation.
->Official NXP BSPs do not support sdma->pwm.
Screenshot from 2023-04-26 16-03-35.png
Please refer to the i.MX Reference Manual for more details.
https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf

Thanks & Regards,
Sanket Parekh

在原帖中查看解决方案

3 回复数
2,197 次查看
ceggers
Contributor V

At least for i.MX6 and i.MX7, the table "SDMA event mapping" in the reference manual doesn't list the PWM units (I haven't any i.MX8 reference manual ready to hand). That means that the PWM controllers cannot signal any events to the SDMA.

Can you please provide some information about your intended application?

regards,
Christian

2,167 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @ceggers ,

I hope you are doing well.

This issue is solved, Hnece for further any other queries Kindly raise another thread.
I'll Be happy to help you!

Thanks & Regards,

Sanket Parekh

0 项奖励
回复
2,217 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hello @HankChang989 ,

I hope you are doing well.

Q)Can I use SDMA as PWM on IMX8?
->I have mentioned the list of the drivers that use SDMA and the number of SDMA physical channels used by each driver.
 
->A driver can specify the SDMA channel number that it wishes to use, static channel allocation, or can have the SDMA driver provide a free SDMA channel for the driver to use, dynamic channel allocation.
->Official NXP BSPs do not support sdma->pwm.
Screenshot from 2023-04-26 16-03-35.png
Please refer to the i.MX Reference Manual for more details.
https://www.nxp.com/docs/en/reference-manual/i.MX_Reference_Manual_Linux.pdf

Thanks & Regards,
Sanket Parekh