Сlock generator
Elsta opened this issue · comments
Hello BotoX!
Thank you for the work done and interesting project! Will this project work correctly if you connect external oscillator 16Mhz to the controller and change the fusebit without changing the m365 firmware?
Yes it will if you change this firmware to use 115200 baud and change F_CPU to 16M.
Also need a different bootloader bin: https://t.me/XiaomiM365Hacking/39862
Yes it will if you change this firmware to use 115200 baud and change F_CPU to 16M.
Also need a different bootloader bin: https://t.me/XiaomiM365Hacking/39862
I found later posts from "White Power" claiming it did not work out:
"avrdude : verification error: content mismatch at byte 0x7e00"
Was it the reason you rolled back the 115200bps bootloader?
The quarz on the V1.6 BMS is 8MHz.
The quarz on the V1.6 BMS is 8MHz.
Thanks! I am looking forward to program the BMS soon.
@Elsta Sorry for the confusion, I was referring to BotoX earlier commit. Thanks for your clarification too.
You can only run this BMS with 115200 baud if you use a 16 MHz quarz OR calibrate it with OSCCAL so that you can do 115200 baud with 8 MHz.
See: https://codebender.cc/sketch:186647#OSCCAL.ino