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.

StarterWare ADC

From Texas Instruments Wiki
Jump to: navigation, search

ADC[edit]

Introduction[edit]

The touchscreen/ADC module is an 8 channel general purpose ADC,with optional support for interleaving Touch screen onversation for 4-wire,5-wire, or 8-wire resistive panel. It also has a programable FSM sequencer that supports 16 steps.A step is a general term for describing which input values to send to the AFE,and how,when , and which channel to sample. For more information on steps please refer to touchscreen/ADC TRM.

Programing Sequence[edit]

The ADC can be programmed in the below sequence for desired operation.

  • Enable module clocks for ADC is by invoking TSCModuleClkConfig() API.
  • Multiplex AN0 - AN7 input pins invoking TouchScreenPinMuxSetUp().
  • Input ADC Clock is configured by invoking TSCConfigureAFEClock() API.
  • Step Configuration register are write protected.Thus,before configuring any step register, write protection for step configuration register must be disabled by invoking TSCStepConfigProtectionDisable()
  • Configuring Steps.
    • A step can be configured to select required input channel and refernce volatage by invoking TSCTSStepConfig()
    • A step can be configured to drive xpp,xnp and ypp pin to high,which in trun pull up the AN0-AN2 line by invoking TSCTSStepAnalogSupplyConfig().
    • A step can be configured to drive the xnn,ypn,ynn and wpn pins to low,which in trun pull down AN1-AN4 line by invoking TSCTSStepAnalogGroundConfig() API.
    • A step can configured to store data,which is an outcome after a step is applied by fsm,in either FIFO0 or FIFO1 by invoking TSCTSStepFIFOSelConfig() API.
    • A step can configured in continous or oneshort mode for software enabled or HW event mapped step.
  • ADC can be configured for differential or singled ended mode of operation by invoking TSCTSStepOperationModeControl() API.
  • AFE can be configured for 4-wire or 5-wire or as general purpose inputs by invoking TSCTSModeConfig()
  • Required steps can be enabled by invoking TSCConfigureStepEnable() API.
  • ADC is enabled by invoking TSCModuleStateSet() API.
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 StarterWare 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 StarterWare ADC here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article StarterWare ADC here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article StarterWare ADC here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article StarterWare ADC here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article StarterWare ADC here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article StarterWare ADC here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article StarterWare ADC here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article StarterWare 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