S32K ADC PAL Conversion groups configuration

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

S32K ADC PAL Conversion groups configuration

959 Views
thulzh
Contributor III

Hi,

    The project that I am working in needs to convert 15 channels using ADC0 and 3 channels using ADC1.

     When I use RTM4.0.2 to configure the ADC modules with ADC_PAL_Configuration, I fails to get the correct converting result if I set one ADC0 conversion group where there are 15 adc0 channels and set one ADC1 conversion group where there are 3 adc1 channels.  The results which should appear in the adc_pal_0_result0[]  appear in adc_pal_1_result0[]. When I set two ADC0 conversion groups, contain 8 and 7 channels seperately, the conversion results are in line with expectations.

      What is the difference between these two configuration?

 

0 Kudos
Reply
1 Reply

933 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @thulzh,

Can you please share the whole project so that I can test it?

 

Thank you,

BR, Daniel

0 Kudos
Reply