Other Parts Discussed in Thread: EMB1499Q
Hi,
I have a question on the DAC setting of the EMB1499,
From what I understand the EMB1499Q values for VSET range from 1V to 2.2V to indicate 2 to 5 amps of balance current. Is that correct?
That leads to a question about the DAC setting using the EMB_Vset() function. When I use the calculation for setpoint provided in this function which is:
int Setpoint = (int)(Amps/2.5/(3.2/256)) + 5;
The setpoint for the DAC will never result in a value greater than 5 (makes sense if this is the amp setting).After the SetPoint of 5 is programmed and I measure the pin with a scope, "Vset" on the EMB1499Q is only a few mV, It is not in the 1V to 2.2V range.
Should the Vset pin show a voltage of ~2V to indicate ~5amps?
Is this calculation of SetPoint correct or should the SetPoint calculation change to, for example, send a SetPoint of 0x61 which makes the Vset pin show 1.20V
Thanks,
Malcolm