Skip to main content
Graduate
January 20, 2023
Question

External circuitry for voltage regulator pins (VCAP) and software configuration using HAL layer for STM32F207ZG device.

  • January 20, 2023
  • 2 replies
  • 3123 views

Dear all, I'm facing the firmware downloading on a custom board for the first time after its testing version was produced.

 This custom board design was an heritance from an externarl designer but I have found some hardware issues that must be fixed.

The firmware was allready tested on the Nucleo Board and it's working fine.

Now I'm wondering about the regulator VCAP pins. I'm just comparing the Nucleo schematics with this custom board and they have differences. So I read about this two pins on datasheet in order to understand about the hardware needs and its configuration.

So after doing this, I have understood some things but there is other questions that I have not answered looking at the technical documents that I read.

What I have understood:

  • These two pins will ever need some kind of external circuitry connection.
  • Voltage regulator is enabled by default
  • The only way for being desabled is by hardware (using IRROFF and REGOFF pins, and they are only present on WL64 package) so you can add external regulation
  • Voltage regulator has 3 operation modes
  • Voltage regulator needs two 2.2uF capacitors connected to VCAP0/1 and GND for stabilizing 1.2V that supplies internal digital circuits

My unclear conception, hence my questions:

  1. this internal voltage regulator also handles POR/PDR and voltage supervision. Is it? how it does. When 1,2V output drops or grows too much it resets, is it? I guess it's not refered to the 3.3V supply.
  2. after connecting 2.2uF capacitor what kind of softwre configuration does it needs? I was generating configuration code using cubeMX tool from stm32CubeIDE and I have not seen options about this. Does it mean that using cubeMx it is configured with default values?
  3. the proposal of my custom board is to use an external voltage supervisor circuit for reset signal (micro.jpg). Does the VCAP pins still needing these capacitors?

0693W00000Y8keEQAR.jpg 

    This topic has been closed for replies.

    2 replies

    Graduate
    January 20, 2023

    These are internal power supply pins, not supervisor. The VCAP pins are outputs of an internal regulator. They are not visible to MCU logic, so no configuration is needed nor possible. Just connect the capacitors as described in the data sheet - usually 2u2 per pin if > 1 VCAP pin is present, 4u7 if only one pin is available in the MCU case.

    genisuviAuthor
    Graduate
    January 23, 2023

    Thans for your answer.

    Sorry, I'm not saying that those pins are a voltage supervisor. But reading the datasheet, where it says:

    "The device has an integrated POR/PDR circuitry that allows proper operation starting

    from/down to 1.8 V"

    I was confusing about if it was refered to a part of the internal voltage regulator circuitry. Ok, these functions are not a voltage regulator issue.

    As I said before, this PCB design was missed the capacitors on VCAPs pins. It was a prototype PCB version. It's very dificult to connect there two ceramic capacitor with a short way to GND.

    Does it mean that microcontroller will enteraly not be able to setup the system? Or could it works a little? Are their presence completely essential for the system boot after being programmed? Or could even it giving binary file downloading problems to the program memory (FLASH)?

    I other words, what kind of problems could their not connection cause to the mcu when trying to program it and trying to execute an application?

    Graduate II
    January 27, 2023

    My guess is that without any capacitors on VCAP at all the MCU will have a poor and erratic performance at best or most likely will not be usable at all.

    Graduate II
    January 20, 2023

    There is no need for an external voltage supervisor circuit as STM32 has an internal one. Generally read the AN3320.

    genisuviAuthor
    Graduate
    January 23, 2023

    I think the same but it was an external design product and the company puts the supervisor on the circuit in case the VCC has a voltage drop down. I really don't know about if it is useful or necessary. By the way.. now I'm facing the CAPs absence on VCAP pins.

    Thanks a lot for the AN, it seems very interesting document that I don't was awared about its existence.