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.
I recently experienced an issue using the MSP430F47183. There is an external reference being used for the SD16A. I had the SD16REFON and SD16VMIDON bits explicitly cleared on my SD16A setup. This prevented me from getting a temperature reading from the on-board temp sensor.
By asserting the VMIDON bit, it gave me correct readings.
Can someone explain to me what that bit actually does. I did read in the user guide that it helps to minimize contention between the internal and externel reference voltages, but I don't understand how that affects the temperature read.
So what does the VMIDON bit really do on the SD16A, and what is the VMID buffer?
My understanding is as follows.
(a) If you want to use the internal ref., set REFON=1 and connect a bypass cap. to Vref pin. Optionally, you can also set VMIDON=1 and use Vref pin to supply the buffered internal ref. for external use at Vref pin.
(b) If you want to use an external ref., connect it to Vref pin and set both REFON=0 and VMIDON=0. But you cannot use the internal temperature sensor under this setting. You have to use the internal ref. when you try to read the temperature sensor.
(c) If you want to measure the temperature sensor, you have to set REFON=1 and you have to use the internal ref. But if Vref pin is currently connected to an external ref., there will be contention between the internal ref. and the external ref. To avoid this contention, you may set VMIDON=1 to put a buffer between the two. The internal ref. will thus win the war and be used as the ref.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to old_cow_yellow:
For using the temperature sensor, since it is dirven by the internal reference and auto-enables teh internal reference if used, even if AD16REFON isn't set, teh internal reference is active. If VMIDON is clear, the reference output and VREF pin are directly connected, so one is overridden by the other, most likely the eternal reference wins, while current consumption will probably much higher than expected. However, the temeprature sensor data are only correct for the internal reference voltage. Any different applied voltage (whcih woudl be the only reason for an external reference) would significantly change the sensor readings.If VMIDON is set, the VREF pin is switched to the buffer output. Now the internal reference is no longer fighting the external one and the temperature sensor works. However, the external reference is now fiughting the reference buffer driver, which has no effect but raising the current consumption even more.
Other MSPs have separate VREF and VeREF pins, but this one doesn't: external reference can only be used when internal one is off, and using the temperature sensor requires/enables the internal reference. That's the way it is.
However, the users guide does not state that using the temperature sensor will auto-enable the internal reference. However, your observations imply this as most likely explanation.Another possible explanation could be that the itnernal reference is indeed off, but powered by backwards current that are fed through the reference buffer and are pulled down to reference voltage (a scenario where the reference 'wins' whiel being backwards powered by the weakened external reference. In this case, this might even permanenlty affect the performance of the reference output buffer, depending on actual voltages.
Time to say goodbye - I don't have the time anymore to read and answer forum posts. See my bio for details.Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.I'm sorry that I can no longer provide help in the forum or by private conversation.
In reply to Jens-Michael Gross:
Just for whatever it is worth. Our new MSP430F47187 board design has problems with the ADC I can't explain even after many readings and experiments with setting bits. We have seen readings swing wildly - worse when we do not start up with JTAG - but I have noticed that setting VMIDON seems to reduce our problems
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.