Skip to main content
lars23
Associate
March 19, 2010
Question

STM8S103K ADC

  • March 19, 2010
  • 3 replies
  • 1255 views
Posted on March 19, 2010 at 11:49

STM8S103K ADC

    This topic has been closed for replies.

    3 replies

    brazov22
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    Hi,

    please check AFR2 option bit is not set otherwise AIN2 is on PC4 and AIN3 on PD2.

    brazov

    lars23
    lars23Author
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    Hi,

    that's just a firmware-function, where the ADC-data is read out.

    It's working fine. The software should work, because I just use it somewhere else.

    regards,

    Lars

    lowpowermcu
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    Hi lars,

    What are you doing in ADC1_GetConversionValue() ?

    Mit besten grüssen,

    MCU Lüfter