Hi,
I am in the process of porting bms-firmware for some noname BMS I found with bq76940 and stm32f103.
In the process I encountered problems with detection of the BMS IC, I was getting an error:
BMS communication error
but after veryfing with logic analyzer, the communication turned out to be correct.
The bug was caused by an erroneous (oposite) interpretation of return values of determine_address_and_crc function.
I suspect this bug might affect other boards already supported by bms-firmware, but I have no way of verifying that/
Hi, I am in the process of porting bms-firmware for some noname BMS I found with bq76940 and stm32f103. In the process I encountered problems with detection of the BMS IC, I was getting an error:
BMS communication error
but after veryfing with logic analyzer, the communication turned out to be correct. The bug was caused by an erroneous (oposite) interpretation of return values ofdetermine_address_and_crc
function. I suspect this bug might affect other boards already supported by bms-firmware, but I have no way of verifying that/