AnsweredAssumed Answered

kl25z ADC muxing problem.

Question asked by Avner Gidron on Nov 25, 2015
Latest reply on Dec 2, 2015 by Marek Neuzil

Hi,

I  am trying to configure an ADC component in PE under the KDS and the FRDM-KL25Z board. I am using the ADC0 and I want to use 4 channels:

  • ADC0_DP0/ADC0_SE0/PTE20/TPM1_CH0/UART0_TX
  • ADC0_DM0/ADC0_SE4a/PTE21/TPM1_CH1/UART0_RX
  • ADC0_DM3/ADC0_SE7a/PTE23/TPM2_CH1/UART2_RX
  • ADC0_SE7b/PTD6/LLWU_P15/SPI1_MOSI/UART0_RX/SPI1_MISO

My problem is that the last three are giving me the following problem:

This setting causes a conflict in the ADC0_CFG2[MUXSEL] - pins muxed by the same bit field(s) must be set identically. (A/D channel (pin))

Here is what I am trying  to configure:

ADC_screen_shot.png

what am I doing wrong?

Thanks,

Avner

Outcomes