ADC HW Trigger mismatch

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

ADC HW Trigger mismatch

206 Views
simon98
Contributor III

Hi,

i'm trying the adc conversion with hw trigger on S32K3X8EVB-Q289. 

For this example i've configued:

PTF21 as PWM(eMIOS)

PTA11 as ADC 

 

I've also configured an ADC group with conversion type injected and hw trigger signal RISING EDGE

simon98_0-1751965265308.png

 

in the model i've put a filp led block inside the adc interrupt callback which toggle the led1_blue of the board each time a coversion is completed.

simon98_1-1751965518629.png

 

The behavior which i don't understand is that whether i configure the hw trigger signal as RISING or FALLING edge, on my oscilloscope i see that the led is always toggled on the FALLING edge...

 

Why is this happening? could someone help me with that?

 

Thanks,

Simon

0 Kudos
Reply
0 Replies