Skip to main content
philipp239955_stm1_stmicro
Associate II
March 7, 2016
Question

ADC Channels

  • March 7, 2016
  • 1 reply
  • 755 views
Posted on March 07, 2016 at 15:10

     

Hi Community

I am struggling a bit with the ADC channels. 

I am using the OS-Less ADC demo. This demo works with thevariable resistor on the SPC560D-Discovery board. My question is why is thisdemo working only with channel 36? I tried several configurations and i getevery time some static ADC values. I mean if i change the resistance the ADCvalue does not change. The exception is Channel 36 this channel works fine. 

I hope somebody can help me.

kind regards

Philipp
    This topic has been closed for replies.

    1 reply

    Erwan YVIN
    ST Technical Moderator
    April 13, 2016
    Posted on April 13, 2016 at 17:20

    Hello Philipp ,

    Sorry for the late answer

    Yes this demo works only on the channel 36

    ADC1_S[4] ==> CH36 ==> 36

    Cf Chapter 26.5.1

    on the channel 36 , the values are updating.

          Best regards

                        Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.