arjun.a
commit
b24351f
raw
history blame
2.95 kB
BQ79616-Q1: problem with auto addressing
Part Number: BQ79616-Q1 Hi, I am having problems with auto addressing a 616 with a bq79600 bridge. The data sheets of the 600 and the 616 do not agree how this is done but I tried both methods (and hundreds others) without success. To simplify things at the moment I have a 600 followed by a single 616. Below is a software trace of the messages sent and received. The reading back of the addresses after the auto addressing sequence (the 616 data sheet version shown) fails, neither the 600 nor the 616 is responding. reading register 0x2001 from the 600 works though (bottom). bq79616.c frm_snd(sng wri, adr 0, reg 0x0309, len 1) 0x90 0x00 0x03 0x09 0x20 0x13 0x95
bq79616.c ret 7 bytes sent
bq79616.c frm_snd(brc wri, adr 0, reg 0x034c, len 1) 0xd0 0x03 0x4c 0x00 0xfc 0x24
bq79616.c ret 6 bytes sent
bq79616.c frm_snd(brc wri, adr 0, reg 0x0309, len 1) 0xd0 0x03 0x09 0x01 0x0f 0x74
bq79616.c ret 6 bytes sent
bq79616.c frm_snd(brc wri, adr 0, reg 0x0306, len 1) 0xd0 0x03 0x06 0x00 0xcb 0x44
bq79616.c ret 6 bytes sent
bq79616.c frm_snd(brc wri, adr 0, reg 0x0306, len 1) 0xd0 0x03 0x06 0x01 0x0a 0x84
bq79616.c ret 6 bytes sent
bq79616.c frm_snd(brc wri, adr 0, reg 0x0308, len 1) 0xd0 0x03 0x08 0x02 0x4e 0xe5
bq79616.c ret 6 bytes sent
bq79616.c frm_snd(sng wri, adr 0, reg 0x0308, len 1) 0x90 0x00 0x03 0x08 0x00 0x13 0xdd
bq79616.c ret 7 bytes sent
bq79616.c frm_snd(sng wri, adr 1, reg 0x0308, len 1) 0x90 0x01 0x03 0x08 0x03 0x52 0x20
bq79616.c ret 7 bytes sent
bq79616.c reg_rea(brc rea, adr 0, reg 0x034c, len 0)
bq79616.c ret 0 bytes received
bq79616.c frm_snd(sng rea, adr 0, reg 0x0306, len 1) 0x80 0x00 0x03 0x06 0x00 0xd6 0x7e
bq79616.c ret 7 bytes sent
bq79616.c reg_rea(sng rea, adr 0, reg 0x0306, len 1)
bq79616.c ret 0 bytes received
bq79616.c address 0 read 0 response 0xff
bq79616.c frm_snd(sng rea, adr 1, reg 0x0306, len 1) 0x80 0x01 0x03 0x06 0x00 0xd7 0x82
bq79616.c ret 7 bytes sent
bq79616.c reg_rea(sng rea, adr 1, reg 0x0306, len 1)
bq79616.c ret 0 bytes received
bq79616.c address 1 read 0 response 0xff
bq79616.c frm_snd(sng rea, adr 0, reg 0x2001, len 1) 0x80 0x00 0x20 0x01 0x00 0x25 0x84
bq79616.c ret 7 bytes sent
bq79616.c reg_rea(sng rea, adr 0, reg 0x2001, len 1) 0x00 0x00 0x20 0x01 0x14 0x24 0x55
bq79616.c ret 7 bytes received
bq79616.c rea: 7
bq79616.c frm: 0x00 0x00 0x20 0x01 0x14 0x24 0x55
What have I missed? Regards, Hagen .
Hi Hagen, These parts are under NDA so we need to support this in private chat or email instead of E2E forum, the short answer is we provide sample code/guide and GUI after NDA is setup to reference. Can you identify and contact thecompany contact used to get the parts? Regards, Taylor
Hi Taylor, how can I send you an email? Regards, Hagen .
Hagen, Please provide your email, and I will contact you. Kindly resolve this thread afterwards. Thanks, Taylor