This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
what is the accuracy Vref? Vref = VDD or is it Reference? In many examples, for 1.65V is used VDD/2.
Thank you.
Andrew.
Andrew,
The ideal internal VREF would give a Full Scale Range (FSR) of 0V - 3.3V; that is why the examples are referring to the 1.65V figure as 1/2 of the FSR.
However, from device to device and over the full operating range of a device there will be gain and offset errors to the ideal range as shown here: http://www.ti.com/product/TMS320F28027/datasheet/detailed-description#litSPRS230-0491 .
Finally, this is not dependent on the VDDIO or VDDA voltage to the F28027, but rather created by an internal band gap reference that does not have a direct relationship to the supply rails.
There is an option, using VREFHI pin, to supply an external reference; in which case you could have something that moved with the VDDIO/VDDA if that was the desired behaivor.
Best,
Matthew
Thank you, But, what will VREFHI look like if the power supply of the CPU is 3.2V or so?
Andrew,
Across the operating range of the device, the internal VREF will try to maintain a FSR of 0 - 3.3V. So, even while the external supply moves, the FSR should be considered "unchanged". The deviation from ideal that I mentioned in the previous post is largely due to temperature drift of the internal bandgap, rather than influence of the external rail moving.
A few things I forgot to mention wrt this:
1)With the ADC on this device, the internal VREF does not come out to a pin for observation.
2)On all F2802x packages/pinouts VREFHI is ganged with ADCINA0. So if you want to use VREFHI to input an external reference then you lose an ADC input.
Best,
Matthew
For example. I make the controller 50A. Worst Case scenario. VDDA 3.2V, Gain 33, Rshunt 0.001. for the current amplifier VDDA / 2 = 1.6V. The current measurement is -48.48A-51.51A. :( . The maximum I can use the controller is only up to ~ 48A. :( To ensure 50A I need to reduce the gain to 30.
USER_IQ_FULL_SCALE_CURRENT_A (52.0)
USER_ADC_FULL_SCALE_CURRENT_A (110.0)
I_A_offset (1.666)
it's a pity! that the TI does not describe the internal bandgap. I would not have a stupid question. :) I will do both versions with REF2033 or REF2030 and VDDA/2 and then decide what to leave.
Best,
Andrew