Skip to main content
Visitor II
June 24, 2018
Solved

Is the ADC1 in the stm8s103 the same as in the stm8s105?

  • June 24, 2018
  • 1 reply
  • 968 views
Posted on June 24, 2018 at 10:16

I have code for the ADC1 that works on the STM8S103F103F3P6 but it does not appear to work on the STM8S105C6T6.

Where am I going wrong?

    This topic has been closed for replies.
    Best answer by Robert Kong
    Posted on June 25, 2018 at 01:16

    There was a bug in my code - I was not triggering  another conversion after EOC was set. Sorry folks, my mistake!!

    1 reply

    Robert KongAuthorAnswer
    Visitor II
    June 24, 2018
    Posted on June 25, 2018 at 01:16

    There was a bug in my code - I was not triggering  another conversion after EOC was set. Sorry folks, my mistake!!

    Visitor II
    June 25, 2018
    Posted on June 25, 2018 at 12:07

    '

    There was a bug in my code'

    fortunately, that's true in most cases.