Other Parts Discussed in Thread: BQSTUDIO
Tool/software:
Dear TI Technical Experts,
I am encountering an issue with the ADSCAN function and ALERT pin on the bq76952 chip during my project development and would appreciate your assistance.
Problem Description:
I have configured the ALERT pin for alarm functionality and enabled the ADSCAN feature. Upon completion of the measurement loop, the ADSCAN alarm is triggered, and the ALERT pin remains in the high state. According to the manual, I attempted to clear the alarm status by writing specific values to the 0x62 Alarm Status() register, specifically using a “1” to reset the needed alarm bits while keeping all other bits at “0”. However, writing 0x02 to 0x62 does not clear the ADSCAN alarm, and the ALERT pin continues to stay high.
During my attempts to resolve this issue, I found that the ALERT pin only switches to low when all bits in the Default Alarm Mask are set to 0.
Additional Information:
- My bq76952 is controlled by an hc32 microcontroller, with the MCU pins set for external interrupts.
- I have double-checked the address and values written against the official example code, and they logically seem correct.
Attached is a screenshot of my current configuration in bqstudio, which might provide more clues.
Thank you for your time and assistance. I look forward to your response.
Best regards,
[Darluu]