Processor expert support

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

Processor expert support

1,662 Views
enricocongiu
Contributor I

is S32KDS / PE supported for S32K144 chip/evb?

I tried to configure ADC triggering synchronized with FTM (PDB-TRGMUX) with PE but is not working.

 

It did work with code i found  in this forum but i would like to use PE .

Labels (1)
0 Kudos
7 Replies

1,243 Views
shripadjoshi
Contributor I

Hello,  I have similar kind of problem and still not working. My scenario is I want to use FTM0 (configured as PWM using PE) as trigger source to PDB0 using Trgmux. PDB0 has pre-triggered ADC0 and interrupt routine. FTM0 triggers PDB0 and PDB0 in turn triggers ADC0.

My understanding is PDB has to trigger source as External (PDB0_Trigger) and trigmux configuration.

0 Kudos

1,243 Views
enricocongiu
Contributor I

thanks, i solved my problem!

starting from ADC_HWtrigger example i added TRGMUX and FTM, with a proper clock i have been able to trigger my ADC conversion!

0 Kudos

1,243 Views
raresvasile
NXP Employee
NXP Employee

Hi Enrico,

Yes, S32K144 has Processor Expert support with S32 SDK.

Can you provide the scenario that you want to configure? In this way I can provide guidelines that will help you achieve the desired functionality.

Thank you,

Rares

0 Kudos

1,243 Views
enricocongiu
Contributor I

Hi,

i would like to produce in output :

1) complementary pwm FTM0 ch0-1 used

2) indipendent FTM0 ch2

3) trigger ADC0 AN12 (PTC14 connected to pot on evb) with corresponding FTM0 trigger (init or match) using trgmux/pdb.

i can't get ADC eoc interrupt..

0 Kudos

1,243 Views
raresvasile
NXP Employee
NXP Employee

Hi,

Can you attach your project?

Rares

0 Kudos

1,243 Views
enricocongiu
Contributor I

How can i attach files? it seems not possible ..

0 Kudos

1,243 Views
raresvasile
NXP Employee
NXP Employee

When replying click on Use advanced editor (On the upper right corner, above #tag button). 

On the new window there should be an attach button.

Thanks,

Rares

0 Kudos