Post Go back to editing

Calibration Multi point Gain Switching

Category: Hardware
Product Number: ADE9000

I have a scenario where i have enabled multipoint phase and gain compensation in CONFIG0 register.

Below are my current ranges.

mtthrL0 = 0 A
mtthrL1 = 2.25 A
mtthrL2 = 26.78 A
mtthrL3 = 26.78 A
mtthrL4 = 26.78 A
mtthrH0 = 2.5 A
mtthrH1 = 26.78 A
mtthrH2 = 26.78 A
mtthrH3 = 26.78 A
mtthrH4 = 26.78 A

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.