BU9929FV Multimedia ICs I2C BUS interface, general purpose I/O ports with condition watching function BU9929FV 2 ROHM’s GPIO is a general-purpose IO that contains I C BUS interface. It also contains monitoring function that conveys 2 a change of the signal level in terminal to the host system via interrupt terminal or I C BUS. !Applications 2 Notebook PC, PC, VCR, TV etc. and other systems with I C BUS. !Features 2 1) I C BUS interface 2) General purpose I/O port 16bits 3) State monitoring function to monitor all terminals 2 4) State detection signal serial output by I C BUS master function 5) Output port of state detection signal 6) State detection ON/OFF setting input port during the default status 7) 32.768kHz clock input 8) Power supply voltage 3.3V / 5.0V !Absolute maximum ratings (Ta=25°C) Parameter Symbol Limits Unit VDD 7.0 V Supply voltage Pd 640 mW Operating temperature Topr −15 to +75 ˚C Storage temperature Tsig −55 to +125 ˚C Terminal supply voltage VIN GND−0.5 to VDD+0.5 V Power dissipation ∗Temperature derating : 6.4mW/˚C over Ta=25˚C Radiation resistance is not included in the design. Rohm CO., Ltd is a licensee of I2C BUS from Philips Semiconductors. !Recommended operating conditions (Ta=25°C) Parameter Min. Typ. Max. Unit Operating supply voltage range 3.0 − 5.5 V 1/11 BU9929FV Multimedia ICs !Block diagram #RES DEFAULT STATUS DS CLK TIMING GENERATOR SDA TIMING CONTROLLER I2C BUS INTERFACE SCL EDGE DETECT BLOCK DATA LATCH BLOCK INT SLAVE ADDRESS 2 BITS AD0 PIO BUFFER PIO15 PIO8 PION7 PION1 PION0 AD1 SCL 1 28 VDD SDT 2 27 CLK DS 3 26 RESB TEST0 4 25 PIO15 PION0 5 24 PIO14 PION1 6 23 PIO13 PION2 7 22 PIO12 PION3 8 21 PIO11 PION4 9 20 PIO10 PION5 10 19 PIO9 PION6 11 18 PIO8 INT 12 17 TEST1 PION7 13 16 AD1 GND 14 15 AD0 2/11 BU9929FV Multimedia ICs !Pin description Pin. No Pin. Name 1 2 SCL SDT 3 DS 26 RES# Reset terminal Reset condition by "L" input PION Nch open drain standard input/output terminal. Input at TTL level. This waits for condition detection function of input. Output will be Hi-Z at Shut Down mode. 5V input is possible when this IC is operated by 3.3V. 18-25 PIO Standard input/output terminal. Input at TTL level. This waits for condition detection function of input. Output will be Hi-Z at Shut Down mode. 14 GND GND terminal 5-11,13 I/O circuit Pin Description I2C BUS Input/Output terminal To set condition detection mode at default state 3/11 BU9929FV Multimedia ICs Pin. No Pin. Name I/O circuit Pin Description 12 INT Output terminal for condition change detection. Nch open drain output. 27 CLK Clock input terminal. 32.768KHz should be put. At Shut Down mode, clock supply into this IC will be shut down. 28 VDD Power terminal. 3.3V/5.0V should be put in. 15 16 AD0 AD1 Input terminal for setting of I2C BUS Slave address lower 2 bits. 4 TEST0 IC TEST Pin. "L" Input required for normal operation. 17 TEST1 IC TEST Pin. "L" Input required for normal operation. 4/11 BU9929FV Multimedia ICs !Electrical characteristics (Unless otherwise noted, VDD=5.0V, Ta=25°C) Parameter Circuit current (Normal) Symbol Min. Typ. Max. Unit IDD − 6.0 30 µA CLK=32.768Hz Conditions 28 Test Pin No. Shut Down Mode 28 Circuit current (Shut down mode) IDS − 0.1 2.0 µA "H" Level input voltage 1 VIH1 VDD×0.7 VDD VDD+0.5 V 1, 2 "L" Level input voltage 1 VIL1 −0.5 0.0 VDD×0.3 V 1, 2 "H" Level input voltage 2 VIH2 2.5 VDD VDD+0.5 V 3, 4, 15-17 "L" Level input voltage 2 VIL2 −0.5 0.0 0.8 V 3-5, 11, 13 15-27 "H" Level input voltage 3 VIH3 2.5 VDD 5.5 V 5-11, 13 "H" Level input Current IIH 2.0 0.0 1.0 µA 3-5, 11, 13 15-27 "L" Level input Current IIL −1.0 0.0 − µA 3-5, 11, 13 15-27 VSOH 4.4 4.8 5.0 V "L" Level output voltage 1 VSOL 0.0 0.2 0.6 "L" Level output voltage 2 VCOL 0.0 0.2 0.6 "H" Level output voltage I2C Fall time TFIC − 100 250 IOH=4mA 18-25 V IOL=4mA 5-13, 18-25 V IOL=6mA 1, 2 ns IOL=6mA 1, 2 CL=400pF 5/11 BU9929FV Multimedia ICs 2 I C BUS Interface characteristics (Unless otherwise noted, VDD=5.0V, Ta=25°C) •Slave address 0 1 1 1 1 A1 A0 MSB R/W LSB A0 and A1 are set by input terminals of AD0 and AD1 as follows; When AD0 / AD1=H, A0 / A1=1 When AD0 / AD1=L, A0 / A1=0 2 •Conforming to I C BUS standard Parameter SCL clock frequency Start condition hold time Min. Max. Unit f SCL 0 400 kHz t HD : STA 0.6 − µs Symbol Start condition set-up time t SU : STA 0.6 − µs Data set-up time t SU : DAT 100 − ns Data hold time t HD : DAT 0 0.9 µs Stop condition set-up time t SU : STO 0.6 − µs (Start Timing) SCL SDA t SU : STA t HD : STA (Data Timing) SCL SDA t SU : DAT t HD : DAT (Stop Timing) SCL SDA t SU : STO 6/11 BU9929FV Multimedia ICs 1. Data write mode St SLAVE ADDRESS W A COMMAND BYTE A WRITE DATA 1 PION7 − PION0 A WRITE DATA 2 A Sp PIO15 − PIO8 Command register : At reset, D0 to D7 are ”0”. D7 D6 SHT DWN INT SEL D5 D4 DOUT SEL OUT ON D3 DIR ON D2 D1 D0 BYTE SEL EDGE SEL DET ON D7 : Shut Down mode 0 : Shut down mode off (Normal operation mode) 1 : Shut down mode on D6 : INT output method choice 0 : LOW output 1 : Output of LOW pulse equivalent for one period of CLK D5 : Detection result output choice 0 : Serial output. INT pin is also valid. 2 1 : Serial output (I C MASTER function) off. Only INT pin is valid. D4 : Output port writing set 0 : Writing invalid 1 : Writing valid. But, a port, which is indicated as input, is invalid. Following Write data 2byte-0 : “L” output, 1 : “H” output D3 : I / O direction set 0 : Direction set invalid 1 : Direction set valid Following Write data 2byte-0 : input, 1 : output D2 : Watching object input choice 0 : PION0 to PION7 1 : PION8 to PIO15 D1 : Change detection mode 0 : Falling edge 1 : Both rising and falling edge D0 : Input port condition watching mode 0 : Invalid 1 : Valid 7/11 BU9929FV Multimedia ICs 2. Data read mode 2 According to the following format, input/output value of PIO/PION pins can be read by I C interface. PIO data read St SLAVE ADDRESS R A READ DATA 1 A READ DATA 2 PION7 − PION0 A Sp PIO15 − PIO8 PIO part block diagram (PIO part block diagram) I2C BUS Output Buffer Command D4 Output Register Command D3 I / O select Selector IC PAD Shut Down Read Mode Input Register Input Schmitt Input Port sampling timing As shown below, BU9929FV is sampling for Input Ports with the rising edges of CLK. Therefore it is necessary that Input Ports are keeping at least 1 CLK cycle, for their certain inputs. Watching Ports F6 C7 AA CLK 8/11 BU9929FV Multimedia ICs 3.Condition change detection result output mode 2 1) This IC becomes I C master device, and the detection result is sent according to the following format; 2Byte Watching St 0 0 0 1 0 0 0 W A SLAVE ADDRESS +0 A WRITE DATA 1 A WRITE DATA 2 PION7 − PION0 A Sp PIO15 − PIO8 1Byte Watching St 0 0 0 1 0 0 0 W A SLAVE ADDRESS +0 A WRITE DATA 1 A Sp PION7 − PION0 <DATA Keeping Operation> In a case that there is a change in detection port during detection result transmission, then watching data is saved by the end of detection output, and it will be proceeded further after the detection output is finished. However, the output data in this case will be “AND” output of every bits of the watching data. Watching Ports FE FC F0 In the case of Arbitration; Output is delayed Output for I2C BUS FE F8 AND Output of every bits of the watching data FC F0 2) DS pin Description 2 By DS pin, valid/invalid of condition detection of the default condition (from RESET release to reception of the first I C command) can be set. <DS pic valid range> 2 In the range from RESET release to the first set of condition detection mode by I C command, the set of this pin will be 2 2 valid. After the set of condition detection mode by I C command, this pin will be invalid, and the set by I C commanded will be reflected. <Pin setting> DS pin= “H” : Input bit condition detection mode is valid. But, 1 byte detection mode (only PION7-PION0 will be in condition detection) DS pin=“L” : Input bit condition detection mode is invalid. 9/11 BU9929FV Multimedia ICs 3)INT pin specification When condition watching mode, INT output pin works for reporting of detection of watching port. (a) When command D6=0(including default time after RESET release) 2 INT pin falls when detection of watching port is received. And INT pin rises after ACK-output which is on the I C Data read. Watching Ports F8 CLK Output for I2C BUS St SLAVE ADDRESS A OUTPUT "F8" INT OUTPUT In the case that there is a change in detection ports once, and there are another changes before returning the ACK (as shown “A term”), then watching data is saved. And the output data in this case will be “AND” output of every bits of the watching data. Watching Ports F6 C7 A4 " A term" Output for I2C BUS St SLAVE ADDRESS R A OUTPUT "84" OUTPUT "84hex data" which is the result of AND data for "F6", "C7" and " A4". CLK INT OUTPUT 10/11 BU9929FV Multimedia ICs (b) When command D6=1 INT pin outputs ”I clock cycle pulse” when detection of watching port is received. In the case that the output data is the data whish is sampled immediately before the returning ACK. Watching Ports 78 Output for I2C BUS AA St SLAVE ADDRESS R A OUTPUT "AA" Data "78h" is not kept, the output data is immediately before sampled data. CLK INT OUTPUT CLK 1 cycle pulse 4. Shut down mode By command D7=1, this IC can be set to Shut down mode, which can save current consumption. At Shut down mode, operation of CLK input pin will be stopped, and input of CLK into this IC can be shut down. Also, for every PIO/PION pins, pins under output condition will be saved as Hi-Z. At Shut down mode, condition-watching function can not be used. Contents of each register before shut down will be saved by the shut down release. !External dimensions (Unit : mm) 10.0±0.2 15 1 0.65 0.15±0.1 1.15±0.1 0.1 7.6±0.3 5.6±0.2 28 14 0.22±0.1 0.3Min. 0.1 SSOP-B28 11/11 Appendix Notes No technical content pages of this document may be reproduced in any form or transmitted by any means without prior permission of ROHM CO.,LTD. The contents described herein are subject to change without notice. The specifications for the product described in this document are for reference only. Upon actual use, therefore, please request that specifications to be separately delivered. Application circuit diagrams and circuit constants contained herein are shown as examples of standard use and operation. Please pay careful attention to the peripheral conditions when designing circuits and deciding upon circuit constants in the set. Any data, including, but not limited to application circuit diagrams information, described herein are intended only as illustrations of such devices and not as the specifications for such devices. ROHM CO.,LTD. disclaims any warranty that any use of such devices shall be free from infringement of any third party's intellectual property rights or other proprietary rights, and further, assumes no liability of whatsoever nature in the event of any such infringement, or arising from or connected with or related to the use of such devices. Upon the sale of any such devices, other than for buyer's right to use such devices itself, resell or otherwise dispose of the same, no express or implied right or license to practice or commercially exploit any intellectual property rights or other proprietary rights owned or controlled by ROHM CO., LTD. is granted to any such buyer. Products listed in this document use silicon as a basic material. Products listed in this document are no antiradiation design. The products listed in this document are designed to be used with ordinary electronic equipment or devices (such as audio visual equipment, office-automation equipment, communications devices, electrical appliances and electronic toys). Should you intend to use these products with equipment or devices which require an extremely high level of reliability and the malfunction of with would directly endanger human life (such as medical instruments, transportation equipment, aerospace machinery, nuclear-reactor controllers, fuel controllers and other safety devices), please be sure to consult with our sales representative in advance. About Export Control Order in Japan Products described herein are the objects of controlled goods in Annex 1 (Item 16) of Export Trade Control Order in Japan. In case of export from Japan, please confirm if it applies to "objective" criteria or an "informed" (by MITI clause) on the basis of "catch all controls for Non-Proliferation of Weapons of Mass Destruction. Appendix1-Rev1.0