HT48RA0-5 Holtek Semiconductor, HT48RA0-5 Datasheet

no-image

HT48RA0-5

Manufacturer Part Number
HT48RA0-5
Description
Remote Type 8-Bit OTP MCU
Manufacturer
Holtek Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT48RA0-5
Quantity:
35
Features
General Description
The HT48RA0-5 is 8-bit high performance, RISC archi-
tecture microcontroller device specifically designed for
multiple I/O control product applications.
The advantages of low power consumption, I/O flexibil-
ity, timer functions, watchdog timer, HALT and wake-up
Rev.1.00
Operating voltage:
f
f
Oscillator types:
External high frequency Crystal -- HXT
Internal high frequency RC -- HIRC
1K 14 program memory
32 8 data RAM
One-level subroutine nesting
17 bidirectional I/O lines
Fully integrated internal 4095kHz oscillator requires
no external components
One programmable carrier output - using 9-bit timer
SYS
SYS
=4MHz at V
=4MHz at V
DD
DD
=2.0V~3.6V (LVR enabled)
=1.8V~3.6V (LVR disabled)
Remote Type 8-Bit OTP MCU
1
functions, as well as low cost, enhance the versatility of
this device to suit a wide range of application possibili-
ties such as industrial control, consumer products, and
particularly suitable for use in products such as infrared
remote controllers and various subsystem controllers.
Carrier output pin (REM)
Build-in IR Driver (350mA@3.0V)
Watchdog Timer
Low voltage reset function
Power-down and wake-up features reduce power
consumption
14-bit table read instructions
Up to 1 s instruction cycle with 4MHz system clock
62 powerful instructions
All instructions executed in 1 or 2 machine cycles
Bit manipulation instructions
20-pin SSOP package
HT48RA0-5
March 23, 2010
www.DataSheet4U.com

Related parts for HT48RA0-5

HT48RA0-5 Summary of contents

Page 1

... Fully integrated internal 4095kHz oscillator requires no external components One programmable carrier output - using 9-bit timer General Description The HT48RA0-5 is 8-bit high performance, RISC archi- tecture microcontroller device specifically designed for multiple I/O control product applications. The advantages of low power consumption, I/O flexibil- ity, timer functions, watchdog timer, HALT and wake-up Rev ...

Page 2

... REMDRV pin is a high sink current NMOS open drain carrier output pin which will floating condition after a re- set. The selection of REM or REMDRV is determined by a configuration option. Positive power supply Negative power supply, ground 2 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 3

... No load, system HALT, 3V WDT disable No load, system HALT, 3V WDT enable =0. =0. =0.1V 0 =0.2V 3V 300 100 1.8 0.035 3 www.DataSheet4U.com HT48RA0-5 Ta=25 C Typ. Max. Unit 3.6 V 3.6 V 0.7 1.5 mA 0.1 1.0 A 5 1.2 mA 350 mA 150 200 k 1.9 2.0 ...

Page 4

... Test Conditions Min. V Conditions DD 1.8V~ 400 Ta= - 3.6V 1.8V~ 4013 Ta= - 3.6V Power-up or wake-up from HALT 3V 45 0.25 1 Test Conditions Min. V Conditions DD 0.035 1 4 www.DataSheet4U.com HT48RA0-5 Ta=25 C Typ. Max. Unit 4000 kHz 4095 4179 kHz t 1024 SYS 90 180 s 1.00 2. Typ. Max. Unit 100 mV V/ms ms March 23, 2010 ...

Page 5

... When a control transfer takes place, an additional dummy cycle is required. Execution Flow Program Counter * Program Counter + Program Counter S9~S0: Stack register bits @7~@0: PCL bits 5 www.DataSheet4U.com HT48RA0 March 23, 2010 ...

Page 6

... Bit undefined and reading will return the result 1 . Any writing operation to MP will only transfer the lower 7-bits of data to MP. Table Location * Table Location @7~@0: Table pointer bits 6 www.DataSheet4U.com HT48RA0 March 23, 2010 ...

Page 7

... The TO and PDF flags can only be changed by the Watchdog Timer overflow, device power-up, clearing the Watchdog Timer and executing the HALT instruction. The Z, OV, AC and C flags generally reflect the status of the latest operations. Function Status (0AH) Register 7 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 8

... Note that if this internal system clock option is selected requires no ex- ternal pins for its operation, I/O pins PB5 and PB6 are free for use as normal I/O pins www.DataSheet4U.com HT48RA0 8pF 10pF HIRC March 23, 2010 ...

Page 9

... Once a wake-up event(s) occurs, it takes 1024 t (system clock periods) to resume normal operation. In other words, a dummy cycle period will be inserted after the wake-up. To minimize power consumption, all I/O pins should be carefully managed before entering the HALT status. Watchdog Timer 9 www.DataSheet4U.com HT48RA0-5 SYS March 23, 2010 ...

Page 10

... Points to the top of the stack Low level state or floating Carrier output state* * Determined by configuration option Note recommended that this component is added for added ESD protection ** It is recommended that this component is added in environments where power line noise is significant. External RES Circuit 10 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 11

... CPU, execute the defined operations (bit-operation), and then write the results back to the latches or to the accumulator. Each line of the I/O ports has a wake-up capability when the relevant pin is configured as an input line. 11 www.DataSheet4U.com HT48RA0-5 WDT Time-out (HALT)* 000H -uuu uuuu uuuu uuuu uuuu uuuu ...

Page 12

... TSR1 and TSR0 to the Down Coun- ter is completed and then wait until TSR1.1 is set by user. Setting TSR1.1=1, the timer will start counting. The timer will stop when its count is equal to 0 and then TOEF is set equal www.DataSheet4U.com HT48RA0-5 01H, t8 March 23, 2010 ...

Page 13

... Setting the t9 bit channels the timer to the REM/REMDRV =64/f ] pin. The REM/REMDRV pin will be a combination of the SYS timer and carrier signals. Note: The carrier output results if bit 9 of the high-level period setting modulo register (CARH) is cleared ( 0 ). Timer Output when Carrier is not Output Timer Configuration 13 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 14

... Note: 1. Bit 9 of the modulo register for setting the low-level period (CARL) is fixed t9: Flag that enables timer output (timer block, see Timer Configuration) Rev.1.00 Bit5 Bit4 Bit3 Bit2 CL. CL. CL.3 CL.2 CH.5 CH.4 CH.3 CH.2 14 www.DataSheet4U.com HT48RA0-5 Bit1 Bit0 CL.1 CL.0 CL.8 Fix 0 CH.1 CH.0 CH.9 CH.8 (CARY) = 4MHz. SYS March 23, 2010 ...

Page 15

... When the carrier signal is active and during the time when the signal is high, if the timer output should go low, the carrier signal will first complete its high level period before going low. Rev.1. SYS SYS 45H 15 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 16

... Other than 0 Carrier output (Note) Low-level output High-level output t (ms) t (ms) t (ms 0.50 0.50 1.00 1.00 1.50 2.50 2.50 2.50 5.00 5.00 5.00 10.00 8.25 8.25 16.50 8.25 16.75 25.00 8.75 17.25 26.00 8.75 17.50 26.25 8.80 17.60 26.40 9.00 18.25 27.25 9.26 18.52 27.78 13.33 26.66 40.00 15.00 15.00 30.00 25.00 25.00 50.00 32.00 32.00 64.00 =4MHz) SYS 16 www.DataSheet4U.com HT48RA0-5 REMDRV Pin (NMOS Output) Floating output 64/f SYS (with carrier output) Carrier output Floating output Low-level output f (kHz) Duty C 1000 1/2 400 2/5 200 1/2 100 1/2 60.60 1/2 40.00 1/3 38.50 1/3 38.10 1/3 37.90 1/3 36.70 1/3 36.00 1/3 25.00 1/3 33.30 1/2 20.00 1/2 15.60 1/2 March 23, 2010 ...

Page 17

... Since low voltage has to be maintained in its original state and exceed 1ms, a 1ms delay enters the reset mode. Rev.1.00 The relationship between V DD Low Voltage Reset 17 www.DataSheet4U.com HT48RA0-5 and V is shown below. LVR March 23, 2010 ...

Page 18

... I/O or RES pin selection Application Circuits Note recommended that this component is added for added ESD protection recommended that this component is added in environments where power line noise is significant. Rev.1.00 Code Option www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 19

... Example Note: * The 0.1 F capacitor is required to ensure that the system clock frequency meets with the specified toler- ance in the A.C. Characteristics. Rev.1.00 19 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 20

... These instructions are the key to decision making and branching within the pro- gram perhaps determined by the condition of certain in- put switches or by the condition of internal data bits. 20 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 21

... Table conventions: x: Bits immediate data m: Data Memory address A: Accumulator i: 0~7 number of bits addr: Program memory address Description 21 www.DataSheet4U.com HT48RA0-5 Cycles Flag Affected AC, OV Note AC AC AC, OV ...

Page 22

... For the CLR WDT1 and CLR WDT2 instructions the TO and PDF flags may be affected by the execution status. The TO and PDF flags are cleared after both CLR WDT1 and CLR WDT2 instructions are consecutively executed. Otherwise the TO and PDF flags remain unchanged. Rev.1.00 Description 22 www.DataSheet4U.com HT48RA0-5 Cycles Flag Affected 1 None Note 1 None ...

Page 23

... ACC ACC AND x Affected flag(s) Z ANDM A,[m] Logical AND ACC to Data Memory Description Data in the specified Data Memory and the Accumulator perform a bitwise logical AND op- eration. The result is stored in the Data Memory. Operation [m] ACC AND [m] Affected flag(s) Z Rev.1.00 23 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 24

... The TO, PDF flags and the WDT are all cleared. Note that this instruction works in conjunc- tion with CLR WDT1 and must be executed alternately with CLR WDT1 to have effect. Re- petitively executing this instruction without alternately executing CLR WDT1 will have no effect. Operation WDT cleared TO 0 PDF 0 Affected flag(s) TO, PDF Rev.1.00 addr 24 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 25

... This instruction stops the program execution and turns off the system clock. The contents of the Data Memory and registers are retained. The WDT and prescaler are cleared. The power down flag PDF is set and the WDT time-out flag TO is cleared. Operation TO 0 PDF 1 Affected flag(s) TO, PDF Rev.1. www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 26

... No operation is performed. Execution continues with the next instruction. Operation No operation Affected flag(s) None OR A,[m] Logical OR Data Memory to ACC Description Data in the Accumulator and the specified Data Memory perform a bitwise logical OR oper- ation. The result is stored in the Accumulator. Operation ACC ACC OR [m] Affected flag(s) Z Rev.1.00 addr 26 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 27

... The contents of the specified Data Memory are rotated left by 1 bit with bit 7 rotated into bit 0. The rotated result is stored in the Accumulator and the contents of the Data Memory re- main unchanged. Operation ACC.(i+1) ACC.0 [m].7 Affected flag(s) None Rev.1.00 Stack Stack Stack [m]. 0~6) 27 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 28

... Data in the specified Data Memory and the carry flag are rotated right by 1 bit. Bit 0 re- places the Carry bit and the original carry flag is rotated into bit 7. The rotated result is stored in the Accumulator and the contents of the Data Memory remain unchanged. Operation ACC.i [m].(i+1 0~6) ACC [m].0 Affected flag(s) C Rev.1.00 [m]. 0~6) 28 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 29

... Set Data Memory Description Each bit of the specified Data Memory is set to 1. Operation [m] FFH Affected flag(s) None SET [m].i Set bit of Data Memory Description Bit i of the specified Data Memory is set to 1. Operation [m].i 1 Affected flag(s) None Rev.1.00 [ www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 30

... The result is stored in the Accumulator. Note that if the result of subtraction is nega- tive, the C flag will be cleared to 0, otherwise if the result is positive or zero, the C flag will be set to 1. Operation ACC ACC Affected flag(s) OV, Z, AC, C Rev.1.00 0 [m] [ www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 31

... The low byte of the program code (last page) addressed by the table pointer (TBLP) is moved to the specified Data Memory and the high byte moved to TBLH. Operation [m] program code (low byte) TBLH program code (high byte) Affected flag(s) None Rev.1.00 [m].7 ~ [m].4 [m].7 ~ [m].4 [m].3 ~ [m].0 31 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 32

... Operation [m] ACC XOR [m] Affected flag(s) Z XOR A,x Logical XOR immediate data to ACC Description Data in the Accumulator and the specified immediate data perform a bitwise logical XOR operation. The result is stored in the Accumulator. Operation ACC ACC XOR x Affected flag(s) Z Rev.1.00 32 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 33

... Symbol Rev.1.00 Dimensions in inch Min. Nom. 0.228 0.150 0.008 0.335 0.049 0.025 0.004 0.015 0.007 0 Dimensions in mm Min. Nom. 5.79 3.81 0.20 8.51 1.24 0.64 0.10 0.38 0. www.DataSheet4U.com HT48RA0-5 Max. 0.244 0.158 0.012 0.347 0.065 0.010 0.050 0.010 8 Max. 6.20 4.01 0.30 8.81 1.65 0.25 1.27 0.25 8 March 23, 2010 ...

Page 34

... Product Tape and Reel Specifications Reel Dimensions SSOP 20S (150mil) Symbol Description A Reel Outer Diameter B Reel Inner Diameter C Spindle Hole Diameter D Key Slit Width T1 Space Between Flange T2 Reel Thickness Rev.1.00 Dimensions in mm 330.0 1.0 100.0 1.5 +0.5/-0.2 13.0 2.0 0.5 +0.3/-0.2 16.8 22.2 0.2 34 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 35

... Carrier Tape Width P Cavity Pitch E Perforation Position F Cavity to Perforation (Width Direction) D Perforation Diameter D1 Cavity Hole Diameter P0 Perforation Pitch P1 Cavity to Perforation (Length Direction) A0 Cavity Length B0 Cavity Width K0 Cavity Depth t Carrier Tape Thickness C Cover Tape Width Rev.1.00 Dimensions in mm +0.3/-0.1 16.0 8.0 0.1 1.75 0.10 7.5 0.1 +0.1/-0.0 1.5 +0.25/-0.00 1.50 4.0 0.1 2.0 0.1 6.5 0.1 9.0 0.1 2.3 0.1 0.30 0.05 13.3 0.1 35 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Page 36

... 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 http://www.holtek.com.tw. Rev.1.00 36 www.DataSheet4U.com HT48RA0-5 March 23, 2010 ...

Related keywords