I have a scenario where i have enabled multipoint phase and gain compensation in CONFIG0 register.
Below are my current ranges.
i have written zeroed gain (0xF8000000) to AIGAIN0, BIGAIN0, CIGAIN0 registers. AIGAIN, BIGAIN, CIGAIN, AIGAIN(1-4), BIGAIN(1-4), CIGAIN(1-4) have default reset values.
| EXPECTED | ACTUAL | |
| current with 1A | 0 | 0 |
| current with 5A | 5 | 0 |
| current with 5A, switch to 1A inbetween | 0 | 0 |
| current with 1A, switch to 5A inbetween | 5 | 0 |
The expectation is with 5A current, it should have switched to AIGAIN1, BIGAIN1, CIGAIN1 and started reading 5A current but it was reading 0A.
I followed the below sequence while writing gains.
Turn on ADE-> write gains-> set current ranges-> set configuration register-> writing RUN register.
