| Electronic Components Datasheet Search |
|
TTP239 Datasheet(PDF) 10 Page - Tontek Design Technology |
|
|
|||||||||||||||||||||||||||||
TTP239 Datasheet(HTML) 10 Page - Tontek Design Technology |
|
10 / 16 page ![]() TTP239 2016/3/7 Page 10 of 16 Version:1.1 7-2 For I2C-bus slave interface mode selection, the SLSERT pin has to be connected to VSS. At the mode the SDA pin is a serial data pin, the SCL is a serial clock input pin. The SDA and SCL pins must be pulled-high with an external resistor. And the 4-bits identify code for the TTP239 is〝 (1010) 〞. The device address is defined 10 and A0. The A0 pin has pull-high resistor internal, can be set to 0 external. The TTP239 8-bits slave device address includes 4-bits identifier, 3-bits option address and R/W bit (see the Table 7-2-1). The TTP239 IC uses the I2C-bus slave interface data transmission protocol to output the data of the touch pads (TP0~TP7 pins), so the TTP239 only accepts the read operation that R/W bit is〝 1 〞. If it is〝 0 〞, the TTP239 will not respond the write operation. Otherwise, the I2C-bus slave interface of TTP239 conforms to the communication protocols. It supports the fast mode that the maximum SCL clock frequency is 400KHz. The I2C-bus slave interface supports the following communication protocols: Bus not busy : The SDA and the SCL lines remain High level when the bus is not active. Start condition : Start condition is SDA 1 to 0 transition when SCL=1.(see figure 7-2-2) Stop condition : Stop condition is SDA 0 to 1 transition when SCL=1.(see figure 7-2-2) Data valid : Following a start condition, the data on the SDA line must be stable during the High period of SCL. The High or Low state of the data line can only change when the clock signal on the SCL line is Low.(see figure 7-2-2) ACK (Acknowledge) : An ACK signal indicates that a data transfer is completed successfully. The transmitter (the master or the slave) releases the bus after transmitting eight bits. During the ninth clock, which the master generates, the receiver pulls the SDA line low to acknowledge that it successfully received the eight bits of data. But the slave does not send an ACK if it does not successfully received the eight bits of data. In data read operations, the slave releases the SDA line after transmitting 8 bits of data and then monitors the line for an ACK signal during the ninth clock period. If an ACK is detected, the slave will continue to transmit next data. If an ACK is not detected, the slave terminates data transmission and waits for a stop condition to be issued by the master before returning to its stand-by mode. Slave Address : The identify code for the TTP239 is〝 (1010) 〞. The device address is 10 and A0 pin. Read/Write : The final (eighth) bit of the slave address defines the type of operation to be performed. If the R/W bit is〝 1 〞, a read operation is executed. If it is〝 0 〞, a write operation is executed. But the TTP239 only accepts read operation. The sequence of read data operation please see figure 7-2-1. Table 7-2-1. Slave Device Addressing Device Identifier Device Address R/W Bit Device B7 B6 B5 B4 B3 B2 B1 B0 TTP239 1 0 1 0 1 0 A0 R Note: The SDA and SCL pins have Diode protective circuit. So when use two pins of TTP239 in the I2C-bus interface system. Do not propose to use the different voltage with the other devices in the I2C-bus interface system. That avoids to occurring the leakage current in the system. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |