The DSP chip is 280049, and the SPI module of DSP drives BQ79600 to wake up two BQ79731. After BQ79600 sends the wake up frame, only the first BQ79731 successfully wakes up, and the second BQ79731 does not wake up. And no wake frame is sent from the first BQ79731 to the second BQ79731 bus; If I change DIR_SEL, another BQ79731 can wake up, but still only one BQ79731 can wake up. How to solve this problem?
CODE:
/* Change the addressing direction, COMH - COML */
Bq79600_Reg.CONTROL1.Bit.DIR_SEL = 1;
Bq79600_Reg.CONTROL1.Bit.GOTO_SHUTDOWN = 0;
Bq79600_Reg.CONTROL1.Bit.SEND_SHUTDOWN = 0;
Bq79600_Reg.CONTROL1.Bit.GOTO_SLEEP = 0;
/* 0x90 0x00 0x03 0x09 0x80 */
(void)BQ79600_Single_Wr(0x00, BQ79600_ADR, Z_CONTROL1, &Bq79600_Reg.CONTROL1.Byte); //改变寻址方向
DEVICE_DELAY_US(4000);
Bq79600_Reg.CONTROL1.Bit.SEND_WAKE = 1;
/* 0x90 0x00 0x03 0x09 0xA0 0x12 0x35 */
(void)BQ79600_Single_Wr(0x00, BQ79600_ADR, Z_CONTROL1, &Bq79600_Reg.CONTROL1.Byte);
//BQ79600_Single_Wr_Fra(0x00, BQ79731_ADR_S1, Z_CONTROL1, &Bq79600_Reg.CONTROL1.Byte, 0x10);
DEVICE_DELAY_US(4000);