2024-02-15 04:53 AM - last edited on 2024-02-15 08:52 AM by SofLit
Dear Ladies and Gentlemen,
for you it is your daily business - for me as customer a contemporary challenge:
Something went wrong with my pin-configuration.
I measure ~1,7 V as GPIO-output of Port A instead of wished >=3.3 V.
My power supply is a USB.
Could you give a sample pin configuration for (3.3 V output) of Port A in discussion?
As additional comment:
Round about 5 V are present at the 5 V-Pin(s).
Thank you in advance.
TIMBO
2024-02-15 05:52 AM
Hello,
Which board you are using? a custom board?
You need to provide schematics as well.
".. instead of wished >=3.3 V." -> that depends on your VDD. What is your VDD level?
2024-02-15 05:56 AM
Reduce the load attached to the pin. Perhaps just remove and measure then.
2024-02-15 05:59 AM
The TO talks about the Black Pill, probably this one.
2024-02-15 06:04 AM - edited 2024-02-15 06:06 AM
It is a BlackPill (weact v. 3.0) -
To my purpose - I need the round about 5 V from 5 V-Pin at the outputs of PA0-PA3.
~ 3.3 V would be enough, but I measure ~1.7 V at the moment...
It seems to be a configuration thought...
2024-02-15 06:17 AM
BlackPill/BluePill are not boards of ST and unfortunately some of them have fake STM32 on them!
Meanwhile, even with a genuine STM32 you can't reach 5V. The maximum you can reach is 3.6V which is the maximum of VDD.
2024-02-15 06:38 AM
@timbo2023 wrote:I need the round about 5 V from 5 V-Pin at the outputs of PA0-PA3.
The STM32 - like most such microcontrollers - is a 3.3V device.
It is not a 5V device.
Therefore you are never going to get a 5V output directly from its output pins.
Are you, perhaps, confused by the term "5V tolerant"? That refers to inputs which can tolerate 5V - it has nothing to do with outputs!
2024-02-15 06:41 AM
Ohhwee, that we must consider & check, of course.
On the 5 V pin were 4. ..V with USB given.
Is it possible to reach this voltage direct on another pin of port A?
But:
~3.6 V would be enough - VDD - of course - How looks the configuration of the pin0-3 of port A regarding it?
2024-02-15 06:51 AM
You are on a 3.3V system.
If you want 5V signal, no problem, use a chip for level shifting 3 -> 5 V . (I do same, if 5v signals needed.)
You can take any .. ie : 74HCT125 (with enable) , or ->
2024-02-15 06:54 AM - edited 2024-02-15 06:55 AM
Thank you, Mr. NEIL - ok, that i understood with support of your answer.
But back to VDD with its reachable value - I measure after a pin configuration ~1.7 V - how should be the configuration to reach the "full" 3.6 V on the pins of port A.
Could you give a sample?