Other Parts Discussed in Thread: BQSTUDIO, BQ27621-G1
I believe I've found mistake in IC's datasheet : https://www.ti.com/store/ti/en/p/product/?p=BQ27421YZFR-G1B RevE .
On page 11 , Table 2 , there is statement that Command TOGGLE_GPOUT (0x0023) is accessible when device is in SEALED.From this, I understood that TOGGLE_GPOUT could be applied when CONTROL_STATUS [SS] = '1' .
But in practice , the command TOGGLE_GPOUT(0x0023) accessible when device is UNSEALED i.e. CONTROL_STATUS [SS] = '0'
Later , this fact also confirmed with bqStudio : ,
when I tried understand why GPOUT is not toggled as expected .
For misunderstanding avoidance : I set opConfig register to 0x05D8 and applied BAT_INSERT: 0x000C command ,before applying TOGGLE_GPOUT .