dji-firmware-tools icon indicating copy to clipboard operation
dji-firmware-tools copied to clipboard

Marvin Pro BQ30z55 FEC Checksum Error

Open ByteMasterFlinki opened this issue 1 year ago • 3 comments

I have a Problem, If I read the BatteryStatus with

./comm_sbs_bqctrl.py -vvv --bus "i2c:1" -a 0x40 -c BQ30z55 read BatteryStatus

I get an error

Opening i2c:1 Importing comm_sbs_chips/BQ30z554.py Reading simple command at addr=0x40, cmd=0x16, type=uint16, opts={'subcmd': None} Raw BatteryStatus response: 00 00 00 Retrying due to error: ValueError: Received uint16 from command BatteryStatus with wrong PEC checksum Raw BatteryStatus response: b3 a2 f2 Retrying due to error: ValueError: Received uint16 from command BatteryStatus with wrong PEC checksum Raw BatteryStatus response: a3 00 b4 Error: ValueError: Received uint16 from command BatteryStatus with wrong PEC checksum

Is my command not right what can I try

Thanks

ps: if my post is not correct, sorry it is my first time using GitHub

ByteMasterFlinki avatar Jul 17 '23 10:07 ByteMasterFlinki

0x40 is the uC. bqctrl script is designed to talk to BMS chip, not the accompanying uC.

mefistotelis avatar Jul 17 '23 11:07 mefistotelis

But this is the only device in i2cdetect. Is it possible that the other Chip would need the full voltage, now it has only 10.xx volt’s. Can i check if the other device is working correctly? With an Osci? Or there are other options? But this chip is also on the battery because i don’t have the battery connected to the drone itself. Thanks for the information

ByteMasterFlinki avatar Jul 17 '23 16:07 ByteMasterFlinki

BMS typically is able to work at low voltage.

Read the chip reference - maybe it's in shutdown mode. Or maybe needs reboot.

mefistotelis avatar Jul 17 '23 17:07 mefistotelis