微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > TI电源管理交流 > BQ76PL445A菊花链唤醒失败

BQ76PL445A菊花链唤醒失败

时间:10-02 整理:3721RD 点击:

求助,请不吝赐教。

我目前的bms从控中采用两块455a,第一块用455a用WEAKUP引脚唤醒,能采集到正确的数据;第二块455a采用菊花链唤醒,但是采样不到数据,检查发现71号引脚NPNB没有输出电平,VDIG没有5.3v电平,故判断为455a菊花链唤醒失败。

程序如下:

delayms(5); //~5ms
WakePL455();
delayms(5); //~5ms

for(nDev_ID = 0; nDev_ID < 2; nDev_ID++) {
nSent = WriteReg(nDev_ID, 12, 0x20, 1, FRMWRT_ALL_NR); // power up
delayms(100); //~100ms
}

// Mask Customer Checksum Fault bit
nSent = WriteReg(0, 107, 0x8000, 2, FRMWRT_ALL_NR); // clear all fault summary flags

// Clear all faults
nSent = WriteReg(0, 82, 0xFFC0, 2, FRMWRT_ALL_NR); // clear all fault summary flags
nSent = WriteReg(0, 81, 0x38, 1, FRMWRT_ALL_NR); // clear fault flags in the system status register

// Auto-address all boards (section 1.2.2)
nSent = WriteReg(0, 14, 0x19, 1, FRMWRT_ALL_NR); // set auto-address mode on all boards
nSent = WriteReg(0, 12, 0x08, 1, FRMWRT_ALL_NR); // enter auto address mode on all boards, the next write to this ID will be its address

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top