Semiconductor
MSM6242B
31
Name
Pin No.
Description
PIN DESCRIPTION
GS
RS
D0
D1
D2
D3
A0
A1
A2
A3
ALE
WR
RD
CS0
XT
STD.P
VDD
GND
CS1
14
13
12
11
4
5
6
7
3
10
8
2
15
1
16
17
18
9
19
16
15
14
5
7
9
10
4
13
11
20
22
23
24
12
2
1
Data Input/Output pins to be directly connected to a microcontroller bus for
reading and writing of the clock/calendar's registers and control registers. D0 = LSB
and D3 = MSB.
Address input pin for use by a microcomputer to select internal clock/calendar's
registers and control registers for Read/Write operations (See Function Table
Figure 1). Address input pins A0-A3 are used in combination with ALE for
addressing registers.
Address Latch Enable pin. This pin enables writing of address data when ALE = 1
and CSO = 0; address data is latched when ALE = 0 Microcontroller/Micro-
processors having an ALE output should connect to this pin; otherwise it should
be connected at VDD
Writing of data is performed by this pin.
When CS1 = 1 and CSO = 0, D0 ~ D3 data is written into the register at the rising
edge of WR.
Reading of register data is accomplished using this pin. When CS1 = 1, CSO = 0
and RD = 0, the data of this register is output to D0 ~ D3. If both RD and WR are
set at 0 simaltaneously, RD is to be inhibited.
Chip Select pins. These pins enable/disable ALE, RD and WR operation. CSO
and ALE work in combination with one another, while CS1 work independent
with ALE. CS1 must be connected to power failure detection as shown in Figure
18.
Output pin of N-CH OPEN DRAIN type. The output data is controlled by the
D1 data content of CE register. This pin has a priority to CSO and CS1.
Refer to Figure 9 and FUNCTIONAL DESCRIPTION OF REGISTERS.
32.768 kHz crystal is to be connected to these pins.
When an external clock of 32.768 kHz is to be used for MSM6242's oscillation
source, either CMOS output or pull-up TTL output is to be input from XT, while
XT should be left open.
Power supply pin. +2 ~ +6V power is to be applied to this pin.
Ground pin.
VDD
STD.P OUTPUT
N-CH
RFB 5M
32.768 kHz
XT
VDD OR GND
C1
C2
X'tal
XT
C1 = C2 = 15 ~ 30pF
The impedance of the crystal should be less than 30k
Figure 8. Oscillator Circuit
Figure 9.