Skip to main content
Robert Kong
Associate
Jun 24, 2018 8:16 AM UTC
Solved

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

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.
    Robert Kong
    Robert KongBest answer
    Associate
    Jun 24, 2018 11:16 PM UTC
    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!!

    2 replies

    Robert Kong
    Robert KongAuthorBest answer
    Associate
    Jun 24, 2018 11:16 PM UTC
    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!!

    henry.dick
    Associate II
    Jun 25, 2018 12:07 PM UTC
    Posted on June 25, 2018 at 12:07

    '

    There was a bug in my code'

    fortunately, that's true in most cases.