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.

Data acquisition whit MSP432

Using 3 ADC channels I get the information from an Acelerometer, using UART I pass the information to MATLAB. But there are some doubts that I have:

1.-  Every ADC channel gets 1Msps??, that mean that in one second I am going to read 3 Mega samples in one second if I use 3 ADC channels??

2.-  I want to pass ALL that information to my computer using UART (those 3 Mega samples) , What would you recommend me to do that.

  • 1. 1 Msps is the total number of samples you can expect to record during any given second. Every ADC channel requires it's own sample and conversion sequence, therefore for a sequence-of-channels mode involving 3 channels you can expect ~333,333 samples per channel per second.
    2. The maximum baud rate (bits/second) as defined by the MSP432P401R datasheet is 3 MHz with a Vcore of 1.4 V but to reduce error you will most likely require a standard baud rate, MATLAB may be able to support 921600. This translates to a possible 115,200 bytes per second, but you will need to send two bytes for every ADC 14-bit conversion resulting in 57,600 ADC values sent per second.

    So even though you can take 1 Msps the UART is most likely limited to sending less than a sixteenth of those values. You will need to consider changing sample speeds as well as ADC resolutions.

    Regards,
    Ryan

**Attention** This is a public forum