Electronic Components Datasheet Search
  English  ▼

X  

HT48RA0 Datasheet(PDF) 9 Page - Holtek Semiconductor Inc

Part # HT48RA0
Description  Remote Type 8-Bit MCU
PDF  32 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT48RA0 Datasheet(HTML) 9 Page - Holtek Semiconductor Inc

Back Button HT48RA0 Datasheet HTML 5Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 6Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 7Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 8Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 9Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 10Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 11Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 12Page - Holtek Semiconductor Inc HT48RA0 Datasheet HTML 13Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 32 page
background image
HT48RA0-2/HT48CA0-2
Rev. 1.50
9
July 23, 2004
Carrier
The HT48RA0-2/HT48CA0-2 provides a carrier output
which shares the pin with PC0. It can be selected to be a
carrier output (REM) or level output pin (PC0) by code
option. If the carrier output option is selected, setting
PC0=
²0² to enable carrier output and setting PC0=²1² to
disable it at low level output.
The clock source of the carrier is implemented by in-
struction clock (system clock divided by 4) and pro-
cessed by a frequency divider to yield various carry
frequency.
Carry Frequency=
Clock Source
m2
n
where m=2 or 3 and n=0~3, both are selected by code
option. If m=2, the duty cycle of the carrier output is 1/2
duty. If m=3, the duty cycle of the carrier output can be
1/2 duty or 1/3 duty also determined by code option (with
the exception of n=0).
Detailed selection of the carrier duty is shown below:
m
´2
n
Duty Cycle
2, 4, 8, 16
1/2
31/3
6, 12, 24
1/2or1/3
The following table shows examples of carrier fre-
quency selection.
fSYS
fCARRIER
Duty
m
´2
n
455kHz
37.92kHz
1/3 only
3
56.9kHz
1/2 only
2
Input/Output Ports
There are an 8-bit bidirectional input/output port, a 4-bit
input with 2-bit I/O port and one-bit output port in the
HT48RA0-2/HT48CA0-2, labeled PA, PB and PC which
are mapped to [12H], [14H], [16H] of the RAM, respec-
tively. Each bit of PA can be selected as NMOS output or
Schmitt trigger with pull-high resistor by software in-
struction. PB0~PB1 have the same structure with PA,
while PB2~PB5 can only be used for input operation
(Schmitt trigger with pull-high resistors). PC is only
one-bit output port shares the pin with carrier output. If
the level option is selected, the PC is CMOS output.
Both PA and PB for the input operation, these ports are
non-latched, that is, the inputs should be ready at the T2
rising edge of the instruction
²MOV A, [m]² (m=12H or
14H). For PA, PB0~PB1 and PC output operation, all
data are latched and remain unchanged until the output
latch is rewritten.
When the PA and PB0~PB1 is used for input operation,
it should be noted that before reading data from pads, a
²1² should be written to the related bits to disable the
NMOS device. That is, the instruction
²SET [m].i² (i=0~7
for PA, i=0~1 for PB) is executed first to disable related
NMOS device, and then
²MOV A, [m]² to get stable data.
After chip reset, PA and PB remain at a high level input
line while PC remain at high level output, if the level op-
tion is selected.
Each bit of PA, PB0~PB1 and PC output latches can be
set or cleared by the
²SET [m].i² and ²CLR [m].i²
(m=12H, 14H or 16H) instructions respectively.
Some instructions first input data and then follow the
output operations. For example,
²SET [m].i², ²CLR [m]²,
²CPL [m]², ²CPLA [m]² read the entire port states into
the CPU, execute the defined operations (bit-operation),
and then write the results back to the latches or to the
accumulator.
Each line of PB has a wake-up capability to the device
by code option. The highest seven bits of PC are not
physically implemented, on reading them a
²0² is re-
turned and writing results in a no-operation.
Note: The bit 6 and Bit 7 the PB register (14H) are un-
used in the HT48RA0-2/HT48CA0-2, any read from that
will return the value
²0². User Should be very careful in
transferring the program from the HT48RA0A or
HT48RA0-1/HT48CA0-1 device to the HT48RA0-2/
HT48CA0-2 device.
C l o c k S o u r c e
( S y s t e m C l o c k / 4 )
3 - b i t C o u n t e r
C o d e O p t i o n
1 / 2
1 / 3
F r e q u e n c y D i v i d e r
V D D
R e a d p a t h f o r r e a d - m o d i f y - w r i t e
P C 0 D a t a R e g i s t e r
R E M / P C 0
C o d e O p t i o n
( c a r r i e r o r l e v e l )
C a r r i e r D u t y
S e l e c t
1 / 2 o r 1 / 3 d u t y
L e v e l
C a r r i e r
C a r r i e r
L e v e l
Carrier/Level Output
´



Html Pages

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


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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