Other Parts Discussed in Thread: EV2400, BQSTUDIO
I am trying to enable/disable the external voltage divider connected to VEN (custom board, but the design is based on the EVM).
I am using bqStudio with EV2400 for these tests.
At first, the fuel gauge was not sensing a voltage. I had to change the Pin Control Config in data flash from 0x00 to 0x10 to have the voltage divider working (i.e. VEN high, divider enabled).
I tried to disable the voltage divider, following the sequence: unseal, set PCTL_EN bit, send command (through Advanced Comm) to MAC (i.e start register 3E, Bytes to write 6C 00). No change, the divider is still on. I even tried sending 00 6C to see if this particular command is big endian.
I then zeroed the VEN bit on Pin Control Config. Now, the VEN pin is never set even if I try the sequence above.
What am I doing wrong?
FWIW I can successfully send other commands through Advanced Comm, e.g. cal toggle, seal).
Thanks in advance.