Skip to main content
Andrei Chichak
Lead
February 2, 2015
Question

ADC1 Channel 16 (processor temperature) in CubeMX

  • February 2, 2015
  • 2 replies
  • 653 views
Posted on February 02, 2015 at 19:19

Is there a way to add the processor temperature, and battery voltage, internal ADC channels to the conversion list in CubeMX 4.6.0?

The interface doesn't seem to support it.
    This topic has been closed for replies.

    2 replies

    talbi.amel
    Visitor II
    March 19, 2015
    Posted on March 19, 2015 at 14:40

    Hello Andrei,

    In general, if it is supported by the ADC instance, in the pinout tree you can see the dedicated mode for temperator sensor, VBAT and Vrefint Channels. (please refer to the attached screenshot).

    If it is not the case, could you please indicate the used mcu.

    With Best regards.

    ________________

    Attachments :

    ADC1.PNG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzRT&d=%2Fa%2F0X0000000bNO%2Fsg64DRH.NYHdycyKK8sX6Nz4pJCZ.F6cgM.2pdU3kx0&asPdf=false
    Andrei Chichak
    Lead
    March 19, 2015
    Posted on March 19, 2015 at 17:02

    I found it on the ''Pinout'' tab, not exactly user obvious since those 3 channels can't be routed to a pin.

    I'd expect it to be on the ''Configuration'' tab, but I suppose ST's user testing showed that the pinout tab was the place to put it.