ETC IC_SS

February 1995
ICSS1001, ICSS1002, and ICSS1003
IC/SS Power Line Carrier
Local Area Network Chip Set
General Description
Integrated Circuit/Spread Spectrum (IC/SSTM ) is a power
line carrier local area network system implemented in a
three chip solution, using power line carrier technology developed by Itron and Cyplex. It is designed to operate with
high reliability over the full range of power line conditions.
IC/SS is offered with an integral local area network protocol, designed specifically for supervisory control and data
acquisition applications.
Y
Y
Y
Y
Y
Features
Y
Y
Spread spectrum, adaptive frequency hopping modulation provides high immunity to power line noise.
Network/transparent option offers the user the ability to
carry proprietary protocols transparently, or to use the
built-in link layer protocol.
A very flexible interface to the user’s circuit is provided,
configurable either to accept serial data or to accept
data from an 8-bit parallel bus. Handshake lines are
provided to facilitate interface to common microprocessors in parallel mode.
When used with the specified coupling networks, the
modem operates in conformance with both the
CENELEC standard for electric utility application
(9 kHz – 95 kHz), and with FCC Class A requirements.
Data rate is variable, based on line conditions, from
300 bps to 3200 bps.
When used with the specified coupling networks, the
system provides 93 dB of dynamic range, appropriate
for line loading and attenuation effects common on
power lines.
The modem’s bit error rate performance in additive
white noise approaches the theoretical maximum, and
in addition it provides excellent immunity to the impulsive noise characteristic of power lines.
Applications
Y
Y
Y
Y
Y
Automated meter reading (AMR)
Demand side management
Distribution automation
Environmental control systems
Other power line carrier applications requiring high
reliability
Block Diagram
TL/DD/11727 – 1
TRI-STATEÉ is a registered trademark of National Semiconductor Corporation.
MICROWIRETM and WATCHDOGTM are trademarks of National Semiconductor Corporation.
IC/SSTM is a trademark of Cyplex.
C1995 National Semiconductor Corporation
TL/DD11727
RRD-B30M105/Printed in U. S. A.
ICSS1001, ICSS1002, and ICSS1003 IC/SS Power Line Carrier Local Area Network Chip Set
PRELIMINARY
Modem Operation
A block diagram of the modem is shown on page 1. It includes four major elements:
1. Coupling network to the power line.
2. Analog filter, gain control, and A/D.
3. Digital filter and control logic.
4. System controller.
Each of these is described in more detail below.
COUPLING NETWORK
The coupling network provides protection against the AC
power line 60 Hz/50 Hz energy, and initial filtering of power
line noise. It provides a match of impedances to the power
line, and also contains a power amplification stage for the
transmitter. A variety of coupling networks are available
from Cyplex, suitable for:
220 VAC ungrounded operation (meters and 220 VAC
load control).
110 VAC/neutral operation (110 VAC load control).
Three-terminal operation (intended for gateways and
master units which must communicate with both of the
above).
The coupling networks require g 5V power, ground, and interface to the analog section of the system.
TL/DD/11727 – 4
Plastic Leaded Chip Carrier (PLCC)
Order Number ICSS1003V
NS Package Number V44A
ICSS1001ÐController
The controller provides the adaptive frequency hopping, the
user interface, and link layer protocol.
ICSS1002ÐDigital Chip
The digital section of the system provides additional receive
filtering and received signal detection functions. It generates
the necessary internal clocks and interface signals to the
microcontroller.
ICSS1003ÐAnalog Chip
The analog section of the system provides receive signal
filtering, and also generates the transmit carrier based on
control and clock signals from the digital section.
Connection Diagrams
TL/DD/11727 – 28
Plastic Quad Flatpak (PQFP)
Order Number ICSS1003VGZ
NS Package Number VGZ44A
TL/DD/11727–2
Wide Molded Small Outline Package (WM)
Order Number ICSS1001WM
NS Package Number M28B
2
Connection Diagrams (Continued)
TL/DD/11727 – 3
Plastic Leaded Chip Carrier (PLCC)
Order Number ICSS1002V4
NS Package Number V68A
TL/DD/11727 – 27
Plastic Quad Flatpak (PQFP)
Order Number ICSS1002VJE
NS Package Number VJE80B
3
Pin Descriptions
Tables I, II and III describe the various pins that are used for
external connections outside of the chip set. These pins are
shown in the Connection Diagrams.
One of the following:
I
Input
O Output
T TRI-STATEÉ
P Power
Function A brief description of each signal’s function.
Type
TABLE I. ICSS1001 Pin Descriptions
Pin Name
Pin No.
Type
Function
SO/G4
1
O
MICROWIRETM
SK/G5
2
O
MICROWIRE clock to digital ASIC
SO to digital ASIC
SI/G6
3
I
MICROWIRE SI from digital ASIC
G7
4
O
Overflow of A/D converter from analog ASIC
CKI
5
l
8 MHz clock input from digital ASIC
VCC
6
P
Input power
I0
7
I
RAW DATA input from digital ASIC
I1
8
O
RxRDY handshake line for parallel port
I2
9
I
SER/PAR-input read after reset determines whether firmware will use serial or parallel host
port. HIGH e serial
I3
10
I
NET/TRN-input read continuously. If HIGH and serial port is selected commands are
processed; if LOW, all received characters are treated as transparent data. If parallel port is
selected, this pin has no effect.
L0
11
I
RTS flow control from host. If serial port is selected (pin 9 e HIGH), LOW enables output of
data on RCD and HIGH prevents output on RCD. A byte in the process of being output when
RTS goes HIGH will be completed. RTS has no effect if parallel port is selected.
If parallel is selected (pin 9 e LOW), COMMAND HIGH denotes the presence of a command
in the parallel port input buffer. LOW denotes the presence of data.
L1
12
O
CTS flow control to host. Normally LOW. If serial port is selected (pin 9 e HIGH) then HIGH
indicates host should not send data to TXD. A maximum of three bytes will be accepted after a
transition from LOW to HIGH.
If parallel port is selected (pin 9 e LOW), then STATUS HIGH denotes that the byte available
for the host to read is a status code. A LOW denotes that the available byte is data.
L2
13
O
RCD receive data output to host, in byte asynchronous format, 8 data bits, parity one start and
one stop bit. Active baud rate and parity default is 1200 baud, no parity. Other settings may be
selected by DIP switch. Active only if serial port is selected.
L3
L4
14
I
TXD transmit data input from host
15
O
LTXD CLK serial data clock for data to be transmitted by the digital ASIC, not Manchesterencoded
L5
16
O
TxRDY handshake line for parallel port
L6
17
O
PTT Active LOW places digital chip in transmit mode
L7
18
O
LTXD serial data to be transmitted by digital ASIC, not Manchester-encoded. Active HIGH.
ASIC Manchester-encodes the data using LTXD CLK.
D0
19
O
CSD digital ASIC internal MlCROWIRE register address selection
D1
20
O
CSD1 digital ASIC internal MlCROWIRE register address selection
D2
21
O
CSD2 digital ASIC internal MICROWIRE register address selection
D3
22
O
STROBE MICROWIRE output to digital ASIC
GROUND
23
P
Ground
RESET
24
I
RESET from digital chip
4
Pin Descriptions (Continued)
TABLE I. ICSS1001 Pin Descriptions (Continued)
Pin No.
Type
G0
Pin Name
25
I
Function
G1
26
G2
27
I
LRCD recovered data from demodulated data input from digital ASIC, after Manchester
decoding
G3
28
O
WDT firmware outputs a square wave to digital chip, maintaining a one-shot. If WDT output
stops, digital ASIC will force a system reset on pin 24.
LRCD CLK recovered clock from demodulated data input from digital ASlC
No connection
TABLE II. ICSS1002 Pin Descriptions
Pin No.
(V Pkg.)
Type
IHICLK
1
O
Output Test Point: A test point.
QHICLK
2
O
Output Test Point: A test point.
8 MHz
3
O
8 MHz Output: This is the CLK divided by 2. This output goes low while RESET is LOW.
SI
5
T
MICROWIRE Serial Input: This pin drives the MICROWIRE SI Input on the controller.
SK
6
T
MICROWIRE Shift Clock: This pin accepts the MICROWIRE shift clock to the Controller
interface on the IC/SS digital ASIC.
SO
7
T
MICROWIRE Serial Output: This pin accepts the MICROWIRE serial data to the
Controller interface on the IC/SS digital ASIC.
LRCD
8
O
Recovered Data: This is the serial data received from the power line after Manchester
decoding.
WDT
9
T
WATCHDOGTM Timer Disable: This input from the controller keeps the digital ASIC
active. If it goes away, the digital ASlC will generate RESET pulse after the WATCHDOG
timers times out. This RESET pulse will reset the entire PLC chip set.
LRCDCLK
10
O
Recovered Clock: This is the clock received from the power line after Manchester
decoding.
RESET
11
I
Reset: Active LOW reset for the entire IC/SS chip set.
STROBE
13
T
MICROWIRE Strobe input: This pin accepts the MICROWIRE strobe to the controller
interface on the IC/SS digital ASIC.
CSD2 – CSD0
14–16
T
Controller Interface Mode Select: These inputs are used to select the operation modes
of the controller interface circuitry on the IC/SS digital ASIC.
MTP0 – MTP3
18–21
O
Test Points: These output pins provide access to one of the filter outputs on the detector
integration bus.
LTXD
23
O
Serial Data to be transmitted: This input is the serial data to be transmitted. It is not
Manchester encoded.
PTT
24
T
Push to talk: This is an active low signal that puts the digital ASIC into the transmit mode.
LTXD CLK
25
T
Serial Data Transmit Clock: This input is the clock for the serial data (LTXD) that is used
to Manchester encode the data prior to transmission.
RAW DATA
26
O
Raw Data: This output is the raw data received by the IC/SS circuit after de-multiplex prior
to Manchester decode.
TxRDY
27
O
Transmit Data Ready: When this signal is HIGH the parallel port is ready to accept a new
byte from the user data bus.
RxRDY
28
O
Receive Data Ready: When this signal is HIGH there is a byte available in the parallel
port to be read by the user data bus.
Pin Name
Function
LPCLK
29
O
LPCLK: This is an internal test point.
BPCLK
30
O
BPCLK: This is an internal test point.
CS2
31
O
Chip Select: This is the MICROWIRE chip select output. It is used to enable read/write of
external MICROWIRE data ports.
5
Pin Descriptions (Continued)
TABLE II. ICSS1002 Pin Descriptions (Continued)
Pin Name
Pin No
(V Pkg.)
Type
D0 – D7
Function
33– 40
I/O
RD
42
T
Read: This is the parallel port read control. Used with Chip Enable it allows the
parallel port to be read.
WR
43
T
Write: This is the parallel port write control. Used with Chip Enable it allows the
parallel port to be written.
CE
44
T
Chip Enable: This is the parallel port enable to read or write. It is active low.
DRV EN
45
O
Drive Enable: This is the transmit enable signal used by the Analog chip to disable
the receiver mode and enable the transmitter mode
46–49
O
Test Points: These output pins provide access to one of the filter outputs of the
detector integration bus
7F
50
O
Seventh Harmonic Overtone Cancellation Signal: This is the seventh harmonic
overtone cancellation signal used to convert FSQWV to a sine wave in the Analog
chip D/A
5F
51
O
Fifth Harmonic Overtone Cancellation Signal: This is the fifth harmonic overtone
cancellation signal used to convert FSQWV to a sine wave in the Analog chip D/A
3F
52
O
Third Harmonic Overtone Cancellation Signal: This is the Third harmonic overtone
cancellation signal used to convert FSQWV to a sine wave in the Analog chip D/A
FSQWV
53
O
Square Wave Transmit Signal: This is the Manchester-encoded frequency mixed
signal, ready for transmission to the power line
AD CLK
55
O
A/D Clock: This is the clock for the Analog chip AID converter. It is used to latch the
AD output. It is the A/D sample rate. This is the CLK divided by 16. This output goes
HIGH while RESET is LOW.
AD3 – AD0
56–59
T
Received Data: These pins are the digital four bit bus from the Analog chip which
contains the ones complement A/D converted signal from the power line
C2 – C0
61– 63
O
Analog Gain Control: These signals are used to set the gain of the Analog chip gain
controlled amplifier
Power on AC
64
O
Power on Reset RC Node: This is the power on reset Resistor/Capacitor connect
point. An external RC network charges up to the gate threshold to release the RESET
signal. When this pin is LOW the RESET is active.
SEL4X8
66
T
Select 4X or 8X: This is the select line used to set the digital filter clock sample rate
CLK
67
T
Clock: This is the 16 MHz clock input
SEL TP
68
T
Select Test Points: This signal selects which internal nodes are brought out on the
Test Point Bus and whether Raw Data is inverted or not
VCC
4, 22, 41, 60
P
VCC: These are positive voltage power supply pins to the part
GND
12, 17, 32,
54, 65
P
GND: These are the negative (or 0V) power supply pins to the part
MTP4 – MTP7
Data Bus: This is the parallel port data bus.
TABLE III. ICSS1003 Pin Descriptions
Pin Name
Pin No.
(V Pkg.)
Type
Function
GCO
1
AGND
2
P
VCC
3
P
Digital Positive Power Supply Pin: The VCC pin for the digital portion of the ASIC
4–6
I
Gain Control Amplifier Gain Setting: These pins set the gain of the gain control amplifier.
These signals are generated by the digital ASIC.
7
O
A/D Overflow Signal: This signal goes HIGH if the Analog signal from the gain control
amplifier to the Analog to Digital Converter is being clipped by the A/D converter
C0 – C2
ERR
Gain Control Amplifier Test Point: A test point to monitor the gain of the gain amplifier
Analog Ground: The ground reference pin for the gain control amplifier
6
Pin Descriptions (Continued)
TABLE III. ICSS1003 Pin Descriptions (Continued)
Pin Name
Pin No.
(V Pkg.)
Type
AD0 – AD3
8–11
O
A/D Digital Output: These signals are the ones complement digital output of the signal
received from the power line. It is the output of the flash A/D sampled at the AD CLK rate.
AD CLK
12
I
Clock For The Flash A/D Converter: This is the clock used by the A/D converter to sample
the signal received from the power line. It is normally 1 MHz and is generated by the digital
ASIC.
DGND
13
P
Digital Ground Power Supply Pin: This is the ground (0V) power supply for the digital
portion of the ASIC
FSQWV
14
I
Square Wave Transmit Signal: This is the Manchester-encoded, frequency mixed signal
3F
15
I
Third Harmonic Overtone Cancellation Signal: This is the third harmonic overtone
cancellation signal used to convert FSQWV to a sine wave in the Analog chip D/A
5F
16
I
Fifth Harmonic: Overtone Cancellation Signal: This is the fifth harmonic overtone
cancellation signal used to convert FSQWV to a sine wave in the Analog chip D/A
7F
17
I
Seventh Harmonic: Overtone Cancellation Signal: This is the seventh harmonic overtone
cancellation signal used to convert FSQWV to a sine wave in the Analog chip D/A
DRV EN
18
I
Drive Enable: This is the transmit enable signal used by the Analog chip to disable the
receiver mode and enable the transmitter mode
VEED
19
P
Digital Negative Power Supply Pin: This is the negative (b5V) power supply for the digital
portion of the ASIC
XMTS
20
O
Digital To Analog Converter Integrator Output: This is the analog output of the D/A
converter integrator
WVIN
21
OT1
23
O
Amplifier Output: Buffer amplifier between the D/A converter and the power driver amplifier
output
IT1
24
I
Amplifier Positive Input: Buffer amplifier between the D/A converter and the power driver
amplifier positive input
IT2
25
I
Amplifier Negative Input: Buffer amplifier between the D/A converter and the power driver
amplifier negative input
DIN
26
I
Power Amplifier Input: This is the power amplifier input
VEEA
28
P
Analog Negative Power Supply Pin: This is the negative (b5V) power supply for the analog
portion of the ASIC
DC1
29
O
Power Amplifier Divided Input: This is the power amplifier resistor divided input
D3
30
I
Power Amplifier Feedback Input: This is one of the switched power amplifier feedback
points
D0
31
I
Power Amplifier Feedback Input: This is one of the switched power amplifier feedback
points
D2
32
O
Power Amplifier Negative Output: This is the power amplifier negative output driver output
D1
33
O
Power Amplifier Positive Output: This is the power amplifier positive output driver output
IR1
35
O
Unity Gain Amplifier Input: First stage receiver filter input
OR1
36
O
Unity Gain Amplifier Output: First stage receiver filter output
IR2
37
I
Unity Gain Amplifier Input: Second stage receiver filter input
Function
Digital To Analog Converter Integrator Input: This is the analog input of the D/A converter
integrator. It is connected internally to the D/A converter output. It is used to connect the
external integrator capacitor to the integrator input.
7
Pin Descriptions (Continued)
TABLE III. ICSS1003 Pin Descriptions (Continued)
Pin No.
(V Pkg.)
Type
IR2
38
O
GCI
39
I
Gain Control Amplifier Input: This is the gain control amplifier input
VCCA
40
P
Analog Positive Power Supply Pin: The VCC pin for the analog portion of the ASIC
CC2
42
Gain Control Amplifier Offset Compensation Input: This is the gain control amplifier
offset compensation input capacitor connect point
CC1
43
Gain Control Amplifier Offset Compensation Output: This is the gain control
amplifier offset compensation output capacitor connect point
AGND
44
Analog Gain Control: This is the ground (0V) power supply for the analog portion of the
ASIC
Pin Name
NC
22, 27, 34, 41
Function
Unity Gain Amplifier Output: Second stage receiver filter output
No Connect: These pins are not connected
Absolute Maximum Ratings
Note: Absolute maximum ratings indicate limits beyond
which damage to the device may occur. DC and AC electrical specifications are not ensured when operating the device at absolute maximum ratings.
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales
Office/Distributors for availability and specifications.
Supply Voltage
7V
Total Current into VCC Pin (Source)
100 mA
Total Current out of GND Pin (Sink)
Storage Temperature Range
110 mA
b 65§ C to a 150§ C
ICSS1001 DC Electrical Characteristics (b40§ C s TA s a 85§ C)
Parameter
Conditions
Operating Voltage Power Supply Ripple (Note 1)
Min
Typ
2.5
Peak to Peak
Supply Current
CKI e 10 MHz (Note 2)
CKI e 4 MHz
VCC e 6V, tC e 1 ms
VCC e 2.5V, tC e 2.5 ms
HALT (Note 3)
VCC e 6V, CKI e 0 MHz
IDLE
CKI e 10 MHz
CKI e 4 MHz
VCC e 6V, tC e 1 ms
VCC e 2.5V, tC e 2.5 ms
Input Levels (VIH, VIL)
Reset, CKI
Logic HIGH
Logic LOW
All Other Inputs
Logic HIGH
Logic LOW
Hi-Z Input Leakage Input Pull-Up Current
G Port Input Hysteresis
k1
Max
Units
5.5
0.1 VCC
V
15
2
mA
10
mA
2.2
0.6
mA
mA
0.2 VCC
V
0.8 VCC
0.7 VCC
0.2 VCC
VCC e 6V
VCC e 6V, VIN e 0V
(Note 6)
8
b2
40
0.05 VCC
a2
250
mA
0.35 VCC
V
ICSS1001 DC Electrical Characteristics (b40§ C s TA s a 85§ C) (Continued)
Parameter
Output Current Levels
D Outputs
Source
VCC e 2.5V, VOH e 1.8V
Sink
VCC e 2.5V, VOL e 0.4V
All Others
Source (Weak Pull-Up)
VCC e 2.5V, VOH e 1.8V
Source (Push-Pull)
VCC e 2.5V, VOH e 1.8V
Sink (Push-Pull)
VCC e 2.5V, VOL e 0.4V
TRI-STATE Leakage
Conditions
Min
VCC e 4.0V, VOH e 3.3V
0.4
0.2
10
0.2
VCC e 4.0V, VOL e 1.0V
VCC e 4.0V, VOH e 2.7V
VCC e 4.0V, VOH e 3.3V
VCC e 4.0V, VOL e 0.4V
VCC e 6.0V
Typ
10
2.5
0.4
0.2
1.6
0.7
b 2.0
Allowable Sink/Source Current per Pin
D Outputs (Sink)
All Other
Max
Units
mA
mA
mA
mA
110
33
a 2.0
mA
mA
mA
mA
mA
mA
mA
15
3
mA
g 100
mA
Maximum Input Current without Latchup
(Notes 4, 6)
Room Temp
RAM Retention Voltage, VR (Note 5)
500 ns Rise and Fall Time
Input Capacitance
(Note 6)
7
pF
Load Capacitance
(Note 6)
1000
pF
2.0
V
Note 1: Maximum rate of voltage change must be less than 0.5V/ms.
Note 2: Supply current is measured after running 2000 cycles with a square wave CKI input, CKO open, inputs at rails, and outputs open.
Note 3: The HALT mode will stop CKI from oscillating in the RC and the Crystal configurations. HALT test conditions: all inputs tied to VCC; L and G port I/Os
configured as outputs and programmed low; D outputs programmed low. Parameter refers to HALT mode entered via setting bit 7 of the G Port data register. Part
will pull up CKI during HALT in crystal clock mode.
Note 4: Pins G6 and RESET are designed with a high voltage input network. These pins allow input voltages greater than VCC and the pins will have sink current to
VCC when biased at voltages greater than VCC (the pins do not have source current when biased at a voltage below VCC). The effective resistance to VCC is 750X
(typical). These two pins will not latch up. The voltage at the pins must be limited to less than 14V. Voltages in excess of 14V will cause damage to the pins. This
excludes ESD transients.
Note 5: Condition and parameter valid only for part in HALT mode.
Note 6: Parameter characterized but not tested.
9
ICSS1001 AC Electrical Characteristics (b40§ C k TA k a 85§ C)
Symbol
(tc)
Parameter
Instruction Cycle Time
Crystal/Resonator
R/C Oscillator
CKI Clock Duty Cycle (Note 1)
tSETUP
tHOLD
(tPD1, tPD0)
Min
VCC t 4.0V
2.5 s VCC s 4.0V
VCC t 4.0V
2.5 s VCC s 4.0V
Typ
Max
Units
1.0
2.5
3.0
7.5
DC
DC
DC
DC
ms
f e Max
40
60
%
VCC t 4.5V
2.5 s VCC s 4.0V
VCC t 4.5V
2.5 s VCC s 4.0V
200
500
60
150
Inputs
Output Propagation Delay
SK, SO
CL e 100 pF, RL e 2.2k
VCC t 4.5V
2.5 s VCC s 4.0V
VCC t 4.5V
2.5 s VCC s 4.0V
All Others
(tUWS)
(tUWH)
(tUPD)
Conditions
MICROWlRE
Setup Time (Note 1)
Hold Time (Note 1)
Output Propagation Delay
ns
ns
0.7
1
2.5
20
56
ms
ns
220
Input Pulse Width (Note 2)
Interrupt High Time
Interrupt Low Time
Timer 1, 2 High Time
Timer 1, 2 Low Time
1
1
1
1
tc
Reset Pulse Width (Note 1)
1.0
ms
Note 1: Parameter characterized but not tested.
Note 2: tc e Instruction Cycle Time.
TL/DD/11727 – 5
10
ICSS1002 DC Electrical Characteristics
Specified at VCC e 5V g 10%, VSS e GND, over all temperature ranges unless otherwise specified.
Symbol
VIL
Parameter
Conditions
Min
Low Level Input Voltage (Note 1)
TTL Level
VCC e 4.5V
High Level Input Voltage (Note 1)
TTL Level
VCC e 5.5V
VT a
Positive-Going Threshold VoltageÐSchmitt Trigger (Note 1)
VCC e 5.5V
VTb
Negative-Going Threshold VoltageÐSchmitt Trigger (Note 1)
VCC e 5.5V
1.0
VH
Hysteresis VoltageÐSchmitt Trigger (Note 1)
VCC e 5.5V
1.0
IIL
Low Level Input Leakage Current
Without Pull-Down Resistor
With Pull-Up Resistor
With Pull-Down Resistor
VIN e GND, VCC e 5.5V
High Level Input Leakage Current
Without Pull-Down Resistor
With Pull-Up Resistor
With Pull-Down Resistor
VIN e VCC e 5.5V
VOL
Low Level Output Voltage
Reset
IOL e 4 mA, VCC e 4.5V
IOL e 12 mA, VCC e 4.5V
VOH
High Level Output Voltage
IOL e b4 mA, VCC e 4.5V
IOZL
Low Level Output Leakage Current (Note 2)
VO e GND, VCC e 5.5V
VIN e VIL
IOZH
High Level Output Leakage Current (Note 2)
VO e VCC e 5.5V
VIN e VIL
ICC
Power Supply Current Drain, DC (Note 3)
VCC e 5.5V
CIN
COUT
VIH
IIH
Typ
Max
0.8
Units
V
V
2.0
3.9
V
V
1.6
V
b 10
b 200
b 10
mA
10
10
200
mA
0.5
0.5
V
3.7
V
b 160
mA
160
mA
1
mA
Input Capacitance (Note 1)
20
pF
Output Capacitance (Note 1)
20
pF
Note 1: Specification is guaranteed by design. This test cannot be performed unless a hook-up to a special output is defined.
Note 2: IOZ specifications are for output buffers without pull-up or pull-down resistors.
Note 3: DC means at power on with CLK and POWER ON RC inputs low, all other signal pins open.
11
ICSS1002 AC Electrical Characteristics
The AC Electrical Characteristics for the ICSS1002 are not measured. They are guaranteed by design, unless otherwise noted.
The CLK input should be a 16 MHz signal with a period of 62.5 ns and with tPWLCLK and tPWHCLK of 31.25 ns 6.25 ns. This is
equivalent to requiring a 50% 10% duty cycle on the CLK input. See Figure 2 .
TL/DD/11727 – 6
FIGURE 1. Clock (CLK) Input
8 MHz Output
With a 16 MHz input on CLK, the 8 MHz output will be an 8 MHz square wave with a tPRD8 of 125 ns and with tPWH8 and tPWL8
of 62.5 ns. The 8 MHz signal will transition on rising edges of the CLK signal.
TL/DD/11727 – 7
FIGURE 2. 8 MHz Output
AD CLK Output
With a 16 MHz input on CLK, the AD CLK output will be a 1.0 MHz square wave with a tPRDAD of 1.0 ms and with tPWHAD and
tPWLAD of 0.5 ms. The AD CLK signal will transition on rising edges of the CLK signal.
TL/DD/11727 – 8
FIGURE 3. AD CLK Output
12
ICSS1002 AC Electrical Characteristics (Continued)
All specifications guaranteed by simulation.
Symbol
Parameter
Conditions
Min
Typ
Max
62.5
Units
TPRDCLK
CLK Period
ns
TPWLCLK
CLK Pulse Width Low
25
31.25
37.5
ns
TPWHCLK
CLK Pulse Width High
25
31.25
37.5
ns
TPRD8
8 MHz Period
125
ns
TPWL8
8 MHz Pulse Width Low
62.5
ns
TPWH8
8 MHz Pulse Width High
62.5
TPWK8R
Propagation Delay CLK to 8 MHz Going High
30
TCLLK8L
Propagation Delay CLK to 8 MHz Going Low
30
TPRDAD
AD CLK Period
1000
ns
TPWLAD
AD CLK Pulse Width Low
500
ns
TPWHAD
AD CLK Pulse Width High
500
TCLKADR
Propagation Delay CLK to AD CLK Going High
40
TCLKADL
Propagation Delay CLK to AD CLK Going Low
40
ns
TCKSIH
Propagation Delay CSD Bus Valid to SI Valid
30
ns
TSKSI
Propagation Delay SK Going Low to SI Next Value
TPWHSK
Minimum Pulse Width High for SK
50
TPWLSK
Minimum Pulse Width Low for SK
50
TCDSIL
Propagation Delay CSD Bus Low to SI TRI-STATE
TSUCDSK
Setup of CSD Bus Valid to SK Going High
20
ns
TSUSOSK
Setup of SO Valid Data to SK Going High
20
ns
THSOSK
Hold of SO Valid Data after SK Going High
20
ns
THCDSK
Hold of CSD Bus Valid after SK Going High
20
ns
TSUSTSK
Setup of SK Going High to STROBE Going High
50
TCDRX
Propagation Delay CSD Bus Low to RXRDY High
TSURXRD
Setup of RXRDY Going High to RD Going Low
20
ns
TSUSTRD
Setup of STROBE Going High to RD Going Low
20
ns
TRDRX
Propagation Delay RD High to RXRDY High
30
ns
TRDDBL
Propagation Delay RD Going Low to Data Bus Valid
30
ns
TRDDBH
Prop. Delay RD Going High to Data Bus TRI-STATE
30
TPWRD
Minimum Pulse Width Low for RD
TCDTX
Propagation Delay CSD Bus Low to TXRDY High
TSUTXWR
Setup of TXRDY Going High to WR Going Low
20
TSUDBWR
Setup of Data Bus Valid to WR Going Low
20
TWRTX
Propagation Delay WR High to TXRDY Low
THDBWR
Hold of Data Bus Valid after WR Going Low
20
ns
TPWWR
Minimum Pulse Width Low for WR
50
ns
ns
ns
ns
30
ns
ns
ns
ns
40
ns
ns
30
50
ns
ns
ns
30
ns
ns
ns
30
13
ns
ns
ICSS1003 DC Electrical Characteristics
Symbol
Parameter
Conditions
IIH
Input Leakage Current High
VIN e VCC e 5V, VEE e b5V
IIL
Input Leakage Current Low
VIN e 0V, VCC e 5V, VEE e b5V
VIL
Input Low Voltage, TTL Input
VCC e 5V, VEE e b5V
VIH
Input High Voltage, TTL Input
VCC e 5V, VEE e b5V
VOL
Output Low Voltage
IOL e 2 mA, VCC e 5V
VOH
Output High Voltage
IOH e b400 mA, VCC e 5V
VOSF
Filter Operational Amplifier Offset Voltage
VCC e 5V, VEE e b5V
VOSG
Gain Control Amplifier Offset Voltage
IIB
VSWP
Min
Typ
Max
10
b 10
Units
mA
mA
0.8
2.0
V
V
0.5
V
b 10
10
mV
VCC e 5V, VEE e b5V
b 20
20
mV
Gain Control Filter Input Bias Current
VCC e 5V, VEE e b5V
b5
5
mA
Minimum Output Voltage Swing Positive
VCC e 5V, VEE e b5V
2.5
VSWN
Minimum Output Voltage Swing Negative
VCC e 5V, VEE e b5V
b 2.5
V
VSWPD
Minimum Output Voltage Swing Positive:
Driver D1 and D2 Outputs
VCC e 5V, VEE e b5V
VSWND
Minimum Output Voltage Swing Negative:
Driver D1 and D2 Outputs
VCC e 5V, VEE e b5V
IOUTP
Minimum Output Current Drive Positive:
Driver D1 and D2 Outputs
VCC e 5V, VEE e b5V
IOUTN
Minimum Output Current Drive Negative:
Driver D1 and D2 Outputs
VCC e 5V, VEE e b5V
ICC
Positive Power Supply Current (Note 1)
VCC e 5V
IEE
Negative Power Supply Current (Note 2)
VCC e 5V
CIN
Input Capacitance (Note 3)
20
pf
COUT
Output Capacitance (Note 3)
20
pf
Note 1: ICC conditions.
Note 2: IEE conditions.
Note 3: Specification is guaranteed by design.
14
2.4
V
V
4.0
V
b4
V
30
mA
b 30
mA
100
mA
b 100
mA
ICSS1003 AC Electrical Characteristics (Continued)
The AC Electrical Characteristics for the ICSS1003 are not measured. They are guaranteed by design, unless otherwise noted.
AD CLK to AD Bus
The AD bus (AD3–AD0) changes on the rising edge of the AD CLK.
TL/DD/11727 – 9
FIGURE 4. AD CLK to AD Bus
Symbol
Parameter
Min
FMAXAD
Maximum Clock Frequency AD CLK
TCLKAD
Propagation Delay AD CLK to AD Bus (Note 1)
BWF
Filter Operational Amplifier Small Signal b3 dB Bandwidth
SRF
Filter Operational Amplifier Output Slew Rate
BWGMIN
Gain Control Amplifier Small Signal b3 dB Bandwidth at Maximum Gain Setting
BWGMAX
Gain Control Amplifier Small Signal b3 dB Bandwidth at Maximum Gain Setting
SRG
Gain Control Amplifier Output Slew Rate (VOUT e 5 VPP)
GCS
Gain Control Amplifier Gain Selection Delay
ROD
Gain Control Amplifier Overdrive Recovery Time
BWD
Driver Amplifier Small Signal b3 dB Bandwidth
SRD
Driver Amplifier Output Slew Rate (VOUT e 5 VPP)
ENDRV
Enable/Disable Delay of Driver from DRV EN
Typ
Max
1.0
MHz
50
5
V/ms
2.5
MHz
0.3
MHz
2.5
V/ms
1.0
ms
3
ms
0.5
MHz
2.5
V/ms
100
15
ns
MHz
2.5
Note 1: Estimated, but not tested or guaranteed.
Units
ms
Network Operation
In addition a 27 bit error code is appended to the end of
each packet. It consists of three bytes plus byte parity. The
three bytes together comprise a CRC-24. This error coding
allows implementation in software in real time, meets IEC
and CENELEC requirements, and works well with the overlay technique.
SYNCHRONIZATION AND NETWORK ACQUISITION BY
SLAVES
This section describes the process through which a network
is initialized, and through which additional subscribers
(Slaves) join the network.
Slave Initialization
Upon initialization, a Slave must search for and find the tune
and bit rate currently in use. It proceeds as follows:
1. All tunes are searched, starting with the highest.
2. Within each tune search, bit rate is searched, starting at
the highest bit rate.
3. Within each bit rate, gain is optimized using the peak
search procedure described in 1 and 2.
4. If a valid packet is obtained during this process, then the
Slave knows the tune and switches to it, entering run
mode. The Slave knows a packet is valid when the error
code checks correctly.
5. If not, the Slave proceeds to search all the possible
tunes and bit rates, remaining on each combination for
four packet times.
This process is repeated until a valid packet is heard.
Overlay of Retries
Overlay of retries means saving those portions of earlier
blocks which were not corrupted, so that on a subsequent
retry a complete message can be assembled. A single impulse noise burst should only affect one or two bytes, and,
since the timing of retries is arbitrary due to variable block
length, it is unlikely that impulsive noise bursts will hit the
same portion of a message on successive retry attempts.
If a given byte of a packet has invalid parity, the receiver will
continue to collect data for the remainder of the packet, and
will store those bytes with valid parity in the receive buffer.
However, if the first byte, which contains the packet length,
is corrupted, the entire packet must be abandoned.
On subsequent retries, if any byte is invalid, it will not be
written to the receive buffer, but the corresponding byte already stored from the previous transmission or transmissions will be used. At the end of the packet, if the 27 bit
error code is found to be valid, then a complete packet has
been assembled and it will be output as such.
This approach allows the system to communicate successfully even in an environment so noisy that every packet has
uncorrectable errors. It is only necessary that each byte get
through once.
Master Initialization
The Master starts by performing the Slave initialization sequence to see if a network with the same network address
already exists. If so, it will listen and wait for that Master to
falter. When it no longer detects the other Master, it will step
in and try to take over.
Application software developed for IC/SS must keep track
of the number of Masters and their addresses, as the dueling Master situation is impossible to prevent and can be
very confusing.
If the Master cannot find a Slave with its own network address, it will proceed to the next frequency channel, and
repeat the process.
PACKET STRUCTURE
Data is sent between units in packets of variable length,
containing from zero to 17 bytes of data, plus protocol information and error coding. The packet format is shown in Figure 5 .
Network Runtime Operation
In order to keep the system gain and tune selection optimal,
the network is always kept active. In network mode, the
Master runs autopoll whenever there is no required host
traffic.
Once a network is established with one or more Slaves, the
tune control will be performed as described above.
ERROR CODING AND TIME DIVERSITY
In addition to frequency-dependent noise which is combated by the adaptive frequency hopping described above,
power lines suffer from impulsive noise. Impulsive noise
bursts occupy all frequency bands for relatively short periods, often less than one bit time. This noise tends to be
synchronous at 100 Hz or 120 Hz due to its origin.
In network mode and in the software loopback function of
transparent mode, two techniques are employed to reduce
sensitivity to impulse noise: error correction and overlay of
retries.
TL/DD/11727 – 10
FIGURE 5. Packet Structure
For all communication modes between Master and Slaves
except broadcast, a block-ahead acknowledgment procedure is used. This ensures that packets are retried if errors
cannot be corrected. The number of retries is limited by a
retry count parameter. The application program is thus guaranteed that either a packet will be delivered to the far end,
or the application program will be notified that this is impossible.
Error Detection
Bytes transmitted over the network are 9 bits long, 8 bits of
data plus a parity bit. This allows the receiving unit to detect
single-bit errors in any byte.
16
Network Operation (Continued)
# Commands which control physical layer operation.
Two different maximum retry count levels are stored in firmware. The higher value is used once a link has been established.
The detailed syntax of all the commands is described below.
If a modem receives an illegal command code (character
following kkESCll is not one of the command codes
listed for Master or Slave, as the case may be), it will output
kk ESC ll kk BELL ll . If the modem is a Master, it will
return to default state (autopoll address 1).
Commands are distinguished from data in different ways,
depending on whether the chip set is configured for serial or
parallel operation.
In serial operation, commands and status responses are
prefixed by an kkESCll character. The interface reverts
to data mode after transfer of a legal command syntax (or a
sequence comprising illegal syntax). To transmit an escape
character in the application data stream, send
kk ESC llkk ESC ll .
In parallel mode, commands and responses are distinguished from data by two pins on the parallel interface:
COMMAND for input to the chip and STATUS for output
from the chip. The respective pin should be placed in HIGH
state by the device performing data output prior to the availability of data. A signal on one of these two pins replaces
the kkESCll characters described for the serial port;
kk ESC ll characters are not required to designate commands when operating in parallel mode.
The symbol [CMD] will be used here to indicate the command signal. In serial mode [CMD] stands for an
kk ESC ll character. In parallel mode [CMD] means that
either the COMMAND or STATUS line was asserted (set
LOW). In either case, [CMD] designates the following characters to be a command or a response, not data. The length
of each command or response is determined by context.
Every command will generate a response proceeded with a
[CMD] and followed by an kkACKll, kkNAKll,
kk SI ll or kk SO ll . After issuing a command to its
modem, a host should not send anything (neither data nor
new command) to the modem until it receives a response to
the last command from the modem. Anything sent to the
modem after issuing a command but before receiving a response to it will be discarded.
A Flush Buffer Command is provided to handle the following
situation: If a Slave’s host fails during reception of data from
the Slave and leaves the Slave’s output inhibited by the flow
control lines, the result will be that the Slave’s buffer fills
with data. The Slave will then stop accepting data, causing
the Master’s buffers to fill up. The Master in turn signals its
host, via flow control, to stop sending data. In this situation
the Master’s host will not be able to transfer further data to
any Slave until the data buffered by the Master is successfully transmitted. In this case, the Master’s host can issue
the Flush Buffer Command, which will destroy data currently
buffered and waiting to be sent, and return the system to
default autopoll mode.
The timing of the interaction between Master’s host, Master,
Slave, and Slave’s host can best be understood by reviewing the examples that follow, which are based on serial
mode operation.
In the case of broadcast mode, each packet is simply sent
eight times, and correct receipt by all the Slaves is not guaranteed.
LINK AND NETWORK LAYERS
This section presents a description of link and network layer
operation.
Address Structure
The Master carries a two-bit network address, set via the
initialization command, or by default at 00.
The Slave carries a two-bit network address, and an eightbit Slave address. The network address is set via the initialization command, or by default at zero. The Slave address is
set by the initialization command, by hardware dip switches
if connected, or by default to FF (Hex). Slave addresses 00
and FF are reserved; 00 is an illegal attribute for a Slave,
and is used internally for broadcast; FF is reserved for a
contention channel and for address assignment.
The Slave will only respond to a packet from a Master that
bears both network and Slave addresses which match its
own.
This structure permits the creation of a network containing
254 Slaves and one Master, up to four such networks can
operate concurrently on different frequency-division-multiplexed channels. In this configuration, the benefits of frequency-hopping are not available, but higher aggregate
throughput is obtained if the channel quality is relatively
good. The Master’s host can create one network with 1016
slaves by changing the Master’s address field periodically.
General Command Structure
The system can operate either in transparent mode, where
the physical layer is available to the host, or in network
mode, where the link layer is available to the host. This
choice is determined by the polarity of the NE/TRNSP pin,
which is read by the microprocessor during its initialization
sequence.
In transparent mode, the data present at the input is transferred to the output of all other modems on the same electrically connected power line bus. Addressing, media access
control, error control and error recovery are the responsibility of the user. In this mode, the controller is not in the data
path, and is used only to establish bit rate, frequency, and
gain.
In network mode, a set of commands is provided which implement a Master-Slave local area network protocol, optimized for hierarchical control and data acquisition applications. The network mode includes a host-modem command
set which includes:
# Network Commands, which permit:
Ð polling of a range of Slave addresses in order to collect
data
Ð broadcast of data to all Slaves
Ð a continuous, full duplex error-free link to any individual
address
# Test Commands, which permit:
Ð installation
Ð debugging
Ð network qualification
17
Command Descriptions
Command:
Syntax:
Arg 1:
Arg 2:
Response:
Autopoll
[CMD] kCtrl-ClkArg 1lkArg 2l
Command:
Lower limit of the Slave address space (binary)
Upper limit of the Slave address space (binary)
(If link was acquired)
[CMD] kSOlkAddr of SlavelkDatal
Response:
Syntax:
Get Test Results
[CMD] kCtrl-Fl
[CMD] kDLElkByte 1lkByte
k Byte 9 lk Byte 10 lk Byte 11 l
2l
...
Byte 1 e
Byte 2 e
Byte 3 e
Number of test cycles completed.
Number of Slaves that responded.
MSByte of the number of detected bytes received in error.
Response:
(If link was not acquired)
[CMD] kSIlkAddr of Slavel
Byte 4 e
LSByte of the number of detected bytes received in error.
Response:
(If link was broken)
[CMD] kSIlkAddr of Slavel
Byte 5 e
Number of passed bytes in error.
Lowest address of a slave that responded.
Byte 6 e
Byte 7 e
Highest address of a slave that responded.
Byte 8 e Number of retries.
Byte 9 e Number of sync timeouts.
Byte 10 e Number of times the first byte of the packet
was received incorrectly.
Byte 11 e Current tune code.
Functionality
Using the address specified, the Master attempts to establish a continuous link to the Slave. If a link is established,
[CMD] kSOl are transmitted to the host followed by any
data received from the Slave. When the Master receives a
packet from the Slave with no data, the Master will assume
that the Slave has transmitted all of its data which will
prompt the Master to break the link and send [CMD] kSIl
to its host and increment the Slave address and repeat the
described sequence for the next Slave. When the Slave address range is exhausted, the Master will wrap around the
Slave address space and proceed with a new cycle of autopoll.
Command:
Syntax:
Broadcast
[CMD] kCtrl-Al
Response:
[CMD] kACKlk0l
Functionality
Initiate test mode and output results via the serial link. Results are sent when the maximum amount of information
has been gathered, i.e., before any field of the result buffer
overflows. After the first set of results is sent, the modem
continues test mode normally without spontaneous output.
The very first response from the modem after kCtrl-Bl is
the command acknowledgment indicating to the host that
the command has been processed and that the modem is
ready to accept new commands. Following the response
are the test results in the format specified below.
The command acknowledgment format is as follows:
[CMD] kACKl
Output format: [CMD] kDLElkByte 1lkByte 2l . . .
Data is in binary format.
Functionality
Enter broadcast mode of operation at the Master. The Master will remain in broadcast mode until a new command is
issued by the host.
Command:
Arg 1:
Response:
Response:
Response:
Continuous Link
[CMD] kCtrl-DlkArg 1l
(If link was acquired)
[CMD] kACKlkAddr of SlavelkDatal
(If link was not acquired)
[CMD] kNAKlkAddr of Slavel
(If link was broken)
[CMD] kNAKlkAddr of Slavel
Test Mode (ASCII)
[CMD] kCtrl-KlkArg 1lkArg 2l
Lower limit of the Slave address space.
Upper limit of the Slave address space.
[CMD] kDLEl kCRl kLFl kSpacel
k ASCII byte of data lk Space lk ASCII byte
of datal . . .
Data is in ASCII Hex format. This output format is supported only in serial mode. In parallel I/O mode, Ctrl-K output is
identical to Ctrl-B output.
Command:
Syntax:
Arg 1:
Arg 2:
Response:
Functionality
Establishes continuous point-to-point link to a Slave.
Command:
Syntax:
Arg 1:
Arg 2:
Response:
Functionality
Same as that for Network Test Mode (Ctrl-B).
Network Test Mode (Binary)
[CMD] kCtrl-BlkArg 1lkArg 2l
Lower limit of the Slave address space (Input
as a binary number)
Upper limit of the Slave address space (Input
as a binary number)
[CMD] kACKl
Syntax:
Flush Command Buffer and get Software Revision Number
[CMD] kCtrl-Nl
Response:
[CMD] kACKlkMajor RevlkMinor Revl
Command:
18
Command Descriptions (Continued)
Functionality
Functionality
Flush Command Buffer and return Master to default autopoll
state, also return to host current software revision (binary
format).
Sets the modem bit rate based on the value of kNew Bit
Ratel data. kNew Bit Ratel is a two bit value in the upper
two bits of the lower nibble of the byte returned.
Command:
Syntax:
Response:
EXTERNAL PARAMETER SETTINGS
Provision is made for setting the baud rate and word structure of the serial interface through external latches, which
may be connected to DIP switches. These are read through
the MICROWIRE interface to the microcontroller during initialization. Refer to Figure 6 for the interface circuitry required. If the user’s circuit does not include DIP switches
then the default conditions are those corresponding to all
switches off. The parity settings depend on the settings of
the DIP switches as shown in Table IV.
Set Preamble Length
[CMD] kCtrl-MlkLengthl
[CMD] kACKl
Functionality
Sets number of bytes of preamble the modem will use.
Command: Chip Reset
[CMD] kCtrl-GlkArg 1lkArg 2l
Syntax:
Arg 1:
Lower nibble e Master filter
Upper nibble e 0 for Slave, 1 for Master
Arg 2:
Unit address (1–255, 0 e previous address)
Response: [CMD] kACKl
TABLE IV. Parity Control
DIP Switch 1.3
Functionality
Performs a soft reset of the modem allowing change of
identity and addresses.
Command:
Syntax:
Response:
Chip Status Request
[CMD] kCtrl-Hl
[CMD] kACKlkRetry countlkInformation
byte dependent on unit i.d. l
Arg 1:
Response:
Arg 2:
off
on
odd
on
off
odd
on
on
even
off
off
none
TABLE V. Baud Rate Settings
Set Tune
[CMD] kCtrl-ElkArg 1l
Tune code (binary number). Ctrl-A e tune 0,
. . . , Ctrl-E e tune 4. If an illegal tune code is
passed as an argument, then the frequency
hop mechanism will be reenabled and the current tune will remain unchanged.
[CMD] kACKlkCurrent tune code (lower
nibble)l
DIP
Switch 1.6
DIP
Switch 1.1
DIP
Switch 1.0
Baud
Rate
on
off
off
300
off
on
1200
DIP switch 1.4 is used to configure the host port as serial or
parallel. DIP switch 1.5 is used to configure the modem as
either a Master or a Slave. Refer to Table VI.
TABLE VI. Modem Configuration
DIP Switch
1.4
Functionality
Master: Disables frequency hop mechanism and sets current tune to the value of the argument.
Slave: Sets the current tune to the value of the argument.
LEDs also display the current tune code.
Command:
Syntax:
Arg 1:
Parity
The baud rate depends on the settings of the DIP switches
as shown in Table V.
Functionality
Returns status information: Retry count and, for Slave, Master filter (upper nibble); or, for Master, currently addressed
Slave address.
Command:
Syntax:
DIP Switch 1.2
Set Bit Rate
[CMD] kCtrl-LlkArg-1l
Data rate code (binary number) Ctrl-A e
3200 bps, Ctrl-B e 1212 bps, Ctrl-C e
800 bps, Ctrl-D e 400 bps. An illegal argument will re-enable automatic data rate control.
[CMD] kACKlkNew Bit Ratel
19
DIP Switch
1.5
on
Parallel
Slave
off
Serial
Master
Command Descriptions (Continued)
TL/DD/11727 – 11
FIGURE 6. Suggested Configuration of MICROWIRE Interface for DIPs and LEDs
20
Network Command Examples
9. As soon as it receives packet from Slave, Master sends
an additional packet to the Slave, containing data from
host buffered in step 7.
10. Master and Slave continue to trade packets, each
transmitting as soon as it receives a packet from the
other. The packet will contain whatever data has been
buffered, unless the control bits indicate that the prior
packet must be repeated.
11. Slave receives packet (8), and transmits the data it contained to Slave host.
12. Master, having received a packet (9) from Slave, sends
Slave a packet with the rest of the data from Master’s
host, which had not yet arrived in its buffer when packet
(8) was sent.
13. This data is received by the Slave.
14. And sent to Slave’s host.
Packets will continue to be interchanged between the Master and Slave until the link is broken by an appropriate command from the Master’s host. This supports bidirectional
virtual full duplex communication between the two hosts.
CONTINUOUS LINKS
Figure 6 shows the sequence for continuous link, which is
also diagrammed in Figure 7 .
1. Host sends Master command to open link to Slave 01.
2. Master sends packet over power line addressed to Slave
01.
3. Slave 01 responds with acknowledgment packet to Master.
4. Master outputs Acknowledgment.
5. [CMD] kkACKllkkaddressll to host.
6. Master simultaneously sends packet to Slave.
7. Slave responds with packet to Master.
8. Master host, having received acknowledgment step 4,
sends data to Master, destined for Slave host, which is
buffered in Master.
TL/DD/11727 – 12
FIGURE 7. Continuous Link Mode Diagram
TL/DD/11727 – 13
FIGURE 8. Command Interaction: Continuous Link
21
Network Command Examples (Continued)
The link will also be dropped after 10 packets have been
transmitted (Rev A setting).
AUTOPOLL
Figure 8 shows the corresponding sequence for the autopoll
command.
1. Slave’s host sends data to Slave, which is buffered by
Slave. Slave will buffer up to 17 bytes, and uses flow
control to prevent overflow.
2. Sometime later, Master’s host issues an autopoll command to Master.
3. Master sends a packet to Slave, containing no data.
4. Slave immediately sends a packet to the Master, containing whatever data has been buffered in step 1.
5. Master receives this packet, and responds with another
packet to the Slave.
6. Simultaneously, Master outputs
[CMD] kkSIllkkaddressll, to Master’s host.
7. While this is going on, Slave’s host might have sent
Slave more data. If so, steps 4 and 5 are repeated. If
there is no more data buffered by the Slave at the time
the packet sent in step 5, arrives, the Slave responds to
the Master with a packet containing no data.
8. The Master receives empty packet causing Master to
break the link and proceed to the next Slave address in
its autopoll cycle. It announces this to the Master’s host
by sending it [CMD] kkSOllkkaddressll.
BROADCAST
Broadcast is used when only one way transmission of data
from the Master to all of its Slaves is desired (see Figure 9 ).
All data sent to the Master modem from the Host is transmitted 8 times onto the line. Slave Address 0 is used for
this.
This is useful when it is desirable to have a low cost, one
way communication channel available.
TEST MODE
Test Mode (see Figure 10 ) is a built-in application in the
IC/SS chip set that is most useful for evaluating the potential performance of an end user application using IC/SS
over a variety of power line conditions. All of the other
IC/SS functions provide network layer services for Host
Computers to which they are connected. They assume the
existence of one or more applications (in the attached Host
Computers) that utilize these services.
TL/DD/11727 – 14
FIGURE 9. Autopoll Mode Diagram
TL/DD/11727 – 15
FIGURE 10. Broadcast Mode Diagram
TL/DD/11727 – 16
FIGURE 11. Test Mode Diagram
22
Network Command Examples (Continued)
TL/DD/11727 – 17
FIGURE 12. Test Report Structure
Test Mode includes a simple set of applications that use the
services provided by the other IC/SS functions. The embedded Test Mode application in the Master modem exchanges
data with the test mode applications embedded in one or
more Slave modems, and generates a report in either ASClI
or Binary form.
This data exchange is used to measure the performance of
the modems and the conditions on the power line. The embedded Test Mode application keeps statistics on the exchange of data with other modems, tracking data integrity
and communications performance (retries, parity errors,
which Slaves responded, tune code used, etc.). This information is formatted into a report which is transmitted to the
Master’s Host computer. This is illustrated in Figure 11 .
If you have known power line conditions, the test mode information lets you evaluate the IC/SS modem’s performance. In a field installation, test mode can be used periodically by the host computer to evaluate the power line conditions, and perhaps determine whether to perform or defer a
given application operation.
Operation of Test Mode
Test Mode works through the normal IC/SS network layer.
This means that all the mechanisms in IC/SS that are used
to get information correctly over the power line are in use
during Test Mode. Gain, Bit Rate and Tune Code will be
adjusted according to the measured Bite error Rate, just as
in all other commands. The Packet Overlay mechanism will
be used to try to make good packets out of damaged ones.
The Test Mode Report
The Test Mode application generates a Test Mode Report
which is either automatically transmitted (via ASCII Test
Mode command) or transmitted on demand (via the Binary
Test Mode and the Get Test Results commands) to the attached Host.
When in ASCII Test Mode, the time between reports can
range from 20 seconds to 4.5 minutes. This time is dependent upon two thingsÐthe modem to modem bit rate and
the behavior of the Slaves being tested. The Test Mode
application will generate its report when count of any one of
information categories being tracked threatens to overflow.
Any category getting within 32 (20 hex) of overflow will
cause the test mode report to be generated.
Example: Test mode command e k1Bl k0Bl k01l
k 01 l (ASCII hex data)
Slave 1 is connected and working. Test Mode will
likely do E0 hex (224 decimal) test cycles (byte 1)
and then generate a test report.
Example: Test mode command e k1Bl k0Bl k01l
k 02 l (ASCII hex data)
Slave 1 is connected and working, Slave 2 is disconnected.
Test Mode will likely do E0 hex (224 decimal) retries (byte 8)
and 36 hex (54 decimal) test cycles and then generate a
test report.
ASClI versus Binary Test Mode
The major differences are that Binary Test Mode does not
automatically generate a reportÐyou must use the Control
F command (Get Test Results) to get a reportÐand the
report is sent out as 11 bytes of binary information, rather
than being formatted as ASCII hex with space delimiters
and a CR/LF at the end of the report.
23
Chip Set Operation
The following table relates the carrier frequency to a 4-bit
nibble in the BRM Control Register.
The CSD (Control Serial Data) bus (CSD2, CSD1, and CSD)
is used to select which function the controller interface will
perform. The following table details the CSD bus decode.
When switching functions, e.g., changing the CSD bus, the
CSD bus must first be set to zero (000) before changing to a
new value. If this is not done, it is possible to generate a
false RxRDY signal.
TABLE IX. BRM Control Register Settings
BRM Control
Register
Carrier
Frequency (KHz)
0000 (0)
76.190
0001 (1)
4.762
0010 (2)
9.524
0011 (3)
14.286
0100 (4)
19.048
0101 (5)
23.810
0110 (6)
28.571
0111 (7)
33.333
Set BRM.
1000 (8)
38.095
Set bit rate.
1001 (9)
42.857
101 (5)
MICROWIRE interface write to parallel data
bus.
1010 (A)
47.619
1011 (B)
52.381
110 (6)
Parallel data bus write to MICROWlRE
interface.
1100 (C)
57.143
1101 (D)
61.905
1110 (E)
66.667
1111 (F)
71.429
Note: NEVER USE state (111) as this will generate a false RxRDY signal
during transition to another setting.
TABLE VII. CSD Bus Settings
CSD
000 (0)
Function
Not used. Preferred address when the
interface is not in use.
001 (1)
Set Analog Chip gain control amplifier gain.
010 (2)
Generate CS2 signal to enable external
MICROWIRE ports.
011 (3)
100 (4)
111 (7)
Do not use, see Note above.
When the CSD bus is set to four (100), the MlCROWIRE
interface will write the Data Rate Control Register. Only the
two LSBs of the MlCROWIRE 8-bit word will be used. The
six MSBs will be discarded. The following table details the
data rate settings.
MICROWIRE
Data D7 – D0
Data Rate
Control Register
Data Rate
(bits/sec)
When the CSD bus is set to one (001), the MICROWIRE
interface will set the Analog ASIC gain control (C2 – C0).
Only the three LSBs of the MICROWIRE 8-bit word will be
used. The five MSBs will be discarded. Once loaded, the
value will remain until either a RESET occurs or a new value
is written. The following table details the gain versus the
control input values.
xxxxxx00
00(0)
3200
TABLE X. Gain Control Bus Settings
xxxxxx01
01(1)
1212
xxxxxx10
10(2)
800
xxxxxx11
11(3)
400
TABLE VIII. Data Rate Control Register Settings
When the CSD bus is set to three (011), the MICROWIRE
interface will write the BRM (Binary Rate Multiplier) control
register. Two 4-bit values are written. The four most significant bits of the data bus will load the logic one frequency
and the four least significant bits of the data bus will load
the logic zero frequency. The BRM control register sets the
BRM control lines. This is a logic function block that is not
related to the data rate. The primary input to the BRM is the
CLK signal. The BRM output will be n pulses out of 16 input
pulses where n is the number set in the BRM control register. If n is zero, the output will be 16 pulses. The BRM output
is then divided by 210 to generate the carrier frequency.
24
MICROWIRE
Data D7 – D0
Gain Control
Bus C2 – C0
Analog Gain
(dB)
xxxxx000
000 (0)
10
xxxxx001
001 (1)
17
xxxxx010
010 (2)
24
xxxxx011
011 (3)
31
xxxxx100
100 (4)
39
xxxxx101
101 (5)
46
xxxxx110
110 (6)
53
xxxxx111
111 (7)
60
Data Transfer Timing
TL/DD/11727 – 18
PARALLEL DATA BUS SIGNALS
FIGURE 13. Data Bus Read from Controller (ICSS1001) Write
25
Data Transfer Timing (Continued)
TL/DD/11727 – 19
FIGURE 14. MICROWIRE Interface: Controller (ICSS1001) Write to Digital Chip (ICSS1002)
26
Data Transfer Timing (Continued)
TL/DD/11727 – 20
FIGURE 15. Host Port Read from Digital Chip (ICSS1002)
27
Data Transfer Timing (Continued)
TL/DD/11727 – 21
PARALLEL DATA BUS SIGNALS
FIGURE 16. Controller (ICSS1001) Read from Data Bus Write
28
Data Transfer Timing (Continued)
TL/DD/11727 – 22
FIGURE 17. MICROWIRE Interface: Controller (ICSS1001) Read from Digital Chip (ICSS1002)
29
Data Transfer Timing (Continued)
TL/DD/11727 – 23
FIGURE 18. Host Write to Digital Chip (ICSS1002)
30
FIGURE 19. IC/SS Parallel Configuration
TL/DD/11727 – 24
System Configurations
31
FIGURE 20. IC/SS Serial Configuration
TL/DD/11727 – 25
System Configurations (Continued)
32
System Configurations (Continued)
TL/DD/11727 – 26
FIGURE 21. Sample Coupling Network for IC/SS Chip Set
33
Physical Dimensions inches (millimeters)
Molded Small Outline Package (WM)
Order Number ICSS1001WM
NS Package Number M28B
Plastic Leaded Chip Carrier (PLCC)
Order Number ICSS1003V
NS Package Number V44A
34
Physical Dimensions inches (millimeters) (Continued)
Plastic Leaded Chip Carrier (PLCC)
Order Number ICSS1002V4
NS Package Number V68A
Plastic Quad Flatpak (PQFP)
Order Number ICSS1003VGZ
NS Package Number VGZ44A
35
ICSS1001, ICSS1002, and ICSS1003 IC/SS Power Line Carrier Local Area Network Chip Set
Physical Dimensions inches (millimeters) (Continued)
Plastic Quad Flatpak (PQFP)
Order Number ICSS1002VJE
NS Package Number VJE80A
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL
SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or
systems which, (a) are intended for surgical implant
into the body, or (b) support or sustain life, and whose
failure to perform, when properly used in accordance
with instructions for use provided in the labeling, can
be reasonably expected to result in a significant injury
to the user.
National Semiconductor
Corporation
1111 West Bardin Road
Arlington, TX 76017
Tel: 1(800) 272-9959
Fax: 1(800) 737-7018
2. A critical component is any component of a life
support device or system whose failure to perform can
be reasonably expected to cause the failure of the life
support device or system, or to affect its safety or
effectiveness.
National Semiconductor
Europe
Fax: (a49) 0-180-530 85 86
Email: cnjwge @ tevm2.nsc.com
Deutsch Tel: (a49) 0-180-530 85 85
English Tel: (a49) 0-180-532 78 32
Fran3ais Tel: (a49) 0-180-532 93 58
Italiano Tel: (a49) 0-180-534 16 80
National Semiconductor
Hong Kong Ltd.
13th Floor, Straight Block,
Ocean Centre, 5 Canton Rd.
Tsimshatsui, Kowloon
Hong Kong
Tel: (852) 2737-1600
Fax: (852) 2736-9960
National Semiconductor
Japan Ltd.
Tel: 81-043-299-2309
Fax: 81-043-299-2408
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.