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.

MSPM0L1306: REFBUFRDY, 1.4V reference, VREF-, ADC12, REFN.

Part Number: MSPM0L1306
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi,
I'm trying to find an example, documenttion or a function in the "dl_adc12.h" to enable the 1,4V internal reference and especially to connecto to the ADC12 "VREF-". I already configured the reference .syscfg in my project.
I also read that we need to wait for the 1.4V to stabilize. I will need to wait for the "REFBUFRDY" before doing a conversion.




I'm looking for a function like "DL_ADC12_SetReference()".

I'm use to MSP430 and the register was the way to configure that that I am use to do in the past.

Could you help me?

  • Hi Sebastian,

    I apologize for the delay in responding to your questions.

    You shouldn't need a separate function call to select the 1.4V ref.  Provided you enable the VREF and select 1.4v, select the reference voltage for an ADC conversion memory configuration as shown below.  If doing a sequence (more than one channel), you need to setup each one to the desired reference voltage.

    Regarding waiting for the VREF to be ready, there is a selection in Sysconfig that enables a configurable delay.

    Here is the generated Sysconfig code:

  • Thanks a lot Dennis.

    I did add more ADC channels in sequence mode. I see that the channels have an influence together. I mean that the voltage on the channel MEM0 has an influence on the voltage sampled on the next channel let say in MEM1. Is there a way to add delay. between them to avoid that the sampled channels having an influence between each other?