KS7308 FCM GENERAL DESCRIPTION FCM(Frequency Conversion Memory) is the high speed line memory that has two 1024X10bits memory banks. KS7308 is designed as low power consumption by CMOS technology. KS7308 is used for camcorder with digital image stabilizer feature. 48-QFP-0707 FEATURES - 1024X10bits 2 bank Line memory. - Independent Read/Write Operation. - Programmable Read Start Address and Write Start Address. - HD Pre-counter for Horizontal blanking. - Serial-Interface Circuit - CMOS Double metal technology - 5V Power supply ORDRING INFORMATION Device KS7308 Package Operating Temperature 48-QFP-0707 0 ~ 70°C BLOCK DIAGRAM 10 10 DIO- DI9 (from A/D) DO0 - DO9 ( to DCP ) WCK (from TG) RCK (from TG) WEN (from TG) HD (from TG) Momory Momory Bank Control VD (from TG) RSTN(from external) HOE TEST1 TEST2 ACTO NTTO SCS (from MICOM) SCK (from MICOM) SI (from MICOM) SO (from MICOM) SIO ( Serial I/O ) TOPC KS7308 FCM PIN DESCRIPTION PIN NO. 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 Symbol VDD1 WCK RCK WEN HD VD VDD3 GND3 RSTN SCSN SCK SI SO DO0 DO1 DO2 DO3 DO4 VDD4 GND4 DO5 DO6 DO7 DO8 DO9 HOE NTTO ACTO TOPC VDD5 GND5 TEST0 TEST1 VDD6 GND6 DI9 DI8 DI7 DI6 DI5 DI4 VDD1 GND1 DI3 DI2 DI1 DI0 GND2 I/O I I I I I I I I I O O O O O O O O O O O O O O I I I I I I I I I I I I I - Description Power Supply (5V) Memory write clock from TG Memory read clock from TG Memory write enable from TG Horizontal Driving pulse from TG Vertical Driving pulse from TG Power Supply (5V) Ground Reset SIO enable from MICOM SIO clock from MICOM SIO data input from MICOM SIO data output to MICOM Data output bit0 Data output bit1 Data output bit2 Data output bit3 Data output bit4 Power Supply (5V) Ground Data output bit5 Data output bit6 Data output bit7 Data output bit8 Data output bit9 Horizontal odd/even signal output Test output (Vin test) Test output (Vin test) Test input (ACTO control) Power Supply (5V) Ground Test input (Mode control) Test input (Mode) Power Supply (5V) Ground Data input bit9 Data input bit8 Data input bit7 Data input bit6 Data input bit5 Data input bit4 Power supply (5V) Ground Data input bit3 Data input bit2 Data input bit1 Data input bit0 Ground Note vdd5p vdd5i vssi vdd5o vsso vdd vdd5o vdd5p vssp vdd5i vssi vssp KS7308 FCM TEST1 0 0 1 1 TEST0 0 1 0 1 TEST Mode Normal operation Memory Function Test SRAM-A Read/Write Test SRAM-B READ/Write Test PIN ASSIGNMENT D I 9 G N D 6 36 35 V D D T E S T I T E S T 0 G N D 5 V D D T O P C A C T O N T T O H O E D O 9 34 33 32 31 30 29 28 27 26 25 D 18 37 24 D O 8 D 17 38 23 D O 7 D 16 39 22 D O 6 D 15 40 21 D O 5 D 14 41 20 G N D 4 KS7308 ADD1 42 19 V D D 4 GND1 43 18 D O 4 D 13 44 17 D O 3 D 12 45 16 D O 2 D 11 46 15 D O 1 D 10 47 14 D O 0 GND2 48 13 S O 1 2 3 4 5 6 7 8 9 10 11 12 V D D 2 W C K R C K W E N H D V D V D D 3 G N D 3 G N D 3 S C S N S C K S I KS7308 FCM ABSOLUTE MAXIMUM RATINGS Characteristics Storage temperature Operating temperature Supply voltage Input voltage Symbol Tstg Topr Vdd Vin Rating -40 ~125 0 ~ 70 -0.3 ~ 7.0 -0.3 ~ Vdd +0.3 ELECTRICAL CHARACTERISTICS (Vdd = 4.75 ~ 5.25V Characteristics Low level input voltage High level input voltage Low level output voltage * 1 Low level output voltage * 2 High level output voltage * * 1, 2 Input Low current Input High current Output leakage current Supply current * NOTE : 1 = NTTO,ACTO * 2 = SO, DO [ 9 : 0 ], HOE Symbol VIL VIH VOL1 Condition Unit °C °C V V Ta = +25°C) Typ - Max 0.3Vdd IOL = 4mA Min 0.7Vdd - 0.4 Unit V V V VOL2 IOL = 1mA - - 0.4 V VOH IOH = 1mA 2.4 - - V IIL IIH IOZ Idd Vin = Vss(Gnd) Vin = Vdd -10 -10 -10 - - +10 +10 +10 40 uA uA uA mA Vin = Vdd KS7308 FCM AC ELECTRICAL CHARACTERISTICS tcpw WCK RCK tchp tclp tds tdh DI tac DO Vdd = 5.0 V Characteristics Clock cycle time Clock high time Clock low time Write data hold time Write data set up time Data access time Symbol tcpw tchp tclp tdh tds tac Min 54 20 20 0 10 Max tscy 40 Unit ns ns ns ns ns ns tscy : SCK clock CL = 75pF KS7308 FCM SCSN tshd tscn tscy SCK twl twh tsds tsdh SI tsdft tsac SO Vdd = 5.0 Characteristics Serial clock cycle time Serial clock high time Serial clock low time Serial data hold time Serial data set up time Serial data set access time Serial daa floating time SCSN set up time SCSN hold time Symbol tscy twh twl tsdh tsds tsac tsdft tscn tshd Min 2 700 700 30 30 Max 500 20 30 30 Unit us ns ns ns ns ns ns ns ns Condition KS7308 FCM HD tvdh tvdh VD VD tweh WEN Vdd = 5.0V Characteristics VD level hold time WEN level hold time Symbol tvdh tweh Min 4 5 Max Unit RCK RCK Condition RCL clock RCK clock KS7308 FCM OPERATING FCM has a SIO which is connected to DIS-MICOM. This SIO type can take 4wire type serial commuication with DISMICOM. MICOM can read the status of serial communication error such as parity error and Stop - Byte error. Read start address should contain a zoom value and a motion vecter calculated by DIS -MICOM. FCM starts to out data regarding ot the contents of the read start address resister. Thus, by setting proper read start address, Digital Image Stabilizer can be realized in a hoizontal direction. FCM has a HD precounter also to eliminate unnecessary data count in the memory bank. 1. DATA ACCESS FCM supports normal 4 wired serial interface. The serial data is shifted from the MSB side. There are 6 resisters with 8 bit. These are : (1) SMOD (Serial Mode Resister) (2) Read start address reister (2 Byte) (3) Writer start address resister (2 Byte) (4) HD precounter resister (1 Byte) When user want to change one of above register contents, always user has to provide whole contents of each registers. And STOP Byte should follow. Thus, user has to send total 7 Byte data per each serial communication. For read only status register is valid for normal operation to check SIO operation condition. Buffer SI S P Dec R/W fag Timing VD Status W Reg R KS7308 FCM 2. SIO REGISTER [Register diagram] SMOS resister (lst Byte) MSB 0 0 0 0 LSB RE WE 0 0 group address RE = 0, WE = 1 : Write enable (Write to register) RE = 1, WE = 0 : Read enable (Read from counter outupt without UD bit) RE = 0, WE = 0 : No operation RE = 1, WE = 1 : Prohibited Read start address register (2 Byte) Defines read start position in the bank memory. (2nd Byte) MSB 0 0 0 A6 A5 MSB A7 UD = 0 : Ciybter increment 0 LSB 0 UD A9 A3 A2 A1 (3rd Byte) A4 A8 LSB A0 UD = 1 : Counter decrement Write start address register (2 Byte) Defines write start position in the bank memory (4th Byte) MSB 0 0 0 A6 A5 MSB A7 0 LSB 0 0 A9 A2 A1 (5th Byte) A4 A8 LSB A3 A0 HD control register Control to start read address counter incrementation from rising edge of HD. (6th Byte) MSB D7 Stop Byte D6 D5 1 1 MSB 1 D4 LSB D3 D2 D1 (7th Byte) 0 D0 LSB 0 1 0 P : Even parity P KS7308 FCM 3. MICOM DATA WRITE (1) First data (SMOD) will entr to S/P buffer from SI for Command decoding. To specify write mode, W - bit has to be set “1” then. FCM is configurated to accept write access from MICOM. (2) 4 Address data and HD control data will be written to Serial buffer. (3) Last data (Stop Byte ) in S/P will be checked such as Stop code and even parity. (4) Data in serial buffer will be transferd to internal register at VD rising edge. [Timing diagram ] SCSN 8 clocks 8 clocks SCK 40 clocks SI 0000W 5 Byte data stop SO 4. MICOM Data Read (1) First data (SMOD) will enter to S/P buffer from SI for Command decoding. To specify read mode, R - bit has to be set “1” then. FCM is configured to accept read operation by driving SO. (2) 4 counter values (Read Address counter ; 2 Byte, Writer Address counter ; 2 Byte,) and HD counter value are read out to SO pin. [Timing diagram ] SCSN 8 clocks SCK 40 clocks Floating area Floating area SI refer to Electrical spec 0000R Floating area SO Floating area 5Byte data KS7308 FCM 5. SIO STATUS READ There is one status register to be read out by MICOM. There are 2 bit flags whigh are PE and WF respectivity. The MICOM should check this status to test. (1) Serial communication is successfully completed or not. (2) Setting data are loaded into each register or not. It is up to user to judge this flag or not. [ Timing diagram ] refer to electrical spec SCSN SCK 8 clocks 8 clocks Floating area Floating area SI 1111R Floating area Floating area SO status [ Status register diagram ] ( lst Byte ) MSB Command 1 1 1 1 LSB RE WE 0 0 group address RE = 1, WE = 0 : Read enable RE = 0, WE = 1 : Prohibited RE = 0, WE = 0 : Prohibited RE = 1, WE = 1 : Prohibited Read data ( 2nd Byte ) MSB PE WF 0 0 0 PE : Register write error flag PE = 1 : Error PE = 0 : No Error WF : Register write status flag WF = 1 : Waiting for loading into the register WF = 0 : Loaded LSB 0 0 0 KS7308 FCM 6. SIO COMMUNICATION PROTOCOL (1) Standard protocol of data write Data write access SCSN should turn High Status read SCSN SCK 56 clocks 16 clocks SMOS / Write data / stop SMOD SI Status SO (2) Invalid write data When user initiate SIO operation before previouse write operation data is loaded into resister at VD timiing, then initial data will be broken. 7. RESET CONDITION The system should supply reset condition by RSTN pin as low level. FCM will initialize each register value as follows. (1) Read/Write address register and Counter is set to “0” (2) HD register is set to “0”. (3) SMOD register is set to “0” (4) SO becomes high impedance state. KS7308 FCM PKG DIAGRAM 48-QFP-0707 Unit : mm 9.00 _ + 0.30 0~ _ 0.20 7.00 + 0. 8 13 + 0.1 - _ 7.00 + 0.20 0.10 MAX _ 0.50 + 0.20 _ 9.00 + 0.30 0.0 0 5 # 48 #1 ( 0.75 ) _ 0.10 0.18 + 0.50 0.1 MAX 0.00 MIN 1.40 _ + 0.10 1.6 MAX