Read A Display Register; Touch Controller - Infineon TC3X7 ADAS Manual

Application kit
Table of Contents

Advertisement

Application Kit Manual TC3X7 ADAS
Hardware: Application Kit TC3X7 ADAS V2.0
Application Kit Information
first 10 bit transfer
Bit 9 must be 0, this will be indicate a write access.
Bit 8 must be 1, this will be indicate an endless transfer.
Bit 7...Bit 0 is the 8 bit register number which will be written
Now you need to transfer only 16bit values for the registers. With the first 16 bit value there is no action on the
display. With the second value transfer is a write to the register started. This means after the last value you must
make a dummy transfer to write the last value.
The endless mode can only be leave by a rising edge of SCLK0 with SLSO08 set to high. This can be done by a
dummy transfer to any other chip select or by a transfer from the touch controller.
3.4.2

Read a display register

A single read from any register can be done by a 32 bit transfer of SPI. Make sure that the SLSO08 is low during the
complete transfer.
first transfer has 16 bit:
Bit 15 must be 1, this will be indicate a read access.
Bit 14 must be 0, this will be indicate a single access.
Bit 13...Bit 7 is the 8 bit register number which will be read
Bit 5...Bit 0 are dummy bits to setup the register number.
second transfer must have 26 bits:
Bit 25...Bit 16 are dummy bits which are needed to readout the register value
Bit 15...Bit 0 are dummy bits to transfer the readed value.
To speedup the reading (e.g. reading from ram of display controller) it is possible to make a endless transfer. This
is done by this:
first 16 bit transfer:
first transfer has 16 bit:
Bit 15 must be 1, this will be indicate a read access.
Bit 14 must be 1, this will be indicate an endless access.
Bit 13...Bit 7 is the 8 bit register number which will be read
Bit 5...Bit 0 are dummy bits to setup the register number.
second 10 bit transfer:
Bit 9...Bit 0 are dummy bits which are needed to readout the register value
Now you need to transfer only 16bit values for the registers. With the each 16 bit transfer you get a value. With the
last transfer you have dummy read which you don't get the result.
The endless mode can only be leave by a rising edge of SCLK0 with SLSO08 set to high. This can be done by a
dummy transfer to any other chip select or by a transfer from the touch controller.
3.4.3

Touch controller

The touch of display is connected to an Touch controller ADS7843. This controller is connected via the QSPI0 and
SLSO9 (P20.3) to the microcontroller. For more information about the delivered values from the touch controller
please see the datasheet of ADS7348.
User Manual
Application Kit TC3X7 ADAS V2.0
3-3
V2.0
2018-06

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TC3X7 ADAS and is the answer not in the manual?

Table of Contents