cop87l42rj National Semiconductor Corporation, cop87l42rj Datasheet - Page 10

no-image

cop87l42rj

Manufacturer Part Number
cop87l42rj
Description
8-bit Cmos Otp Microcontrollers With 4k Or 32k Memory And Comparator
Manufacturer
National Semiconductor Corporation
Datasheet
www.national.com
MICROWIRE/PLUS
changes (Figure 7). The MSEL bit in the CNTRL register
must be set to enable the SO and SK functions on the G
Port. The SO and SK pins must also be selected as outputs
by setting appropriate bits in the Port G configuration regis-
ter. Table 4 summarizes the bit settings required for Master
mode of operation.
Slave MICROWIRE/PLUS Operation
In the MICROWIRE/PLUS Slave mode of operation the SK
clock is generated by an external source. Setting the MSEL
bit in the CNTRL register enables the SO and SK functions
on the G Port. The SK pin must be selected as an input and
the SO pin selected as an output pin by appropriately setting
up the Port G configuration register. Table 4 summarizes the
settings required to enter the Slave mode of operation.
The user must set the BUSY flag immediately upon entering
the Slave mode. This will ensure that all data bits sent by the
Master will be shifted properly. After eight clock pulses the
BUSY flag will be cleared and the sequence may be re-
peated (see Figure 7 ).
(Continued)
FIGURE 7. MICROWIRE/PLUS Application
10
Config. Config.
G4
Bit
1
0
1
0
G5
Bit
1
1
0
0
TRI-STATE
TRI-STATE
Fun.
SO
SO
G4
TABLE 4.
Fun. Fun.
Ext.
Ext.
Int.
Int.
G5
SK
SK
SK
SK
G6
SI
SI
SI
SI
DS012529-8
MICROWIRE
Master
MICROWIRE
Master
MICROWIRE
Slave
MICROWIRE
Slave
Operation

Related parts for cop87l42rj