ht1621b英文资料
- 格式:pdf
- 大小:157.88 KB
- 文档页数:20
HT1621RAM Mapping 32´4LCD Controller for I/O MCUSelection TableHT162X HT1620HT1621HT1622HT16220HT1623HT1625HT1626COM 44888816SEG 32323232486448Built-in Osc.¾ÖÖ¾ÖÖÖCrystal Osc.ÖÖ¾ÖÖÖÖRev.1.301August 6,2003Features·Operating voltage:2.4V~5.2V ·Built-in 256kHz RC oscillator·External 32.768kHz crystal or 256kHz frequencysource input·Selection of 1/2or 1/3bias,and selection of 1/2or1/3or 1/4duty LCD applications·Internal time base frequency sources·Two selectable buzzer frequencies (2kHz/4kHz)·Power down command reduces power consumption ·Built-in time base generator and WDT ·Time base or WDT overflow output ·8kinds of time base/WDT clock sources ·32´4LCD driver·Built-in 32´4bit display RAM ·3-wire serial interface·Internal LCD driving frequency source ·Software configuration feature·Data mode and command mode instructions ·R/W address auto increment ·Three data accessing modes·VLCD pin for adjusting LCD operating voltage ·HT1621:48-pin SSOP packageHT1621B:48-pin DIP/SSOP/LQFP package HT1621D:28-pin SKDIP package HT1621G:Gold bumped chipGeneral DescriptionThe HT1621is a 128pattern (32´4),memory mapping,and multi-function LCD driver.The S/W configuration feature of the HT1621makes it suitable for multiple LCD applications including LCD modules and display sub-systems.Only three or four lines are required for the in-terface betweenthe host controller and the HT1621.The HT1621contains a power down command to re-duce power consumption.Block DiagramNote:CS:Chip selectionBZ,BZ:Tone outputsDATA:Serial interfaceCOM0~COM3,SEG0~SEG31:LCD outputsIRQ:Time base or WDT overflow outputPin AssignmentRev.1.302August6,2003Pad AssignmentChip size:127´131(mil)2Bump height:18m m±3m mMin.Bump spacing:72.36m mBump size:96.042´96.042m m2*The IC substrate should be connected to VDD in the PCB layout artwork.Rev.1.303August6,2003Pad Coordinates Unit:mil Pad No.X Y Pad No.X Y1-55.0459.462558.14-25.292-58.5222.182658.14-18.663-58.5215.562758.14-11.944-58.52 5.362858.14-5.315-58.52-4.512958.14 1.326-58.52-11.143058.147.957-58.52-34.763158.1414.588-58.52-41.903258.1421.219-58.52-49.133355.5559.4610-58.52-59.083448.9259.4611-44.07-59.083542.2959.4612-31.58-59.083635.6659.4613-20.70-59.083729.0359.4614-13.98-59.083822.4059.4615-7.05-59.083915.7759.4616-0.34-59.08409.1459.4617 6.33-59.0841 2.4259.461812.96-59.0842-4.2159.461919.59-59.0843-10.8459.462058.14-58.4444-17.4759.462158.14-51.8145-24.1059.462258.14-45.1846-30.7359.462358.14-38.5547-38.1759.462458.14-31.9248-45.3959.46Pad DescriptionPad No.Pad Name I/O Function1CS I Chip selection input with pull-high resistorWhen the CS is logic high,the data and command read from or written to the HT1621are disabled.The serial interface circuit is also reset.But if CS is at logic low level and is input to the CS pad,the data and command trans-mission between the host controller and the HT1621are all enabled.2RD I READ clock input with pull-high resistorData in the RAM of the HT1621are clocked out on the falling edge of the RD signal.The clocked out data will appear on the DATA line.The host control-ler can use the next rising edge to latch the clocked out data.3WR I WRITE clock input with pull-high resistorData on the DATA line are latched into the HT1621on the rising edge of the WR signal.4DATA I/O Serial data input/output with pull-high resistor5VSS¾Negative power supply,ground7OSCI I The OSCI and OSCO pads are connected to a32.768kHz crystal in order togenerate a system clock.If the system clock comes from an external clocksource,the external clock source should be connected to the OSCI pad.Butif an on-chip RC oscillator is selected instead,the OSCI and OSCO padscan be left open.6OSCO O8VLCD I LCD power input9VDD¾Positive power supply10IRQ O Time base or WDT overflow flag,NMOS open drain output11,12BZ,BZ O2kHz or4kHz tone frequency output pair13~16COM0~COM3O LCD common outputs48~17SEG0~SEG31O LCD segment outputsRev.1.304August6,2003Absolute Maximum RatingsSupply Voltage...........................V SS-0.3V to V SS+5.5V Storage Temperature............................-50o C to125o C Input Voltage..............................V SS-0.3V to V DD+0.3V Operating Temperature...........................-25o C to75o CNote:These are stress ratings only.Stresses exceeding the range specified under²Absolute Maximum Ratings²may cause substantial damage to the device.Functional operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliabil-ity.D.C.Characteristics Ta=25°CSymbol ParameterTest ConditionsMin.Typ.Max.Unit V DD ConditionsV DD Operating Voltage¾¾ 2.4¾ 5.2VI DD1Operating Current 3V No load/LCD ONOn-chip RC oscillator¾150300m A 5V¾300600m AI DD2Operating Current 3V No load/LCD ONCrystal oscillator¾60120m A 5V¾120240m AI DD3Operating Current 3V No load/LCD ONExternal clock source¾100200m A 5V¾200400m AI STB Standby Current 3VNo load,Power down mode¾0.15m A 5V¾0.310m AV IL Input Low Voltage 3VDATA,WR,CS,RD0¾0.6V 5V0¾ 1.0VV IH Input High Voltage 3VDATA,WR,CS,RD2.4¾3.0V 5V4.0¾5.0VI OL1DATA,BZ,BZ,IRQ3V V OL=0.3V0.5 1.2¾mA5V V OL=0.5V 1.3 2.6¾mA I OH1DATA,BZ,BZ3V V OH=2.7V-0.4-0.8¾mA5V V OH=4.5V-0.9-1.8¾mA I OL2LCD Common Sink Current3V V OL=0.3V80150¾m A5V V OL=0.5V150250¾m A I OH2LCD Common Source Current3V V OH=2.7V-80-120¾m A5V V OH=4.5V-120-200¾m A I OL3LCD Segment Sink Current3V V OL=0.3V60120¾m A5V V OL=0.5V120200¾m A I OH3LCD Segment Source Current3V V OH=2.7V-40-70¾m A5V V OH=4.5V-70-100¾m AR PH Pull-high Resistor 3VDATA,WR,CS,RD4080150k W 5V3060100k WRev.1.305August6,2003A.C.Characteristics Ta=25°CSymbol ParameterTest ConditionsMin.Typ.Max.Unit V DD Conditionsf SYS1System Clock¾On-chip RC oscillator¾256¾kHz f SYS2System Clock¾Crystal oscillator¾32.768¾kHz f SYS3System Clock¾External clock source¾256¾kHzf LCD LCD Clock ¾On-chip RC oscillator¾f SYS1/1024¾Hz ¾Crystal oscillator¾f SYS2/128¾Hz ¾External clock source¾f SYS3/1024¾Hzt COM LCD Common Period¾n:Number of COM¾n/f LCD¾sf CLK1Serial Data Clock(WR pin)3VDuty cycle50%¾¾150kHz 5V¾¾300kHzf CLK2Serial Data Clock(RD pin)3VDuty cycle50%¾¾75kHz5V¾¾150kHzf TONE Tone Frequency¾On-chip RC oscillator¾ 2.0or4.0¾kHzt CSSerial Interface Reset PulseWidth(Figure3)¾CS¾250¾ns t CLKWR,RD Input Pulse Width(Figure1)3VWrite mode 3.34¾¾m sRead mode 6.67¾¾5VWrite mode 1.67¾¾m sRead mode 3.34¾¾t r,t fRise/Fall Time Serial DataClock Width(Figure1)¾¾¾120¾ns t suSetup Time for DATA to WR,RD Clock Width(Figure2)¾¾¾120¾ns t hHold Time for DATA to WR,RDClock Width(Figure2)¾¾¾120¾ns t su1Setup Time for CS to WR,RDClockWidth(Figure3)¾¾¾100¾ns t h1Hold Time for CS to WR,RDClock Width(Figure3)¾¾¾100¾ns Rev.1.306August6,2003 Figure3Figure1Figure2Functional DescriptionDisplay Memory-RAMThe static display memory(RAM)is organized into32´4 bits and stores the displayed data.The contents of the RAM are directly mapped to the contents of the LCD driver.Data in the RAM can be accessed by the READ, WRITE,and READ-MODIFY-WRITE commands.The following is a mapping from the RAM to the LCD pattern:System OscillatorThe HT1621system clock is used to generate the time base/Watchdog Timer(WDT)clock frequency,LCD driving clock,and tone frequency.The source of the clock may be from an on-chip RC oscillator(256kHz),a crystal oscillator(32.768kHz),or an external256kHz clock by the S/W setting.The configuration of the sys-tem oscillator is as shown.After the SYS DIS command is executed,the system clock will stop and the LCD bias generator will turn off.That command is,however,avail-able only for the on-chip RC oscillator or for the crystal oscillator.Once the system clock stops,the LCD display will become blank,and the time base/WDT lose its func-tion as well.The LCD OFF command is used to turn the LCD bias generator off.After the LCD bias generator switches off by issuing the LCD OFF command,using the SYS DIS command reduces power consumption,serving as a system power down command.But if the external clock source is chosen as the system clock,using the SYS DIS command can neither turn the oscillator off nor carry out the power down mode.The crystal oscillator option can be applied to connect an external frequency source of32kHz to the OSCI pin.In this case,the sys-tem fails to enter the power down mode,similar to the case in the external256kHz clock source operation.At the initial system power on,the HT1621is at the SYS DIS state.Time Base and Watchdog Timer(WDT)The time base generator is comprised by an8-stage count-up ripple counter and is designed to generate an accurate time base.The watch dog timer(WDT),on the other hand,is composed of an8-stage time base gener-ator along with a2-stage count-up counter,and is de-signed to break the host controller or other subsystems from abnormal states such as unknown or unwanted jump,execution errors,etc.The WDT time-out will result in the setting of an internal WDT time-out flag.The out-puts of the time base generator and of the WDT time-out flag can be connected to the IRQ output by a command option.There are totally eight frequency sources avail-able for the time base generator and the WDT clock. The frequency is calculated by the following equation.f WDT=32kHz2nwhere the value of n ranges from0to7by command op-tions.The32kHz in the above equation indicates that the source of the system frequency is derived from a crystal oscillator of32.768kHz,an on-chip oscillator (256kHz),or an external frequency of256kHz.If an on-chip oscillator(256kHz)or an external256kHz frequency is chosen as the source of the system fre-quency,the frequency source is by default prescaled to 32kHz by a3-stage prescaler.Employing both the time base generator and the WDT related commands,one should be careful since the time base generator and WDT share the same8-stage counter.For example,in-voking the WDT DIS command disables the time base generator whereas executing the WDT EN commandRAM MappingSystem Oscillator ConfigurationRev.1.307August6,2003not only enables the time base generator but activates the WDT time-out flag output(connect the WDT time-out flag to the IRQ pin).After the TIMER EN com-mand is transferred,the WDT is disconnected from the IRQ pin,and the output of the time base generator is con-nected to the IRQ pin.The WDT can be cleared by execut-ing the CLR WDT command,and the contents of the time base generator is cleared by executing the CLR WDT or the CLR TIMER command.The CLR WDT or the CLR TIMER command should be executed prior to the WDT EN or the TIMER EN command respectively.Before ex-ecuting the IRQ EN command the CLR WDT or CLR TIMER command should be executed first.The CLR TIMER command has to be executed before switching from the WDT mode to the time base mode.Once the WDT time-out occurs,the IRQ pin will stay at a logic low level until the CLR WDT or the IRQ DIS command is is-sued.After the IRQ output is disabled the IRQ pin will re-main at the floating state.The IRQ output can be enabled or disabled by executing the IRQ EN or the IRQ DIS command,respectively.The IRQ EN makes the output of the time base generator or of the WDT time-out flag appear on the IRQ pin.The configuration of the time base generator along with the WDT are as shown.In the case of on-chip RC oscillator or crystal oscillator,the power down mode can reduce power consumption since the oscillator can be turned on or off by the corre-sponding system commands.At the power down mode the time base/WDT loses all its functions.On the other hand,if an external clock is selected as the source of system frequency the SYS DIS command turns out invalid and the power down mode fails to be carried out.That is,after the external clock source is se-lected,the HT1621will continue working until system power fails or the external clock source is removed.Af-ter the system power on,the IRQ will be disabled.Tone OutputA simple tone generator is implemented in the HT1621. The tone generator can output a pair of differential driv-ing signals on the BZ and BZ,which are used to gener-ate a single tone.By executing the TONE4K and TONE2K commands there are two tone frequency out-puts selectable.The TONE4K and TONE2K commands set the tone frequency to4kHz and2kHz,respectively. The tone output can be turned on or off by invoking the TONE ON or the TONE OFF command.The tone out-puts,namely BZ and BZ,are a pair of differential driving outputs used to drive a piezo buzzer.Once the system is disabled or the tone output is inhibited,the BZ and the BZ outputs will remain at low level.LCD DriverThe HT1621is a128(32´4)pattern LCD driver.It can be configured as1/2or1/3bias and2or3or4commons of LCD driver by the S/W configuration.This feature makes the HT1621suitable for multiply LCD applica-tions.The LCD driving clock is derived from the system clock.The value of the driving clock is always256Hz even when it is at a32.768kHz crystal oscillator frequency,an on-chip RC oscillator frequency,or an external fre-quency.The LCD corresponding commands are sum-marized in the table.The bold form of100,namely100,indicates the com-mand mode ID.If successive commands have been is-sued,the command mode ID except for the first command,will be omitted.The LCD OFF command turns the LCD display off by disabling the LCD bias gen-Timer and WDT ConfigurationsName Command Code Function LCD OFF10000000010X Turn off LCD outputsLCD ON10000000011X Turn on LCD outputsBIAS&COM1000010a b X c X c=0:1/2bias optionc=1:1/3bias optionab=00:2commons option ab=01:3commons option ab=10:4commons optionRev.1.308August6,2003Timing DiagramsREAD Mode (Command Code :110)Rev.1.309August 6,2003erator.The LCD ON command,on the other hand,turns the LCD display on by enabling the LCD bias generator.The BIAS and COM are the LCD panel related ing the LCD related commands,the HT1621can be compatible with most types of LCD mand FormatThe HT1621can be configured by the S/W setting.There are two mode commands to configure the HT1621re-sources and to transfer the LCD display data.The configu-ration mode of the HT1621is called command mode,and its command mode ID is 100.The command mode con-sists of a system configuration command,a system frequency selection command,a LCD configuration com-mand,a tone frequency selection command,a timer/WDT setting command,and an operating command.The data mode,on the other hand,includes READ,WRITE,and READ-MODIFY-WRITE operations.The following are the data mode IDs and the command mode ID:Operation Mode ID Read Data 110WriteData 101Read-Modify-Write Data 101CommandCommand100The mode command should be issued before the data or command is transferred.If successive commands have been issued,the command mode ID,namely 100,can be omitted.While the system is operating in the non-successive command or the non-successive ad-dress data mode,the CS pin should be set to ²1²and the previous operation mode will be reset also.Once the CS pin returns to ²0²a new operation mode ID should be is-sued first.InterfacingOnly four lines are required to interface with the HT1621.The line is used to initialize the serial inter-face circuit and to terminate the communication between the host controller and the HT1621.If the pin is set to 1,the data and command issued between the host controller and the HT1621are first disabled and then initialized.Be-fore issuing a mode command or mode switching,a high level pulse is required to initialize the serial interface of the HT1621.The DATA line is the serial data input/output line.Data to be read or written or commands to be written have to be passed through the DATA line.The RD line is the READ clock input.Data in the RAM are clocked out on the falling edge of the RD signal,and the clocked out data will then appear on the DATA line.It is recommended that the host controller read in correct data during the interval be-tween the rising edge and the next falling edge of the signal.The WR line is the WRITE clock input.The data,address,and command on the DATA line are all clocked into the HT1621on the rising edge of the WR signal.There is an optional line to be used as an interface between the host controller and the HT1621.The IRQ pin can be selected as a timer output or a WDT overflow flag output by the S/W setting.The host controller can perform the time base or the WDT function by being connected with the IRQ pin of the HT1621.READ Mode(Successive Address Reading)WRITE Mode(Command Code:101)WRITE Mode(Successive Address Writing)Read-Modify-Write Mode(Command Code:101)Rev.1.3010August6,2003Read-Modify-Write Mode(Successive Address Accessing)Command Mode(Command Code:100)Mode(Data And Command Mode)Note:It is recommended that the host controller should read in the data from the DATA line between the rising edge of the RD line and the falling edge of the next RD line.Rev.1.3011August6,2003Application CircuitsHost Controller with an HT1621Display SystemNote:The connection of and pin can be selected depending on the requirement of the MCU.The voltage applied to V LCD pin must be lower than V DD .Adjust VR to fit LCD display,at V DD =5V,V LCD =4V,VR=15k W±20%.Adjust R (external pull-high resistance)to fit user’s time base clock.Command SummaryRev.1.3012August 6,2003Name ID Command Code D/C FunctionDef.READ 110A5A4A3A2A1A0D0D1D2D3D Read data from the RAM WRITE101A5A4A3A2A1A0D0D1D2D3D Write data to the RAM READ-MODIFY-WRITE 101A5A4A3A2A1A0D0D1D2D3D READ and WRITE to the RAMSYS DIS 1000000-0000-X C Turn off both system oscillator and LCDbias generatorYesSYS EN 1000000-0001-X C Turn on system oscillator LCD OFF 1000000-0010-X C Turn off LCD bias generator Yes LCD ON 1000000-0011-X C Turn on LCD bias generator TIMER DIS 1000000-0100-X C Disable time base output WDT DIS 1000000-0101-X C Disable WDT time-out flag output TIMER EN 1000000-0110-X C Enable time base output WDT EN 1000000-0111-X C Enable WDT time-out flag output TONE OFF 1000000-1000-X C Turn off tone outputs Yes TONE ON 1000000-1001-X C Turn on tone outputsCLR TIMER 1000000-11XX-X C Clear the contents of time base generator CLR WDT 1000000-111X-X C Clear the contents of WDT stage XTAL 32K1000001-01XX-XCSystem clock source,crystal oscillatorName ID Command Code D/C Function Def. RC256K1000001-10XX-X C System clock source,on-chip RC oscillator Yes EXT256K1000001-11XX-X C System clock source,external clock sourceBIAS1/21000010-abX0-X C LCD1/2bias optionab=00:2commons option ab=01:3commons option ab=10:4commons optionBIAS1/31000010-abX1-X C LCD1/3bias optionab=00:2commons option ab=01:3commons option ab=10:4commons optionTONE4K100010X-XXXX-X C Tone frequency,4kHzTONE2K100011X-XXXX-X C Tone frequency,2kHzIRQ DIS100100X-0XXX-X C Disable IRQ output Yes IRQ EN100100X-1XXX-X C Enable IRQ outputF1100101X-X000-X C Time base/WDT clock output:1Hz The WDT time-out flag after:4sF2100101X-X001-X C Time base/WDT clock output:2Hz The WDT time-out flag after:2sF4100101X-X010-X C Time base/WDT clock output:4Hz The WDT time-out flag after:1sF8100101X-X011-X C Time base/WDT clock output:8Hz The WDT time-out flag after:1/2sF16100101X-X100-X C Time base/WDT clock output:16Hz The WDT time-out flag after:1/4sF32100101X-X101-X C Time base/WDT clock output:32Hz The WDT time-out flag after:1/8sF64100101X-X110-X C Time base/WDT clock output:64Hz The WDT time-out flag after:1/16sF128100101X-X111-X C Time base/WDT clock output:128HzThe WDT time-out flag after:1/32sYesTEST1001110-0000-X C Test mode,user don¢t use.NORMAL1001110-0011-X C Normal mode YesNote:X:Don,t careA5~A0:RAM addressesD3~D0:RAM dataD/C:Data/command modeDef.:Power on reset defaultAll the bold forms,namely110,101,and100,are mode commands.Of these,100indicates the command mode ID.If successive commands have been issued,the command mode ID except for the first command will be omitted.The source of the tone frequency and of the time base/WDT clock frequency can be derived from an on-chip256kHz RC oscillator,a32.768kHz crystal oscillator,or an external256kHz clock.Calculation of the frequency is based on the system frequency sources as stated above.It is recommended that the host control-ler should initialize the HT1621after power on reset,for power on reset may fail,which in turn leads to the mal-functioning of the HT1621.Rev.1.3013August6,2003Package Information48-pin SSOP(300mil)Outline DimensionsSymbolDimensions in milMin.Nom.Max.A395¾420B291¾299C8¾12C¢613¾637D85¾99E¾25¾F4¾10G25¾35H4¾12a0°¾8°Rev.1.3014August6,2003SymbolDimensions in milMin.Nom.Max.A2435¾2445B535¾555C145¾155D125¾145E16¾20F50¾70G¾100¾H595¾615I635¾670a0°¾15°Rev.1.3015August6,2003SymbolDimensions in mmMin.Nom.Max.A8.90¾9.10B 6.90¾7.10C8.90¾9.10D 6.90¾7.10E¾0.50¾F¾0.20¾G 1.35¾ 1.45H¾¾ 1.60I¾0.10¾J0.45¾0.75K0.10¾0.20a0°¾7°Rev.1.3016August6,2003SymbolDimensions in milMin.Nom.Max.A1375¾1395B278¾298C125¾135D125¾145E16¾20F50¾70G¾100¾H295¾315I330¾375a0°¾15°Rev.1.3017August6,2003Product Tape and Reel SpecificationsReel DimensionsSSOP48WSymbol Description Dimensions in mmA Reel Outer Diameter330±1.0B Reel Inner Diameter100±0.1C Spindle Hole Diameter 13.0+0.5-0.2D Key Slit Width 2.0±0.5T1Space Between Flange 32.2+0.3-0.2T2Reel Thickness38.2±0.2Rev.1.3018August6,2003Carrier Tape DimensionsSSOP48WSymbol Description Dimensions in mm W Carrier Tape Width32.0±0.3P Cavity Pitch16.0±0.1E Perforation Position 1.75±0.1F Cavity to Perforation(Width Direction)14.2±0.1D Perforation Diameter 2.0Min.D1Cavity Hole Diameter 1.5+0.25P0Perforation Pitch 4.0±0.1P1Cavity to Perforation(Length Direction) 2.0±0.1A0Cavity Length12.0±0.1B0Cavity Width16.20±0.1K1Cavity Depth 2.4±0.1K2Cavity Depth 3.2±0.1t Carrier Tape Thickness0.35±0.05C Cover Tape Width25.5Rev.1.3019August6,2003Holtek Semiconductor Inc.(Headquarters)No.3,Creation Rd.II,Science-based Industrial Park,Hsinchu,TaiwanTel:886-3-563-1999Fax:886-3-563-1189Holtek Semiconductor Inc.(Sales Office)11F,No.576,Sec.7Chung Hsiao E.Rd.,Taipei,TaiwanTel:886-2-2782-9635Fax:886-2-2782-9636Fax:886-2-2782-7128(International sales hotline)Holtek Semiconductor(Shanghai)Inc.7th Floor,Building2,No.889,Yi Shan Rd.,Shanghai,ChinaTel:021-6485-5560Fax:021-6485-0313Holtek Semiconductor(Hong Kong)Ltd.Block A,3/F,Tin On Industrial Building,777-779Cheung Sha Wan Rd.,Kowloon,Hong KongTel:852-2-745-8288Fax:852-2-742-8657Holmate Semiconductor,Inc.46712Fremont Blvd.,Fremont,CA94538Tel:510-252-9880Fax:510-252-9885CopyrightÓ2003by HOLTEK SEMICONDUCTOR INC.The information appearing in this Data Sheet is believed to be accurate at the time of publication.However,Holtek as-sumes no responsibility arising from the use of the specifications described.The applications mentioned herein are used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification,nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise.Holtek¢s products are not authorized for use as critical components in life support devices or systems.Holtek reserves the right to alter its products without prior notification.For the most up-to-date information, please visit our web site at .Rev.1.3020August6,2003。