TP3465V/NOPB National Semiconductor, TP3465V/NOPB Datasheet - Page 7

IC INTERFACE MICRWIRE DEV 28PLCC

TP3465V/NOPB

Manufacturer Part Number
TP3465V/NOPB
Description
IC INTERFACE MICRWIRE DEV 28PLCC
Manufacturer
National Semiconductor
Datasheet

Specifications of TP3465V/NOPB

Applications
ISDN
Interface
Serial EEPROM
Voltage - Supply
4.5 V ~ 5.5 V
Package / Case
28-PLCC
Mounting Type
Surface Mount
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
*TP3465V
*TP3465V/NOPB
TP3465V

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TP3465V/NOPB
Manufacturer:
ADI
Quantity:
63
Part Number:
TP3465V/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Functional Description
Example 1 Communicating with 8-bit peripheral device 0
The mwm0 bit must be set to 0 Write the MICROWIRE
data in to the FMBD0 address The 8-bit data is then shifted
out after the trailing edge of the write pulse The Chip Select
(CS0) is automatically activated (LOW) and deactivated
(HIGH) by hardware before and after the data transfer (see
timing diagrams) The 8-bit STATUS from the peripheral is
read from the FMBD0 byte location
Example 2 Communicating with 16-bit peripheral device
0
The mwm0 bit must be set to 1 Write the LOW byte of
MICROWIRE data into the SMB data register and then write
the HIGH byte in to the FMBD0 address The 16-bit data is
then shifted out after the trailing edge of the write strobe
signal for this FMBD0 address The Chip Select 0 (CS0) pin
is automatically activated (LOW) and deactivated (HIGH) by
hardware before and after the data transfer (see timing dia-
grams) The 16-bit STATUS from the peripheral is read from
the FMBD0 (HIGH data byte) and the SMB (LOW data byte)
locations
FMBD1 First MICROWIRE Byte Dev1 R W Register
Same function as FMBD0 except this refers to Device 1 and
Chip Select 1 (CS1)
FMBD2 First MICROWIRE Byte Dev2 R W Register
Same function as FMBD0 except this refers to Device 2 and
Chip Select 2 (CS2)
FMBD3 First MICROWIRE Byte Dev3 R W Register
Same function as FMBD0 except this refers to Device 3 and
Chip Select 3 (CS3)
FMBD4 First MICROWIRE Byte Dev4 R W Register
Same function as FMBD0 except this refers to Device 4 and
Chip Select 4 (CS4)
FMBD5 First MICROWIRE Byte Dev5 R W Register
Same function as FMBD0 except this refers to Device 5 and
Chip Select 5 (CS5)
FMBD6 First MICROWIRE Byte Dev6 R W Register
Same function as FMBD0 except this refers to Device 6 and
Chip Select 6 (CS6)
FMBD7 First MICROWIRE Byte Dev7 R W Register
Same function as FMBD0 except this refers to Device 7 and
Chip Select 7 (CS7)
MICROWIRE Master Slave Modes
MICROWIRE MASTER MODE
The primary application for MID is as a master of MICRO-
WIRE bus (ms bit in CKR register set to 0) and as such it
provides the SK clock out to the peripheral devices It trans-
mits data on the SO pin and receives data on the SI pin The
CS0 –7 pins are used as chip select pins for the peripherals
and have a predefined relationship with the SK clock output
Writing to the FMB pin causes the most significant bit to be
output immediately to the SO pin and the uwdone bit is
automatically reset to 0 Upon completion of transfer of ei-
ther 8 bits (mwm7
uwdone bit is set to 1 The SO pin is then set to the TRI-
STATE condition Note that when using the FMB and SMB
registers the communication mode is determined by the pa-
rameters for channel 7 (mwm7 and skp7)
e
0) or 16 bits (mwm7
(Continued)
e
1) the
7
Figure 3 shows a MID connected to devices supporting
MICROWIRE SLAVE MODE
The MID can be set to work in MICROWIRE Slave mode by
setting the ms bit to 1 The MICROWIRE clock from the
master is connected to the CKIN pin of this MID device The
SK output is ignored Normally the SO pin is in TRI-STATE
condition and while the uwdone bit is 1 any CKIN clock
inputs are ignored Writing to the FMB register causes the
most significant bit to be output immediately to the SO pin
and the uwdone bit is reset to 0 by hardware The SK clock
input is then enabled to clock data into SI and out of SO
After receiving SK clock pulses either 8 (mwm7
bits (mwm7
The SO pin is then set to TRI-STATE condition Note that
when using the FMB and SMB registers the communication
mode is determined by the parameters of channel 7 (mwm7
and skp7)
FMBD0– 7 addresses are not used in the slave mode The
CS register however can be used as a general I O port
control register
See applications section for an example of the Slave opera-
tion (Figure 6)
MICROWIRE BUS FORMATS
MID supports devices which implement either of the two
MICROWIRE bus formats a 3-pin format and a 4-pin format
each of these formats
The standard 4-pin format consists of the CCLK clock pin
CO and CI as the data out and data in pins and CS to select
the MICROWIRE peripheral ISDN transceivers and other
intelligent peripherals also have an INTerrupt signal from
the peripheral to the local microprocessor NSC MICRO-
WIRE devices with this 4-pin format include ISDN transceiv-
ers COMBO II LCD display drivers and EEPROMs
There are however some MICROWIRE peripherals (e g
TP3071 COMBO II and some EEPROMs) which support a
3-pin bus format because of package pin limitations The
format consists of the CCLK clock signal a bi-directional
data signal CO CI and a CS chip select signal The direc-
tion of the data transferred on the CO CI pin is determined
by a protocol between the Master and the Slave of the MI-
CROWIRE bus For example the TP3071 implements a
two-byte protocol The first byte into the TP3071 indicates a
Read or a Write operation and thus defines the direction of
the next byte to the device
Software Driver Procedures
This section describes the steps for software driver routines
to communicate with different MICROWIRE devices (8-bit
16-bit or more) and those supporting the 3-pin or 4-pin
MICROWIRE bus formats
INITIALIZATION
1 Write to PD (Pin Definition) register to set the desired chip
2 Write to SKP (SK polarity) to select the polarity of the SK
3 Write to MWM (MICROWIRE Mode) register to select
select control pins (CS0– 7) as outputs (All CS pins are
set to inputs on chip RESET )
clock for each of the MICROWIRE devices connected to
CS0 – 7 pins
whether 8- or 16-bit devices are attached to the CS0– 7
pins Devices needing more than 16-bits may still be con-
figured as 8-bit mode (if multiple of 8) or 16-bit mode (if
multiple of 16 bits)
e
1) the uwdone bit is set to 1 by hardware
e
0) or 16

Related parts for TP3465V/NOPB