This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ40Z50: BQ40Z50 multiple Flag Map Set Up per one GPIO

Part Number: BQ40Z50
Other Parts Discussed in Thread: BQSTUDIO

Tool/software:

I am developing firmware for the BQ40z50 based on technical reference e BQ40z50-R5
I need the GPIO 22 (LED) to switch from logical 1 (High level) to 0 (low level) in output mode when the following events are detected:
- Switching to logical 1 bit DCOT (15 bit Safety status A+B register)
OR
- Switching to logical 1 of any bit of the Permanent failure register
OR
- Switching to logical 1 bit OT ( 6 bit temp range register)
OR
- Switching to logical 1 bit CUV (0 bit Safety status A+B register)
I have entered the following HEX addresses to fulfill these conditions
- 87f8
-970d
-9765
-9708
But the system always keeps a logical 1 on this GPIO when triggered DCOT or OT.
Can you tell me exactly where I made a mistake and how to correct the addresses in Flag Map Set Up?