Table of Contents


The ADC peripheral converts a continuous analog voltage to a discrete digital number. The CC3200 device includes ADC modules with four input channels. Each ADC module features 12-bit conversion resolution for the four input channels. It supports a sampling rate of 16 μs per channel.

Application details

This application is a reference for usage of ADC DriverLib functions on CC3200. Developers can refer to this simple application and re-use the functions in their applications.

adcdemo: This command allows the user to exercise the ADC functionality on CC3200. The command needs one parameter . is the pin to which analog signal is connected. This can 58, 59, or 60. (Pin 57 can also be used for the ADC, but this example uses this pin by default for UART RX.)

Setup of signal generator for generating analog signal:

Note - If there is an output termination impedance setting on the signal/function generator, change it to infinite/High Z

Source Files briefly explained


  1. Setup a serial communication application. Open a serial terminal on a PC with the following settings:
    • Port: Enumerated COM port
    • Baud rate: 115200
    • Data: 8 bit
    • Parity: None
    • Stop: 1 bit
    • Flow control: None
  2. Run the reference application.
    • Open the project in CCS/IAR. Build the application and debug to load to the device, or flash the binary using UniFlash.
  3. A prompt will appear on the terminal. Enter the adcdemo command with your chosen input pin as shown above.

Limitations/Known Issues