STLC5412FN STMICROELECTRONICS [STMicroelectronics], STLC5412FN Datasheet - Page 14

no-image

STLC5412FN

Manufacturer Part Number
STLC5412FN
Description
2B1Q U INTERFACE DEVICE ENHANCED WITH DECT MODE
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STLC5412FN
Manufacturer:
ST
Quantity:
1 831
Part Number:
STLC5412FN
Manufacturer:
ST
0
Part Number:
STLC5412FN
Manufacturer:
ST
Quantity:
20 000
STLC5412
FUNCTIONAL DESCRIPTION
Digital Interfaces
STLC5412 provides a choice between two types
of digital interface for both control data and (2
B+D) basic access data.
These are:
a) General Circuit Interface: GCI.
b) Microwire/Digital System Interface: W/DSI
The device will automatically switch to one of
them by sensing the MW input pin at the Power
up.
Microwire control interface
The MICROWIRE interface is enabled when pin
MW equal one. Internal registers can be written or
read through that control interface.
It is constituted of 5 pins:
Transmission of data onto CI & CO is enabled
when CS input is low.
A Write cycle or a Read cycle is always consti-
tuted of two bytes. CCLK must be pulsed 16
times while CS is low.
Transmission of data onto CI & CO is enabled fol-
lowing 2 modes.
For each mode the first CCLK edge after CS fall-
ing edge can be positive or negative: the UID
automaticaly detects the CCLK polarity.
Mode A is the default value. To select the mode
B, write MWPS register.
You can write in the UID on CI while the UID send
back a register content to the microprocessor. If
the UID has no message to send, it forces the CO
output to all zero’s.
If the UID is to be read (status change has oc-
cured in the UID or a read-back cycle has been
requested by the controller), it pulls the INT out-
put low until CS is provided. INT high to low
transition is not allowed when CS is low (the UID
waits for CS high if a pending interrupt occurs
14/74
W/DSI MODE
– MODE A: the first CCLK edge after CS fall-
– MODE B: the CCLK first edge after CS falling
ing edge (and fifteen others odd CCLK
edges) are used to shift in the CI data, the
even edges being used to shift out the CO
data.
edge (and the fifteen others odd CCLK
edges) are used to shift out the CO data, the
even edges being used to shift in the CI data.
CI:
CO:
CCLK:
CS:
INT:
data input
data output
data clock input
Chip Select input
Interrupt output
while CS is low) .
When CS is high, the CO pin is in the high imped-
ance state.
Write cycle
The format to write a 8 bits message into the UID
is:
After the first byte is shifted in, Register address
is decoded. A0 set low indicates a write cycle: the
content of the following received byte has to be
loaded into the addressed register.
A0 set high indicates a read-back cycle request
and the byte following is not significant. The UID
will respond to the request with an interrupt cycle.
It is then possible for the microprocessor to re-
ceive the required register content after several
other pending interrupts.
To write a 12bits message, the difference is:
limited address field:
extended data field (D11 - D8): A3 - A0.
The Write/Read back indicator doesn’t apply; to
read and write a 12 bits register two addresses
are necessary.
Read cycle
When UID has a register content to send to the
microprocessor, it pulls low the INT output to re-
quest CS and CCLK signals. Note that the data to
send can be the content of a Register previously
requested by the microprocessor by means of a
read-back request.
The format of the 8 bits message sent by the UID
is:
D7
D7
A7
A7
A7-A1:
A0:
D7-D0:
A7-A1:
A0:
D7-D0:
A6
D6
A6
D6
A5
D5
A5
D5
Register Address
forced to 1 if read back
forced to 0 if spontaneous
Register Content
Register Address
Write/Read back Indicator
Register Content
D4
2nd byte
D4
2nd byte
A4
A4
1st byte
1st byte
D3
D3
A3
A3
A7 - A4
D2
D2
A2
A2
A1
D1
A1
D1
A0
D0
A0
D0

Related parts for STLC5412FN