STM32G030 Tutorial
Timer PWM with DMA stops too early on STM32G431
Pinout & Configuration
Unused Pins
The unused I/O pins should be configured as analog input by software; they should also be connected to a fixed logic level 0 or 1 by an external or internal pull-up or pull-down.
Recommended course of action for Unused pin of STM32 MCU
Pin value of a GPIO pin set as high impedance
GPIO outputs are in high-impedance state
HAL
HAL_Delay
Because it’s an “at-least-N-ms” delay with 1ms granularity.
HAL_Delay works and doesn’t work
Is HAL_Delay(1) quaranteed to be close to 1ms?
HAL_Delay(1); takes 2ms
Timer + DMA
PWM
It takes 2 mins to generate PWM signal in STM32
STM32 Guide #3: PWM + Timers
PWM + DMA on G431
STM32 LESSON #5: TMER (PWM + DMA)
Confusion about length parameter in HAL_TIM_PWM_Start_DMA
- On STM32F4 the length seems to be with respect to Data Width in the timers DMA setting
- on STM32U575 it seems to be measured in bytes (regardless of the GPDMA settings)
WS2812
Interface WS2812 with STM32
github.com/MaJerle/stm32-ws2811-ws2812-ws2812b-ws281x-tim-pwm-dma-timer
Improved STM32 WS2812B DMA library
Tutorial: Adafruit WS2812B NeoPixels with the Freescale FRDM-K64F Board – Part 5: DMA
SPI (no DMA)
WS2812
STM32G030 BOOT0 / NRST
STM32G0 Boot0 und SWCLK selber Pin
STM32G030 BOOT0 versus SWD
STM32G030 BOOT0 pin – SWCLK
STM32G0 Series Workaround for BOOT0-Pin Problem #82
ST
AN5096 – Application note – Getting started with STM32G0 Series hardware development (PDF)
RM0454 – Reference manual – STM32G0x0 advanced Arm-based 32-bit MCUs (PDF)
- Reference design
- PA14 is shared with BOOT0 functionality. Caution is required as the debugging device can manipulate BOOT0 pin value.
- The debug pins are in AF pull-up/pull-down after reset:
- PA14: SWCLK in pull-down
- PA13: SWDIO in pull-up
a |
b |
c |
Fuse / Resettable Fuse / Self-Recoverable Fuse
- Glass Tube Fuse
- Thermostat Fuse
- PPTC Fuse
- Resettable
- Recoverable Fuse
- Self-Recoverable Fuse
- MultiFuse
- PolyFuse
- PolySwitch
PPTC = Polymeric Positive Temperature Coefficient Device
Temperature => Resistance
PTC = Positive Temperature Coefficient Device
NTC = NegativeTemperature Coefficient Device
Parameters
- V_max
- I_max
- I_hold => continuously, will never trip
- I_trip => activate
AliExpress
PPTC Self-Recovery Fuses, 250V
PPTC Resettable Fuse, 250V, TRF250-500
YouTube
The Best Protection for your Circuit is NOT a Fuse!…..but a Resettable Fuse? EB#54
The Best Protection for your Circuits? eFuse! Here is why they are awesome! EB#48
LCR Meter
ZOYI
- ZOYI ZT-MD1
- ZOYI ZT-DQ01
- ZOYI ZT-DQ02
ANENG
- ANENG SZ305
- ANENG GN701
Isolated DC/DC Converters / AC/DC Converters / Switched-mode DC-DC
Aka SMPS Switched Mode Power Supply
SM7035P
NCP1010
NCP1010: Self-Supplied Monolithic Switcher for Low StandbyPower Offline SMPS (PDF)
Tutorials
Flyback vs. Buck: Which to Use for DC/DC Conversion?
Instructable: DIY Buck/Boost Converter (Flyback)
element14
- site:community.element14.com A Noise-Free DIY Switching Power Supply
- site:community.element14.com Isolated DC/DC Converters
elements14: A Noise-Free DIY Switching Power Supply – How Hard Can It Be? — Episode 542
DC Power: DC-to-DC Converters
YouTube
How Buck, Boost & Buck-Boost DC-DC Converters Work
How does a modern Power Supply work?! (230V AC to 5/12V DC) DIY Flyback Converter!
Every Component of a Switch Mode Power Supply Explained
Every Component of a Linear Power Supply Explained (while building one)
Understanding Switching Mode Power Supplies
A Noise-Free DIY Switching Power Supply – How Hard Can It Be?
How SMPS works | What Components We Need? Switched Mode Power Supply
#772 Basics: Switching Power Supplies (part 1 of 2)
Howto repair switch mode power supplies #1: basics, and block diagram of a PSU
Switching Regulator PCB Design – Phil’s Lab #60
AI
The SM7035P is an adjustable step-down DC-DC converter. It works by converting a DC input voltage to a lower, adjustable DC output voltage, typically between 3.3V and 18V. This conversion is achieved through a series of switching actions within the converter, which effectively “steps down” the voltage while providing a stable output.
Here’s a more detailed breakdown:
- Input Voltage: The SM7035P accepts an input voltage ranging from 1 to 265 VAC.
- Step-down Conversion: The converter uses a switching regulator design to reduce the input voltage to a lower, adjustable output voltage.
- Adjustable Output: The output voltage can be set between 3.3V and 18V, allowing for flexibility in different applications.
- Maximum Current: The device is capable of providing a maximum current of 200mA.
- Efficiency and Power Conversion: The SM7035P is designed for high efficiency and power conversion, making it suitable for various applications.
- RoHS Compliance: The device is RoHS-compliant, indicating it meets environmental standards.
- SOP-8 Package: The SM7035P is housed in a SOP-8 package, a common type of surface mount integrated circuit package.
Gleichtaktdrossel
UU = form und dimension?
UF = material dicke? oder ferrite core material?
- what is an uf10.5 inductor?
- what is an UU9.8 inductor?
- what is the maximal ac voltage of a uu9.8 inductor?
- what is the maximal current of a UU9.8 choke?
Die Pitch für UF10.5 Gleichtaktdrosseln liegt bei 10*13mm. Dies bezieht sich auf die Abmessungen des Drahtes, der in der Induktivität verwendet wird, wie z.B. bei AliExpress.
The “UF10.5” in the context of electronic components refers to a type of common mode choke inductor. These chokes are used to filter out unwanted high-frequency noise and interference in electronic circuits. The “pitch” of an inductor refers to the spacing between the turns of the coil, which affects its inductance and overall performance.
A UU inductor, also known as a UU common mode inductor, is a dual coil inductive component that is mainly used in applications such as power supply filtering and EMI (electromagnetic interference) filtering.
An UU inductor is a type of inductor characterized by its core shape, which is composed of two U-shaped ferrite pieces joined to form a complete loop. It’s often used in common mode choke applications, typically designed to suppress noise in power supply circuits.
The UU refers to the shape of the core used: it’s two U shaped bits of ferrite put together to make a complete loop shape. As for a common mode choke, there are two separate coils on this inductor, which share the same core.
An UF10.5 inductor is a type of common mode choke inductor, designed for filtering out high-frequency noise and interference, specifically in electronic circuits. The “UF10.5” designation indicates a specific type and size, with a 10.5mm core material (UF stands for a specific ferrite material).
An UU9.8 inductor is a common mode choke, a type of inductor designed to suppress common mode electromagnetic interference (EMI) in electrical circuits. The “UU” refers to the shape of the ferrite core, which is two U-shaped pieces joined together. The number “9.8” likely refers to a specific core size or model.
UF10.5: This likely refers to a specific type and size of ferrite core material used in the inductor.
The maximum AC voltage an UU9.8 inductor can handle is 1500V AC when tested at 50Hz and 4mA for 1 minute, according to Miracle Electronic Devices and Prismatic Engineering. This voltage rating refers to the insulation between windings and between windings and the core. The insulation resistance is also specified to be greater than 100 MΩ at 500V DC.
The maximum current for a UU9.8 choke depends on the specific part number and application, but generally ranges from 0.06 Amps to 15 Amps, according to Coilcraft. Some manufacturers provide specific current ratings in milliAmps, as seen on Prismatic Engineering, while others, like Falco Electronics, list maximum current values up to 2 Amperes. It’s important to consult the datasheet for the specific UU9.8 choke you are using to determine its maximum current rating.
The maximum current for a UU10.5 choke can vary depending on the specific model, but generally ranges from 0.18A to 2A. Some suppliers like Coilcraft offer models with higher current ratings, even up to 15A.
What does “UU9.8” and “Common mode choke” mean for inductor coils?
UU Common Mode Chokes (PDF)
Common Mode Chokes – UU9.8 & UU10.5 Series (PDF)
Uu10.5/UF10.5 Common Mode Choke Coils Filter Inductor 50mh
UU9.8 Common Mode Choke Coil Transformer Bobbin
EMI Suppression Filter Common Mode Choke Coil UU9 For AC Power Lines
Uu/UF Series Common Mode Choke Filter for High Frequency Inverter
Voltage Regulator Li-Ion 4.2V to 3.3V
Function
- Step-Up/Step-Down
- Voltage Regulators – DC DC Switching Regulators
Device
- LM3671 – 600mA
- RT6150B-33GQW, 800mA
- RT8010-33GQW, 1000mA
- AP2210K-3.3TRG1, 300mA
- TPS6200, 600mA
- TPS62291, 1000mA
- ADP2108, 600mA
- AP3429, 2000mA
- HX4002, 100mA
- DD0403MA (AliExpress)
- DM07 (AliExpress)
Digikey
RT6150B-33GQW, IC REG BCK BST 3.3V 800MA 10WDFN
RT8010-33GQW, IC REG BUCK 3.3V 1A 6WDFN
LM3671MFX-3.3/NOPB, IC REG BUCK 3.3V 600MA SOT23-5
TPS62007DGS, IC REG BUCK 3.3V 600MA 10VSSOP
TPS62291DRVR, IC REG BUCK 3.3V 1A 6WSON
ADP2108AUJZ-3.3-R7, IC REG BUCK 3.3V 600MA TSOT23-5
AP3429AKTTR-G1, IC REG BUCK ADJ 2A TSOT25
Digitec
Adafruit LM3671 3.3V Buck Converter Breakout 3.3V/600mA
Purecrea Spannungsregler Linear AMS1117 800mA 3.3V
Bastelgarage
HX4002 3.3V Step Up/Down Converter 1.8-5V to 3.3V 100mA
Play-Zone
SparkFun Buck Regulator Breakout – 3.3V (AP3429A)
AliExpress
New Mini 1.8V 3V 3.7V 5V to 3.3V Boost & Buck Low Noise Regulated PLR Charge Pump 2 in 1 DC/DC Converter, 100mA
2 Pcs DD0403MA 3.3-6V to 3V 3.3V DC-DC Converter Step-Down Power Supply Buck LDO Module repl AMS1117-3.3 Power Supply Board, 300mA
Mini DC-DC Buck Step-down Converter Power Supply Module 1.5v 1.8v 3.3v 4.2v 2A, 2000mA
Höpfhörer Active-Noise-Cancelling
digitec
Bose QuietComfort
Bose QuietComfort Ultra
Sony WH-1000XM5
Sennheiser Momentum 4 Wireless
soundcore Space One Pro
Apple AirPods Max 2024
interdiscount
BOSE QuietComfort Ultra (ANC, Schwarz)
YouTube
Best Premium Headphones [Tested & Compared!] – AirPods Max vs Bose vs Sony vs Sennheiser (03.01.2024)
Bose QuietComfort Ultra Headphones (Problems & Best Features after 1 Month)
16 BIGGEST ISSUES with the Bose QuietComfort ULTRA Headphones
What I Hate about Sony WH-1000XM5
![]() |
![]() |