Skip to main content
Explorer
October 11, 2022
Question

Missing something: STM8 ADC only returns $3ff. Checked power & clock enables. Would appreciate a simple assembler example of a single conversion routine. .

  • October 11, 2022
  • 1 reply
  • 995 views

Tried Many kinds of register loading & execution orders. Somewhat new to ST, learned uCs mid 90s on Motorola 908xx. Trying to use ADC8 & 9 on an S208MB as a test platform until S105Js become available. Thanks in advance, Kevin

    This topic has been closed for replies.

    1 reply

    Explorer
    October 13, 2022

    A follow up: tried many more sequences, issue persists.

    Does Anybody write Assembler anymore?

    C is just a collection of definitions that refer to other ones ad nauseum.

    Didn't find any coherent initialization / execution code.

    40+ years writing assembler - as versed w/C libraries, It's NEVER Lied to me!

    Seeking kindred spirit TNX, <<<)))

    Ok, it happens: ADC section BAD.

    Checked a different test board, same code works.

    Oh well, might be solder bridge - LQFP80 is too fine for me.

    Still would like another asm writer to confer with. <<<)))