Difference between revisions of "TSC2102"
m (→Audio) |
m |
||
(36 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | Informations about the hardware interface between the i.MXL and the TSC2102 | + | Informations about the hardware interface between the i.MXL and the TSC2102. |
==Introduction== | ==Introduction== | ||
− | This chip is a "SMART" 4-Wire Touch Screen Controller with Stereo DAC | + | This chip is a "SMART" 4-Wire Touch Screen Controller with Stereo DAC and HP Amplifier. It is used on the DevFull board but any good electronics engineer should be able to add it to its DevLight. |
+ | It is although possible to solder this chip directly on your [[LQ043_Adapt|LQ043 adapter board]], if you have one. | ||
− | == | + | ==Hardware interface with the i.MXL== |
===Touchscreen=== | ===Touchscreen=== | ||
− | Configuration and data exchange is done through the SPI bus | + | Configuration and data exchange is done through the SPI bus n°2 (SPI2).<br> |
+ | The SPI 2 port is shared with the LCD interface of the i.MXL (these signals are present on the DevLight V2 LCD connector). | ||
===Audio=== | ===Audio=== | ||
− | Configuration through | + | Configuration is done through SPI2 bus and audio data exchange through SSIA |
===Signals=== | ===Signals=== | ||
Line 16: | Line 18: | ||
{| border="1" cellpadding="5" cellspacing="0" summary="Signal connections" | {| border="1" cellpadding="5" cellspacing="0" summary="Signal connections" | ||
|- style="background:#efefef;" | |- style="background:#efefef;" | ||
− | ! ''' i.MXL ''' || ''' TSC2102 ''' || ''' | + | ! ''' i.MXL/DevLight ''' || ''' TSC2102 ''' || '''Functionality''' |
|---------------- | |---------------- | ||
− | | || SCLK || SPI clock | + | | SPI2_SCLK/'''REV''' || SCLK || SPI clock |
|---------------- | |---------------- | ||
− | | | + | | SPI2_TXD/'''SPL_SPR''' || MOSI || SPI MasterOut SlaveIn |
|---------------- | |---------------- | ||
− | | | + | | SPI2_RXD_1/'''PS''' || MISO || SPI MasterIn SlaveOut |
|---------------- | |---------------- | ||
− | | || SSn || SPI Chip select | + | | PortB 17/'''SSI1_TXDAT''' || SSn || SPI Chip select |
|---------------- | |---------------- | ||
− | | || PINT/DAVn || | + | | SPI2_SS/PortD 8/'''CLS''' || PINT/DAVn || Interrupt |
+ | |---------------- | ||
+ | | Reset (on Reset switch) || RESETn || Global reset signal | ||
|- | |- | ||
|} | |} | ||
+ | '''Remark:''' | ||
+ | * i.MXL/DevLight SPI Chip Select signals are not used by Linux SPI infrastructure; it needs multiple chip select (one for each chip connected on the bus), and so GPIOs are used for that purpose. | ||
+ | * Chip interrupt is on Port D because Port B has already some and interrupt are shared on the same port. | ||
+ | |||
+ | ==Drivers== | ||
+ | * [[TSC2102 Linux driver| TSC2102 Linux driver details ]] | ||
+ | |||
+ | ==Self-made adapter board== | ||
+ | For those who would like to test this component on their [[APF9328DevLight|DevLight]] or their custom boards, take a look at this link: http://www.farnell.fr and type '[http://fr.farnell.com/jsp/Supports+CI,+cartes+prototypes+et+protection+antistatique/Cartes+prototypes/ROTH+ELEKTRONIK/RE933-07/displayProduct.jsp?sku=1426186&_requestid=343396 1426186]' as part to search. <br> | ||
+ | This is a small pcb converting a tssop32 to 2 rows of 2.54mm holes... | ||
+ | |||
+ | ==SSI test tool== | ||
+ | [[imxssi]] | ||
==Links== | ==Links== | ||
* [http://focus.ti.com/docs/prod/folders/print/tsc2102.html TSC2102 Web page at Texas Instruments] | * [http://focus.ti.com/docs/prod/folders/print/tsc2102.html TSC2102 Web page at Texas Instruments] | ||
+ | <br> | ||
+ | |||
+ | [[Category:UserInput]] | ||
+ | [[Category:Touchscreen]] | ||
+ | [[Category:Audio]] |
Latest revision as of 20:23, 1 August 2010
Informations about the hardware interface between the i.MXL and the TSC2102.
Contents
Introduction
This chip is a "SMART" 4-Wire Touch Screen Controller with Stereo DAC and HP Amplifier. It is used on the DevFull board but any good electronics engineer should be able to add it to its DevLight. It is although possible to solder this chip directly on your LQ043 adapter board, if you have one.
Hardware interface with the i.MXL
Touchscreen
Configuration and data exchange is done through the SPI bus n°2 (SPI2).
The SPI 2 port is shared with the LCD interface of the i.MXL (these signals are present on the DevLight V2 LCD connector).
Audio
Configuration is done through SPI2 bus and audio data exchange through SSIA
Signals
i.MXL/DevLight | TSC2102 | Functionality |
---|---|---|
SPI2_SCLK/REV | SCLK | SPI clock |
SPI2_TXD/SPL_SPR | MOSI | SPI MasterOut SlaveIn |
SPI2_RXD_1/PS | MISO | SPI MasterIn SlaveOut |
PortB 17/SSI1_TXDAT | SSn | SPI Chip select |
SPI2_SS/PortD 8/CLS | PINT/DAVn | Interrupt |
Reset (on Reset switch) | RESETn | Global reset signal |
Remark:
- i.MXL/DevLight SPI Chip Select signals are not used by Linux SPI infrastructure; it needs multiple chip select (one for each chip connected on the bus), and so GPIOs are used for that purpose.
- Chip interrupt is on Port D because Port B has already some and interrupt are shared on the same port.
Drivers
Self-made adapter board
For those who would like to test this component on their DevLight or their custom boards, take a look at this link: http://www.farnell.fr and type '1426186' as part to search.
This is a small pcb converting a tssop32 to 2 rows of 2.54mm holes...
SSI test tool
Links