Skip to main content
Jason Ren
Associate
March 27, 2022
Question

spc560 ADC can't read analog quantity

  • March 27, 2022
  • 2 replies
  • 1068 views

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
    March 27, 2022

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

    ODOUV.1
    ST Employee
    March 28, 2022

    Hello,

    PE[7] is not an analog input

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

    0693W00000LvxGkQAJ.png 

    Best Regards,

    -Olivier