2024-12-05 01:22 AM
I'm currently working on my custom STM32F405RGT6. I've soldered the minimum systems (STM32F405RGT6 + Necesary Resistor n Capacitor + LED ). I've been able to program the MCU to blink the LED at first. So i start to adding other components
I've been adding the MIC5504-3.3v LDO by alternatively change the components using AP2112-3.3V LDO. I've compared both datasheets and it should be working properly. Also, i've been soldered the LM7805 Ic too. After soldered that two ic's, i reprogram the STM32. The result is my led now can't working (blinking) anymore, but the STM32F405RGT6 seems had no problem (because it still managed to be debuged and programmed). What makes this happen ?
2024-12-05 02:12 AM
Hello @huhuhaha and welcome to the community,
You can program the MCU but you cannot toggle the LED? if you succeeded to program the MCU, from my stand point, this is no more a regulator issue.
2024-12-05 02:20 AM
Each of the VCAP capacitors should be 2.2uF
2024-12-05 02:24 AM
@Tesla DeLorean wrote:
Each of the VCAP capacitors should be 2.2uF
Indeed and with low ESR. From AN4488:
2024-12-05 02:43 AM
@huhuhaha wrote:the STM32F405RGT6 seems had no problem (because it still managed to be debuged and programmed).
What, exactly, do you mean by "debugged" here?
Have you stepped through the LED-blinking code? Does it successfully go through the code to set the pin high & low?
What do you see if you probe the pin externally?
If you set the PC13 output low, and then externally short the LED cathode to GND - does it light?
PC13,14,15 and PI8 are subject to limitations:
https://www.st.com/resource/en/datasheet/stm32f405rg.pdf#page=205
You should be OK with sinking the current for your LED D1:
https://community.st.com/t5/stm32-mcus-products/stm32f030-pc13-14-15-current-sink-limits/m-p/717014
But what does REF_DIR do on PC14 ?
2024-12-05 02:47 AM
I also think of that. but i still finding the problem of my blinking led
2024-12-05 02:48 AM
wew, i just found out that information. i will try it
2024-12-05 02:49 AM
Thanks for the reference, i will try it