AD-conversion on ADC0_SE4b.

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

AD-conversion on ADC0_SE4b.

Jump to solution
731 Views
lindylarsen
Contributor I

I'm using the MKL26Z256 (64 pin), and have to make an ad-conversion on ad-channel 4b(pin 17) but I can't make it work.

when trying, i get a value  from ad-channel 4a(pin 10). where do I select if I'm using adc-4a or adc-4b?

br Lindy

0 Kudos
1 Solution
568 Views
lindylarsen
Contributor I

Yep, found the solution:

ADC16_DRV_SetChnMux(ADC16_INSTANCE, kAdc16ChnMuxOfB);

:-)

View solution in original post

0 Kudos
1 Reply
569 Views
lindylarsen
Contributor I

Yep, found the solution:

ADC16_DRV_SetChnMux(ADC16_INSTANCE, kAdc16ChnMuxOfB);

:-)

0 Kudos