Microchip AR1020 Manual de Usario

Lee a continuación 📖 el manual en español para Microchip AR1020 (26 páginas) en la categoría No categorizado. Esta guía fue útil para 2 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 1/26
Microchip Technology, Inc.
AR1020-AR1021-LINUX-SPI-I2C-V102
Page 1 of 26
AR1020/AR1021 SPI/I2C Open Source Linux Driver
Documentation
Document #:
AD-110029- 200
Title:
AR1020/AR1021 SPI/I2C Open Source Linux Driver Documentation
Subtitle:
Date:
27-April-2012
Description:
This document describes the reference AR1020/AR1021 SPI-I2C driver
software developed for Linux.
Microchip Technology, Inc.
AR1020-AR1021-LINUX-SPI-I2C-V102
Page 2 of 26
Revision History
Version
Date
By
001
01/03/2011
SG
002
04/27/2012
AR
Microchip Technology, Inc.
AR1020-AR1021-LINUX-SPI-I2C-V102
Page 3 of 26
Table of Contents
AD-110029-002 ............................................................................................................................................ 1
AR1020/AR1021 SPI-I2C OPEN SOURCE LINUX DRIVER DOCUMENTATION 1...........................
1.0 INTRODUCTION ............................................................................................................................ 4
2.0 INSTALLATION OF THE DRIVER ............................................................................................. 4
2.1 P RELIMINARY STEPS ........................................................................................................................ 4
2.2 I 2C INTERFACE SPECIFIC STEPS ........................................................................................................ 4
2.2.1 Connecting the controller to the embedded board .................................................................. 4
2.2.2 Setting up the Linux kernel source ......................................................................................... 5
2.2.2.1 Automatic conguration 5 ....................................................................................................................
2.2.2.2 Manual conguration ......................................................................................................................... 5
2.2.3 Setting up the boards platform specific settings .................................................................... 6
2.3 SPI INTERFACE SPECIFIC STEPS ........................................................................................................ 6
2.3.1 Connecting the controller to the embedded board .................................................................. 6
2.3.2 Setting up the Linux kernel source ......................................................................................... 7
2.3.2.1 Automatic conguration 7 ....................................................................................................................
2.3.2.2 Manual conguration ......................................................................................................................... 7
2.3.3 Setting up the boards platform specific settings .................................................................... 8
2.4 U PDATING ARGET YSTEMT S ............................................................................................................ 8
2.4.1 Setting up debugging .............................................................................................................. 8
2.4.1.1 Increasing kernel log level using kernel parameters ........................................................................... 8
2.4.2 Overview of updating kernel on embedded target .................................................................10
2.4.3 Activating driver as kernel module ........................................................................................10
2.4.4 Verifying touch packets from driver ......................................................................................10
2.4.4.1 Monitoring kernel debug messages .................................................................................................. 11
2.4.4.2 Building inputverify application 11 ......................................................................................................
2.4.4.3 Finding a device path using inputverify ........................................................................................... 11
2.4.4.4 Reading packet data using inputverify ............................................................................................. 12
2.5 D RIVER DIAGNOSTIC TOOLS ...........................................................................................................12
2.5.1 Verifying complete driver conguration ...............................................................................12
2.5.2 Verifying controller bus data .................................................................................................13
2.5.3 Verifying/probing touch IRQ ID ...........................................................................................14
2.5.4 Setting touch IRQ using a kernel parameter ..........................................................................15
COMMAND COMMUNICATION .....................................................................................................................15
2.5.5 Controller commands from an application ............................................................................15
2.5.5.1 Leading zero on I 2C controller commands ....................................................................................... 16
2.5.5.2 I 2C inter-byte delays on host- -controller writes to ............................................................................. 16
3.0 CALIBRATION METHODS .........................................................................................................17
3.1 C ONSOLE CALIBRATION .................................................................................................................17
3.1.1 Using built- in kernel driver’s software calibration ................................................................17
3.1.2 Using controller’s hardware calibration feature.....................................................................19
3.2 C ALIBRATION UNDER THE NDROID A OS ........................................................................................20
3.2.1 Installing Android driver calibration tool package ................................................................20
3.2.2 Compiling Android calibration from source ..........................................................................22
3.2.3 Adjusting calibration inset .....................................................................................................22
3.3 T SLIB ..............................................................................................................................................22
3.3.1 Cross-compile Tslib ...............................................................................................................22
3.3.2 Setting up Tslib library ..........................................................................................................23
3.4 C ALIBRATION UNDER THE TOPIA Q OS ...........................................................................................26

Especificaciones del producto

Marca: Microchip
Categoría: No categorizado
Modelo: AR1020

¿Necesitas ayuda?

Si necesitas ayuda con Microchip AR1020 haz una pregunta a continuación y otros usuarios te responderán




No categorizado Microchip Manuales

No categorizado Manuales

Últimos No categorizado Manuales