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.

MSP-EXP432P401R: MSP432P401R - ADC configuration

Part Number: MSP-EXP432P401R

Hi,

I am using a function called ADCBuf_convert() to capture values. 

One thing I would like is to capture the data as single-ended rather than differential. I have tried the function ADC14_setResultFormat(ADC_UNSIGNED_BINARY) to set the ADC14DF to 0. However, during the call to ADCBuf_convert() the format gets changed back to ADC14DF to 1. I cannot see where this gets changed back. 

Can you suggest a setup/process to set the ADC14DF value to  ADC_UNSIGNED_BINARY for this call? Is there an alternative function call that can be used?

Malcolm

  • Hello Malcolm,

    Please check out the code examples provided within the SDK. One of those may help you move forward here. You can also check the driverlib documentation for the ADC_setResultFormat() for proper usage and of its possible error condition.