Skip to main content
Visitor II
November 15, 2020
Solved

STM32 fails to connect if AREF is not connected to VDD

  • November 15, 2020
  • 4 replies
  • 1357 views

Hi, I'm new in the STM32 world. I recently bougth the STM32L031K6 nucleo board and I am doing a project where I need to connect the analog reference to a voltage different from VDD. So I de-soldered the solder bridge that connects AREF to VDD (SB10). Now if I plug the cable in I get a fail file that says: "The interface firmware FAILED to reset/halt the target MCU" and the board doesn't work, if I connect vcc to aref all works good. What could it be?

Thank you all!

    This topic has been closed for replies.
    Best answer by TDK

    VDDA must be connected to VDD. On this chip, VDDA is bonded to VREF+, so it must be connected to VDD.

    4 replies

    TDKAnswer
    Super User
    November 15, 2020

    VDDA must be connected to VDD. On this chip, VDDA is bonded to VREF+, so it must be connected to VDD.

    Visitor II
    November 15, 2020

    Thank you! I've just read it on the datasheet. I have to change board🤦�?♂�?

    Super User
    November 15, 2020

    Be aware there are also limits on VREF+, even if it's available as a separate pin. The same is true on other families as well.

    0693W000005BQPxQAO.png

    Visitor II
    November 15, 2020

    Thanks!

    I noticed that almost every stm32 board has Vref connected to VDDA. Do you know some that has this two pin separeted?