PWM with DMA

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

PWM with DMA

Jump to solution
960 Views
adem_marangoz
Contributor III

Hello NXP team,

i am using S32K144 MCU.

I want to use PWM with DMA, but I want to provide the values through an array. Where through a single function call, it takes these values and provides them as output.

S32K144EVB 

Tags (1)
0 Kudos
Reply
1 Solution
891 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@adem_marangoz

Sorry for the long waiting. 

The demo based on S32K144EVB, the SDK is RTM 4.0.03, IDE is S32 DS V3.4

Each time the trigger is triggered, the values ​​in the pwm_buffer array are sequentially

transferred to the Cnv of the FTM0-ch0 to change the output PWM.

2025-10-23_10-58-25.png

 

View solution in original post

0 Kudos
Reply
3 Replies
892 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@adem_marangoz

Sorry for the long waiting. 

The demo based on S32K144EVB, the SDK is RTM 4.0.03, IDE is S32 DS V3.4

Each time the trigger is triggered, the values ​​in the pwm_buffer array are sequentially

transferred to the Cnv of the FTM0-ch0 to change the output PWM.

2025-10-23_10-58-25.png

 

0 Kudos
Reply
879 Views
adem_marangoz
Contributor III
Thank you Senlent
0 Kudos
Reply
928 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@adem_marangoz

I need to spend some time to make a demo like this for your reference.

It's a bit difficult and I need some time.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2188926%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPWM%20with%20DMA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2188926%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3EHello%20NXP%20team%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ei%20am%20using%20S32K144%20MCU.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20want%20to%20use%20PWM%20with%20DMA%2C%20but%20I%20want%20to%20provide%20the%20values%20through%20an%20array.%20Where%20through%20a%20single%20function%20call%2C%20it%20takes%20these%20values%20and%20provides%20them%20as%20output.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FS32K144EVB%2Fpd-p%2FS32K144EVB%22%20class%3D%22lia-product-mention%22%20data-product%3D%223500-1%22%20target%3D%22_blank%22%3ES32K144EVB%3C%2FA%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2191168%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PWM%20with%20DMA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2191168%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20Senlent%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2191101%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PWM%20with%20DMA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2191101%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%40%3CSPAN%3Eadem_marangoz%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESorry%20for%20the%20long%20waiting.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20demo%20based%20on%20S32K144EVB%2C%20the%20SDK%20is%20RTM%204.0.03%2C%20IDE%20is%20S32%20DS%20V3.4%3C%2FP%3E%0A%3CP%3EEach%20time%20the%20trigger%20is%20triggered%2C%20the%20values%20%E2%80%8B%E2%80%8Bin%20the%20pwm_buffer%20array%20are%20sequentially%3C%2FP%3E%0A%3CP%3Etransferred%20to%20the%20Cnv%20of%20the%20FTM0-ch0%20to%20change%20the%20output%20PWM.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222025-10-23_10-58-25.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222025-10-23_10-58-25.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F362192i159FF926D4FFE40E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222025-10-23_10-58-25.png%22%20alt%3D%222025-10-23_10-58-25.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189841%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20PWM%20with%20DMA%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189841%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%40%3CSPAN%3Eadem_marangoz%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20need%20to%20spend%20some%20time%20to%20make%20a%20demo%20like%20this%20for%20your%20reference.%3C%2FP%3E%0A%3CP%3EIt's%20a%20bit%20difficult%20and%20I%20need%20some%20time.%3C%2FP%3E%3C%2FLINGO-BODY%3E