NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

CC3200 ADC

From Texas Instruments Wiki
Jump to: navigation, search
Cc31xx cc32xx return home.png
Cc32xx return sample apps.png

Overview[edit]

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

Application details[edit]

The application is a reference to usage of ADC DriverLib functions on CC3200. Developer/User can refer to this simple application and re-use the functions in their applications.

adcdemo: This command allows the user to excercise the ADC funcitonality on CC3200. The command needs one parameter adc_inputpin. - adc_inputpin is the pin to which analog signal is connected, the value can be 58 or 59 or 60.

Setup of signal genearator for generating analog signal:

  • Waveform - Select any suitable waveform - Sine,square,Ramp
  • Input Frequency - As ADC reaches nyquist rate at 31250 Hz, Input frequency should be between 50 Hz-30 KHz.
  • Input Amplitude - Low Level should be greater than 5 mV and high level should be less than 1.45 V.
  • Note - If there is a setting in the signal/function generator the change the output termination impedance of signal/Function generator to Infinite/High Z

Source Files briefly explained[edit]

  • main.c - The main file that contains the core-logic for analog to digital conversion. The functions in the file uses DriverLib calls to perform analog to digital conversion.

Supporting files

  • adc_userinput.c - The function in the file reads the input from the user, parses the input string and feed the core-logic functions in the main.c
  • pinmux.c - Generated by the PinMUX utility. UART0 pins are brought out in this file.
  • startup_ccs.c - CCS related functions
  • startup_ewarm.c - IAR related functions
  • uart_if.c - Functions to display information on UART

Usage[edit]

  1. Setup a serial communication application (HyperTerminal/TeraTerm). For detail info visit Terminal setup
    On the host PC, open a hyperterminal, 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 (/IAR/CCS).
    • Flash the bin
    • Open the project in IAR/CCS. Build and download the application to the board
  3. On the Hyperterminal, a prompt appears
    • The ADC commands need to be issued and the results can be seen
Adc screenshot.png


Limitations/Known Issues[edit]

None.

Links[edit]

{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3200 ADC here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3200 ADC here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3200 ADC here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3200 ADC here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3200 ADC here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 ADC here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 ADC here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3200 ADC here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3200 ADC here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity