add proj
This commit is contained in:
20
B-G474E-DPOW1_Keil/README.md
Normal file
20
B-G474E-DPOW1_Keil/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# B-G474E-DPOW1 Keil DCDC Starter
|
||||
|
||||
Starter project for Keil MDK/uVision and the ST B-G474E-DPOW1 Discovery kit.
|
||||
|
||||
What is included:
|
||||
|
||||
- `printf` retarget to ST-LINK VCP: USART3 on PC10/PC11, 115200 baud.
|
||||
- HRTIM1 Timer C setup for the onboard buck leg: PB12/PB13, 200 kHz, complementary outputs, dead-time.
|
||||
- ADC monitor for PA1 VIN, PA2 input current average, PA3 VOUT.
|
||||
- Readable voltage/current protection and a small starter PI voltage loop.
|
||||
|
||||
Important safety defaults:
|
||||
|
||||
- `DCDC_POWER_STAGE_ENABLE` is `0` in `Core/Inc/app_config.h`. The firmware configures peripherals and prints measurements, but HRTIM outputs remain disabled.
|
||||
- Before setting it to `1`, check JP1/JP5, use a current-limited VIN source, connect a safe load, and verify PB12/PB13 dead-time with an oscilloscope.
|
||||
- `DCDC_CONNECT_USBPD_INPUT` is also `0`. Set it to `1` only if JP1 is prepared to feed VIN from USB-PD and the USB-PD source is appropriate.
|
||||
|
||||
Open `B-G474E-DPOW1_DCDC.uvprojx` in Keil and build the target `B-G474E-DPOW1_DCDC`.
|
||||
|
||||
The project references the local Keil packs under `C:\Keil_v5\ARM\Packs`. If Keil is installed elsewhere, update the include paths and startup file path in the uVision project options.
|
||||
Reference in New Issue
Block a user