Commit Graph

5 Commits

Author SHA1 Message Date
Ondrej Jirman a1978d22ed i2c-charger-ctl doesn't need the INT gpio access, remove it 2022-01-12 13:45:13 +01:00
Ondrej Jirman 7830c7986f Fix writing charger registers (result detection was broken) 2022-01-12 13:36:47 +01:00
Ondrej Jirman 31c41b7d9e Drop I2C bit functions, to make timing easier to modify
I2C to the charger now has clean 100kHz timing. One read command now takes
400us, and one write command takes 300us to execute.
2021-09-05 02:26:55 +02:00
Ondrej Jirman a049cd5107 Make charger tool read/write data from charger via MCU I2C proxy commands 2021-09-05 02:06:57 +02:00
Ondrej Jirman 6a5fe581b9 Implement flashing over I2C and user/stock firmware support
I2C register layout changed a bit to make various operations easier
to implement in FW and for the user.

Flashing/debugging tools now share more code. Firmware is now more
configurable (it's now possible to compile-out various features).

Self-testing for column-shorts is implemented.

Firmware is optimized for low power consumption.
2021-06-28 15:09:47 +02:00