Pretty late to the game, but I have this problem regarding the power pins on the black pill. On the ST forum, an ST employee said this about the Blackpill made by We Act: "If you do not use the 3.3V connection to supply smaller external loads, but to feed in the 3.3V, you could run into unforeseen problems. This is because you are operating the LDO AP7343D-33FS4-7B backwards, since the p-fet it contains usually has a parasitic antiparallel diode with an anode at the regulator output. This diode path conducts as soon as the output has a higher potential than the input - i.e. when 5V is open." ... "3.3V is an output and very likely not suitable for feeding in". - So is powering the board through a 3.3V pin considered a bad practice? Did you have any problems powering the board using 3.3v ? I still haven't ran into any problems though
Have a look here www.st.com/resource/en/user_manual/dm00026748-st-link-v2-in-circuit-debugger-programmer-for-stm8-and-stm32-stmicroelectronics.pdf Go to page 12/13 and it shows the pinout. The only lines in use are VAPP, GND, TMS_SWDIO (which goes to SWDIO) and TCK_SWCLK (which goes to SWCLK). Note that that STLink *does not* provide power to the board - you have to power it separately. Thank you for the comment and I hope this helps.
Hi, I'm facing Issue, I have powered the stm32f411ceu6 blackpill from a 5V buck convertor to the +5V pin on board, but the board does not power ON, It works when USB is connected, but does not power-on when battery connected to +5V on board. The USB-C is connected to the LDO, and LDO output connected to all 3.3V pin, but I cannot see the +5V pin connected to input USB power. (also when powered from USB, +5V can be measured on the 5V pin) What could be the issue?? could you please help
A few suggestions: 1) There are two 5V pins on the board - did you try both? 2) Do you have a way of injecting 3.3V into that pin 3) I have looked at the schematic www.sgbotic.com/products/datasheets/development/F4x1Cx_V30_schematic.pdf and I didn't see any else obvious. I think if the LDO was blown then USB wouldn't work so not sure I hope this helps
@@na5y thanks for the suggestion, 1) yes, i have checked input on all 5V pins, does not power-on 2) Not completely clear from schematic, but im surprised input 5V is working for you in the video. 3) Special case: It works if battery connected to 3.3v pin (on any pin), but i observed, if 3.3v given to 3.3v pin, then 5v pin volatge < 3.3 volts. If 5v given to 3.3v pin then on measuring voltage on 3 3v pin shows 4.9V and on 5V pins shows 4.5V(which is not good, as whole controller is working on ~4.9v, will get wrong ADC reading later). 4) nothing works, finally planning to tap the VCC and GND lines on USB-C just before LDO and connecting it to battery🤦.
@@na5y i hope you upload more interesting projects like that one with a good use of electronic components and well structured software. I was just thinking how a state machine would be great here and then you mentioned it hahaha
Pretty late to the game, but I have this problem regarding the power pins on the black pill. On the ST forum, an ST employee said this about the Blackpill made by We Act:
"If you do not use the 3.3V connection to supply smaller external loads, but to feed in the 3.3V, you could run into unforeseen problems. This is because you are operating the LDO AP7343D-33FS4-7B backwards, since the p-fet it contains usually has a parasitic antiparallel diode with an anode at the regulator output. This diode path conducts as soon as the output has a higher potential than the input - i.e. when 5V is open." ... "3.3V is an output and very likely not suitable for feeding in".
- So is powering the board through a 3.3V pin considered a bad practice? Did you have any problems powering the board using 3.3v ? I still haven't ran into any problems though
I think Simon would be proud :)
Glad you enjoyed TEH!
Nice work, what is the ST link V2 connection to the black pill pin out
Have a look here
www.st.com/resource/en/user_manual/dm00026748-st-link-v2-in-circuit-debugger-programmer-for-stm8-and-stm32-stmicroelectronics.pdf
Go to page 12/13 and it shows the pinout. The only lines in use are VAPP, GND, TMS_SWDIO (which goes to SWDIO) and TCK_SWCLK (which goes to SWCLK).
Note that that STLink *does not* provide power to the board - you have to power it separately.
Thank you for the comment and I hope this helps.
thank you
Hi, I'm facing Issue, I have powered the stm32f411ceu6 blackpill from a 5V buck convertor to the +5V pin on board, but the board does not power ON,
It works when USB is connected, but does not power-on when battery connected to +5V on board.
The USB-C is connected to the LDO, and LDO output connected to all 3.3V pin, but I cannot see the +5V pin connected to input USB power. (also when powered from USB, +5V can be measured on the 5V pin)
What could be the issue?? could you please help
A few suggestions:
1) There are two 5V pins on the board - did you try both?
2) Do you have a way of injecting 3.3V into that pin
3) I have looked at the schematic www.sgbotic.com/products/datasheets/development/F4x1Cx_V30_schematic.pdf and I didn't see any else obvious. I think if the LDO was blown then USB wouldn't work so not sure
I hope this helps
@@na5y thanks for the suggestion,
1) yes, i have checked input on all 5V pins, does not power-on
2) Not completely clear from schematic, but im surprised input 5V is working for you in the video.
3) Special case: It works if battery connected to 3.3v pin (on any pin), but i observed, if 3.3v given to 3.3v pin, then 5v pin volatge < 3.3 volts.
If 5v given to 3.3v pin then on measuring voltage on 3
3v pin shows 4.9V and on 5V pins shows 4.5V(which is not good, as whole controller is working on ~4.9v, will get wrong ADC reading later).
4) nothing works, finally planning to tap the VCC and GND lines on USB-C just before LDO and connecting it to battery🤦.
The schematic could of course be wrong... There's so many versions of these black pills out there - all with their own QC problems...
Interesting. Thanks
Thank you Dave
Awesome work, Sir ! This tutorial really helped me getting started. I'd give you 1000 thumbs up :-)
Thank you Changpuak - glad you enjoyed the video!
Thank the mikroe calculator program, it is very useful!
It is indeed - thank you for the comment!
@@na5y i hope you upload more interesting projects like that one with a good use of electronic components and well structured software. I was just thinking how a state machine would be great here and then you mentioned it hahaha
@@emoutraspalavras-marloncou4459 Thank you for the kind words. I am glad you enjoyed the programming side of the video!