IMX8 SDMA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1 Solution
826 Views
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

View solution in original post

3 Replies
807 Views
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

777 Views
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 Kudos
827 Views
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