DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

STLC5412 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
STLC5412 Datasheet PDF : 74 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
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.
µW/DSI MODE
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:
CI: data input
CO: data output
CCLK: data clock input
CS: Chip Select input
INT: Interrupt output
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.
– MODE A: the first CCLK edge after CS fall-
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 .
– MODE B: the CCLK first edge after CS falling
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.
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
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:
A7 A6 A5 A4 A3 A2 A1 A0
1st byte
D7 D6 D5 D4 D3 D2 D1 D0
2nd byte
A7-A1: Register Address
A0:
Write/Read back Indicator
D7-D0: Register Content
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:
A7 - A4
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:
A7 A6 A5 A4 A3 A2 A1 A0
1st byte
D7 D6 D5 D4 D3 D2 D1 D0
2nd byte
A7-A1:
A0:
D7-D0:
Register Address
forced to 1 if read back
forced to 0 if spontaneous
Register Content

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]