Skip to main content
Jason Ren
Associate
Mar 27, 2022 4:09 AM UTC
Question

spc560 ADC can't read analog quantity

On spc560b MCU,

I use PE [7] as ADC input,

But why can't I read the analog quantity

There is no problem with the hardware

How to configure the software part

    This topic has been closed for replies.

    2 replies

    Jason Ren
    Jason RenAuthor
    Associate
    Mar 27, 2022 7:33 AM UTC

    0693W00000Lvs1BQAR.pngPE [7] on the pin configuration page, as shown in the figure

    ODOUV.1
    ST Employee
    Mar 28, 2022 9:59 AM UTC

    Hello,

    PE[7] is not an analog input

    You can use PB[8] for example in Pin map wizard:

    0693W00000LvxGkQAJ.png 

    Best Regards,

    -Olivier