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 Touchscreen

From Texas Instruments Wiki
Jump to: navigation, search

Touchscreen[edit]

Introduction[edit]

The touchscreen module is an 8 channel general purpose ADC,with optional support for interleaving Touchscreen conversation for 4-wire,5-wire, or 8-wire resistive panel. It also has a programmable 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 TRM.

Programing Sequence[edit]

  • Module clock for Touchscreen controller is enabled by invoking TSCADCModuleClkConfig() API.
  • AN0 - AN7 input pins are multiplexed by invoking TSCADCPinMuxSetUp() API.
  • Input ADC Clock is configured by invoking TSCADCConfigureAFEClock() 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 IdleStep.
    • A IdleStep can be configured to select required input channel and reference voltage by invoking TSCADCIdleStepConfig();
    • A IdleStep can be configured to drive xpp,xnp and ypp pin to high,which in turn pull up the AN0-AN2 line by invoking TSCADCIdleStepAnalogSupplyConfig() API
    • A IdleStep can be configured to drive the xnn,ypn,ynn and wpn pin to low,which in turn pull down AN1-AN4 line by invoking TSCADCIdleStepAnalogGroundConfig() API.
    • ADC can be configured for differential or singled ended mode of operation by invoking TSCADCIdleStepOperationModeControl() API.
  • Configuring ChargeStep.
    • A ChargeStep can be configured to select required input channel and reference voltage by invoking TSCADCChargeStepConfig();
    • A ChargeStep can be configured to drive xpp,xnp and ypp pin to high,which in turn pull up the AN0-AN2 line by invoking TSCADCChargeStepAnalogSupplyConfig() API
    • A ChargeStep can be configured to drive the xnn,ypn,ynn and wpn pin to low,which in turn pull down AN1-AN4 line by invoking TSCADCChargeStepAnalogGroundConfig() API.
    • ADC can be configured for differential or singled ended mode of operation by invoking TSCADCChargeStepOperationModeControl() API.
    • Charge delay is configured by invoking TSCADCTSChargeStepOpenDelayConfig() API.
  • Configuring Steps to measure x and y.
    • A step can be configured to select required input channel and reference voltage by invoking TSCADCTSStepConfig();
    • A step can be configured to drive xpp,xnp and ypp pin to high,which in turn pull up the AN0-AN2 line by invoking TSCADCTSStepAnalogSupplyConfig() API
    • A step can be configured to drive the xnn,ypn,ynn and wpn pin to low,which in turn pull down AN1-AN4 line by invoking TSCADCTSStepAnalogGroundConfig() API.
    • A step can configured to store data,which is an outcome after a step is applied by FSM,in either FIFO 0 or 1 by invoking TSCADCTSStepFIFOSelConfig() API.
    • A step can be configured in continuous or one-shot mode for software enabled or HW event mapped step by invoking TSCADCTSStepConfig() API.
    • ADC can be configured for differential or singled ended mode of operation by invoking TSCADCTSStepOperationModeControl() API.
    • Open and Sample delay for step configured by invoking TSCADCTSStepOpenDelayConfig() and TSCADCTSStepSampleDelayConfig() .
  • AFE can be configured for 4-wire or 5-wire or as general purpose inputs by invoking TSCTSModeConfig();
  • Touchscreen transistors are enabled by invoking TSCADCTransistorConfig() API.
  • Map hardware event to pen touch IRQ by invoking TSCADCHWEventMapSet() API.
  • Required steps can be enabled by invoking TSCConfigureStepEnable() API.
  • TSC 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 Touchscreen 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 Touchscreen here.

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