From 5594ab60b3c3f4177b88c500f0a83fb763fc6b3a Mon Sep 17 00:00:00 2001 From: janik Date: Thu, 4 Sep 2025 17:26:10 +0700 Subject: [PATCH] finished new 5V buck, layout --- code/.cproject | 4 +- code/.mxproject | 4 +- code/C64PSU.ioc | 74 +- code/Core/Inc/main.h | 2 + code/Core/Inc/stm32g4xx_hal_conf.h | 12 +- code/Core/Src/main.c | 524 +- code/Core/Src/stm32g4xx_hal_msp.c | 446 +- .../Inc/stm32g4xx_hal_adc.h | 2318 ++ .../Inc/stm32g4xx_hal_adc_ex.h | 1570 + .../Inc/stm32g4xx_hal_comp.h | 1404 + .../Inc/stm32g4xx_hal_dac.h | 638 + .../Inc/stm32g4xx_hal_dac_ex.h | 345 + .../Inc/stm32g4xx_hal_hrtim.h | 5153 ++++ .../Inc/stm32g4xx_hal_uart.h | 1745 ++ .../Inc/stm32g4xx_hal_uart_ex.h | 929 + .../Inc/stm32g4xx_ll_adc.h | 9204 ++++++ .../Inc/stm32g4xx_ll_comp.h | 757 + .../Inc/stm32g4xx_ll_dac.h | 2676 ++ .../Inc/stm32g4xx_ll_hrtim.h | 13905 +++++++++ .../Inc/stm32g4xx_ll_lpuart.h | 2658 ++ .../Inc/stm32g4xx_ll_usart.h | 4399 +++ .../Src/stm32g4xx_hal_adc.c | 3716 +++ .../Src/stm32g4xx_hal_adc_ex.c | 2384 ++ .../Src/stm32g4xx_hal_comp.c | 1099 + .../Src/stm32g4xx_hal_dac.c | 1749 ++ .../Src/stm32g4xx_hal_dac_ex.c | 1184 + .../Src/stm32g4xx_hal_hrtim.c | 11077 +++++++ .../Src/stm32g4xx_hal_uart.c | 4695 +++ .../Src/stm32g4xx_hal_uart_ex.c | 1042 + .../Src/stm32g4xx_ll_adc.c | 1419 + kicad/c64psu/#auto_saved_files# | 1 + .../c64psu-2025-08-11_151728.zip | Bin 96097 -> 0 bytes .../c64psu-2025-08-11_160700.zip | Bin 96014 -> 0 bytes .../c64psu-2025-08-11_161254.zip | Bin 96105 -> 0 bytes .../c64psu-2025-08-11_162650.zip | Bin 96189 -> 0 bytes .../c64psu-2025-08-12_134611.zip | Bin 112580 -> 0 bytes .../c64psu-2025-09-04_160538.zip | Bin 0 -> 295278 bytes .../c64psu-2025-09-04_162408.zip | Bin 0 -> 294769 bytes .../c64psu-2025-09-04_162921.zip | Bin 0 -> 292661 bytes .../c64psu-2025-09-04_165059.zip | Bin 0 -> 292475 bytes .../c64psu-2025-09-04_165602.zip | Bin 0 -> 293652 bytes kicad/c64psu/c64psu.kicad_pcb | 24621 +++++++--------- kicad/c64psu/c64psu.kicad_prl | 2 +- kicad/c64psu/c64psu.kicad_pro | 75 +- kicad/c64psu/c64psu.kicad_sch | 7569 ++--- .../TPP363082-T6TR/KiCad/TPP363082-T6TR.bak | 249 + .../KiCad/TPP363082-T6TR.kicad_sym | 317 +- ...su.kicad_pcb.lck => ~c64psu.kicad_sch.lck} | 0 48 files changed, 90097 insertions(+), 19869 deletions(-) create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_adc.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_adc_ex.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_comp.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dac.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dac_ex.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_hrtim.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_uart.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_uart_ex.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_adc.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_comp.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_dac.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_hrtim.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_lpuart.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_usart.h create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_adc.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_adc_ex.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_comp.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dac.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dac_ex.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_hrtim.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c create mode 100644 code/Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_ll_adc.c create mode 100644 kicad/c64psu/#auto_saved_files# delete mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-08-11_151728.zip delete mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-08-11_160700.zip delete mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-08-11_161254.zip delete mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-08-11_162650.zip delete mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-08-12_134611.zip create mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-09-04_160538.zip create mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-09-04_162408.zip create mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-09-04_162921.zip create mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-09-04_165059.zip create mode 100644 kicad/c64psu/c64psu-backups/c64psu-2025-09-04_165602.zip create mode 100644 kicad/c64psu/lib/LIB_TPP363082-T6TR/TPP363082-T6TR/KiCad/TPP363082-T6TR.bak rename kicad/c64psu/{~_autosave-c64psu.kicad_pcb.lck => ~c64psu.kicad_sch.lck} (100%) diff --git a/code/.cproject b/code/.cproject index 082a294..9e45330 100644 --- a/code/.cproject +++ b/code/.cproject @@ -24,7 +24,7 @@