27 Commits

Author SHA1 Message Date
8adfe875cd started work on PD negotiation 2026-04-22 00:39:46 +02:00
a38c71674b removed unused command 2026-04-21 21:59:30 +02:00
1fdf6d2cca i2c at 400kHz 2026-04-21 21:56:23 +02:00
7b1be30a6c ADC conversion and DMA
Setup ADC conversions to happen automatically, transferring results to a buffer
using DMA, also set up channel injection, where instead the tip temperature is
read sinchronously
2026-04-21 21:51:24 +02:00
0023394615 correct use of #if defined check 2026-04-19 23:46:18 +02:00
2a38ba36b0 indentation to tabs 2026-04-19 23:07:36 +02:00
4820010ef1 use ssd1312 display (soldered) 2026-04-19 21:26:22 +02:00
a1590577d2 added fixed point exponential average filters 2026-04-19 18:54:44 +02:00
2c82d8d42e draw useful info on screen 2026-04-19 16:46:54 +02:00
1ba352af4e Refactor ADC reading and conversion
Introduce `VCC_MV` to `funconfig.h` for consistent voltage readings.
Add `get_current_ma` function to `main.c` for clearer current
calculations.
Remove unused `PIN_LED` and `Delay_Ms(5000)` from `main.c`.
Update VBUS voltage calculation to use `VCC_MV`.
Print TIP sensor voltage in millivolts instead of raw ADC values.
2026-04-19 14:05:06 +02:00
ab5e54a9dd scan correct I2C bus 2026-04-19 00:26:36 +02:00
77701636b5 moved i2c setup to it's own function 2026-04-18 22:40:26 +02:00
55bee1a5d8 push script to generate NTC lut 2026-04-17 22:21:42 +02:00
4591e6e04a try to set higher contrast 2026-04-17 21:09:49 +02:00
dae0fbcbda i2c test and display 2026-04-16 13:10:52 +02:00
9e254e0fb1 interrupt-based encoder 2026-04-11 21:40:33 +02:00
90a94a533b more work on basic functions 2026-04-10 17:10:39 +02:00
e1528385c2 read some adcs 2026-04-10 00:58:53 +02:00
a75570e67b it talks 2026-04-09 20:51:51 +02:00
043fbba67e firmware not working 2026-04-09 17:16:19 +02:00
6bc4087474 project start 2026-04-06 00:06:45 +02:00
821380d21c independent programmer 2026-04-05 20:08:18 +02:00
03bf92f505 refined implementation 2026-04-05 17:00:53 +02:00
920d0a46c3 technical manuals of the mcu 2026-04-05 01:32:08 +02:00
a51793e529 better ignore 2026-04-05 01:31:47 +02:00
6cd3815d5a first (non working) programmer 2026-04-05 01:31:11 +02:00
d79565b10d firmware setup 2026-03-25 18:47:44 +01:00