Patrik Bachan
Patrik Bachan
> Do you think I'm stupid? Never said that, I am just used to that people overlook some info easily. I do too... >That are two different chargers and not...
Hi @egor9879 , You are right, pin mapping is wrong, at least some pins wired to LCD in your charger are used differently in existing designs. It would require some...
Hi @S-trace, Your charger crystal oscillator seems to be oscillating on different frequency. it has 112% baud rate on 38400. That is too much. (never seen it) You can measure...
Never mind, download works now. I'll take a look...
Can you capture several frames with higher sample rate? 16MHz or more if possible.
Still 2.4MHz sample rate. Shortest pulse seems to be around 5.8us, It should be around 8.7us fo 115200. That is strange. Can you check value printed on crystal?
Also you need your uart to be set to 8 data bits, no parity, 1 stop bit. No sure what do sou use for data receiving.
Hi @S-trace, did you solve this issue?
You can try to slightly increase F_CPU in [avr-compiler.cmake](https://github.com/stawel/cheali-charger/blob/master/avr-compiler.cmake#L13) and build new FW with this value changed.
You can set these thresholds manually. You just need to enable advanced menus a then _edit battery_. I don't know if there is enough space to accommodate another cell type...