How to added pwm support on lnux platform for rt 1052

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to added pwm support on lnux platform for rt 1052

633 Views
seven1
Contributor I

HI,

I run rt1052 on linux platform, now need add the pwm function, but not found  the dts & driver file about pwm.please provide releted code .thanks.

Labels (1)
0 Kudos
Reply
3 Replies

547 Views
seven1
Contributor I

Thank you for your reply. This is still the issue. I want to directly write registers on LInux to configure the PWM function, which registers should I configure, and what values should I configure. The more detailed, the better.

This pin is MXRT105X_ PAD_ B1_ 15_ GPIO2_ IO31, mean is MXRT105X_ PAD_ B1_ 15_ FLEXPWM4_ PWMA03。

 

0 Kudos
Reply

533 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Customer could refer RT1050 SDK software provided PWM demo, which uses eFlexPWM to generate A-phase pwm, B-phase pwm and C-phase pwm through submodule 0, submodule 1, submodule 2. 

Related demo located at ..\SDK_2_13_0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\pwm

Wish it helps.

best regards,

Mike

0 Kudos
Reply

618 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, NXP provides MCUXpresso SDK package for RT1050 product, not support ucLinux.

Please check with EmCraft about ucLinux BSP for RT1050.

Wish it helps.

Mike

0 Kudos
Reply