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.

CCS/MSP432P401R: MSP432P401R ADC14 SAMPLE AND CONVERSION CLARIFICATION WITH DRIVERLIB

Part Number: MSP432P401R

Tool/software: Code Composer Studio

I am looking at an application where i need to implementing an algorithm on samples obtained simultaneously from a pair of inputs. Can the ADC14 module be used with driverlib?

To clarify, when 2 external inputs are used, which of the following occurs:

a) The sample and hold module samples all inputs simultaneously but conversion occurs one after the other with each channel result stored in a separate memory buffer.

b) The sample and hold module will perform a full sample and convert cycle on one input channel, then proceed to perform another sample and convert cycle on the next channel.

Approach a) will be ideal for my algorithm. 

  • David,

     Figure 22-1 in the MSP432 Technical Reference manual (below) shows that the sample-and-hold unit is AFTER the multiplexer. Thus, the sample and hold operates on only 1 channel at a time. If you want to sample 2 channels simultaneously, then you would have to either sample them quickly back-to-back if your application can tolerate the (~1us) time offset of doing this, or take 3 samples (in the pattern Ch.A, Ch.B, Ch.A) and interpolate to get the approximate A value that would exist at the time that Ch. B is sampled.  

    Regards,

      Bob L.

  • Thanks for the response

**Attention** This is a public forum