Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

BT818Q-R Scheda tecnica(PDF) 34 Page - Bridgetek Pte Ltd.

Il numero della parte BT818Q-R
Spiegazioni elettronici  Advanced Embedded Video Engine Datasheet
PDF  59 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  BRIDGETEK [Bridgetek Pte Ltd.]
Homepage  https://brtchip.com/
Logo BRIDGETEK - Bridgetek Pte Ltd.

BT818Q-R Scheda tecnica(HTML) 34 Page - Bridgetek Pte Ltd.

Back Button BT818Q-R Datasheet HTML 30Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 31Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 32Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 33Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 34Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 35Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 36Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 37Page - Bridgetek Pte Ltd. BT818Q-R Datasheet HTML 38Page - Bridgetek Pte Ltd. Next Button
Zoom Inzoom in Zoom Outzoom out
 34 / 59 page
background image
Copyright © Bridgetek Pte Ltd
34
BT817/8 Advanced Embedded Video Engine Datasheet
Version 1.1
Document No.: BRT_000302 Clearance No.: BRT#154
4.8.4
Extended Mode
Setting REG_CTOUCH_EXTENDED to 1b’0 enables extended mode. In extended mode a new set of
readout registers are available, allowing gestures and up to five touches to be read. There are two
classes of registers: control registers and status registers. Control registers are written by the MCU.
Status registers can be read out by the MCU and the BT817/8’s hardware tag system.
The five touch coordinates are packed in REG_CTOUCH_TOUCH0_XY, REG_CTOUCH_TOUCH1_XY,
REG_CTOUCH_TOUCH2_XY, REG_CTOUCH_TOUCH3_XY, REG_CTOUCH4_X and REG_CTOUCH4_Y.
Coordinates stored in these registers are signed 16-bit values, so have a range of -32768 to 32767.
The no-touch condition is indicated by x=y= -32768. These coordinates are already transformed into
screen coordinates based on the raw data read from the CTPM, using the matrix in registers
REG_CTOUCH_TRANSFORM_A-F. To obtain raw (x,y) coordinates read from CTPM, the user sets the
REG_CTOUCH_TRANSFORM_A-F registers to the identity matrix.
The BT817/8 tag mechanism is implemented by hardware, where up to 5 tags can be looked up.
In touch extended mode, the INT_TOUCH bit in REG_INT_FLAG register will not be set upon touch
down event. It is recommended to use INT_CONV_COMPLETE bit instead.
4.8.5
Short-Circuit Protection
For resistive touch it is useful to protect the chip from permanent damage due to potential short-
circuits on the 4 XY lines. When a short circuit on the touch screen happens, the BT818 can detect it
and stop the touch detection operation, leaving the 4 XY pins in the high impedance state.
The short-circuit protection can be enabled/disabled by the REG_TOUCH_CONFIG.
4.8.6
Capacitive Touch Configuration
On a capacitive touch system some users may need to adjust the CTPM default values, such as the
registers affecting touch sensitivity. To do this the following sequence shall be executed once after
chip reset:
-
Hold the touch engine in reset (set REG_CPURESET = 2)
-
Write the CTPM configure register address and value to the BT817 designated memory
location
-
Up to 10 register address/value can be added
-
Release the touch engine reset (set REG_CPURESET = 0)
Sample codes are listed below for configuring Focaltech touch controller:
#define FW_RD(a)
VC.rd16(RAM_JTBOOT + 2 * (a))
#define FW_WR(a, v) VC.wr16(RAM_JTBOOT + 2 * (a), (v))
void init_custom_touch(size_t num_regs, uint8_t *reg_value)
{
while (VC.rd(REG_CPURESET) != 0)
;
VC.wr(REG_CPURESET, 2);
uint16_t main = FW_RD(0) & 0xfff;
uint16_t i_set = 0x4000 | (main - 4);
uint16_t patch = main + 1;
uint16_t i_eol = FW_RD(patch);
while (num_regs--) {
uint8_t reg = *reg_value++;
uint8_t val = *reg_value++;
FW_WR(patch++, 0x8000 | val);
FW_WR(patch++, 0x8000 | reg);



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com