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.

MSP430: Properly configuring the ADC module

Other Parts Discussed in Thread: MSP430G2553

How can I determine the 10-bit ADC setting of the MSP430 microcontroller. The ADC should perform periodic polling of 4 external channels with a sampling frequency of each channel of 50 kHz. The microcontroller clocking frequency is 4 MHz.

  • Code examples (.ZIP file) can be found under "Tools and Software" on the product page for your particular device (e.g. MSP430G2553). Different MSP430 variants have (in general) different examples.

    The index is in C/Readme.Txt. If there's one named "adc10_10.c" that's probably a good bet.
  • Hi Alex,

    to start your ADC configuration you can follow Bruce's advice and check for code examples. These can also be found in the TI Resource Explorer, browsing for the device you plan to use and then checking for ADC examples.

    Besides, please also check the device family User's Guide, which can be found on the Product Folder of the device you plan to use.

    Best regards,

    Britta

  • Hi Alex,
    go to your MCU Family User's Guide ADC10 section.
    Your need to calculate how long sample & hold and conversion would take.
    My first impression is that 4 channels @50 kHz each and MCU @4 MHz is unachievable.

**Attention** This is a public forum