ST92195C STMicroelectronics, ST92195C Datasheet - Page 179

no-image

ST92195C

Manufacturer Part Number
ST92195C
Description
48-96 Kbyte Rom Hcmos Mcu With On-screen Display And Teletext Data Slicer
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92195C3B1
Quantity:
108
Part Number:
ST92195C3B1
Manufacturer:
ST
0
Part Number:
ST92195C3B1/EBZ
Manufacturer:
ST
Quantity:
23
Part Number:
ST92195C3B1/EBZ
Quantity:
6
Part Number:
ST92195C3B1/EBZ
Manufacturer:
ST
0
Part Number:
ST92195C3B1/EUN
Manufacturer:
ST
0
Part Number:
ST92195C3B1/EUX
Manufacturer:
ST
Quantity:
192
Part Number:
ST92195C3B1/EUX
Manufacturer:
ST
0
Part Number:
ST92195C3B1/MST
Manufacturer:
ST
0
Part Number:
ST92195C3B1/OBC
Manufacturer:
ST
Quantity:
61
ST92195C/D - SERIAL PERIPHERAL INTERFACE (SPI)
SERIAL PERIPHERAL INTERFACE (Cont’d)
The data on the SDA line is sampled on the low to
high transition of the SCL line.
SPI working with an I
To use the SPI with the I
line is used as SCL; the SDI and SDO lines, exter-
nally wire-ORed, are used as SDA. All output pins
must be configured as open drain (see
Table 32.
comprising 5 phases: Initialization, Start, Trans-
mission, Acknowledge and Stop. It should be not-
ed that only the first 8 bits are handled by the SPI
peripheral; the ACKNOWLEDGE bit must be man-
aged by software, by polling or forcing the SCL
and SDO lines via the corresponding I/O port bits.
During the transmission phase, the following I
bus features are also supported by hardware.
Clock Synchronization
In a multimaster I
masters generate their own clock, synchronization
is required. The first master which releases the
SCL line stops internal counting, restarting only
when the SCL line goes high (released by all the
other masters). In this manner, devices using dif-
Figure 98. SPI Arbitration
n
n
179/249
ST9-2-SCK
ST9-1-SCK
LOGIC
CONTROL
MSPI
illustrates the typical I
BHS
INTERNAL SERIAL
ST9-1
0
1
CLOCK
2
C-bus system, when several
1
1
2
INT 2
C-bus
2
C-bus protocol, the SCK
SCK
2
2
2
C-bus sequence,
Figure
3
3
95).
2
SPIKE
C-
4
ferent clock sources and different frequencies can
be interfaced.
Arbitration Lost
When several masters are sending data on the
SDA line, the following takes place: if the transmit-
ter sends a “1” and the SDA line is forced low by
another device, the ARB flag (SPICR.5) is set and
the SDO buffer is disabled (ARB is reset and the
SDO buffer is enabled when SPIDR is written to
again). When BMS is set, the peripheral clock is
supplied through the INT2 line by the external
clock line (SCL). Due to potential noise spikes
(which must last longer than one INTCLK period to
be detected), RX or TX may gain a clock pulse.
Referring to
noise spike and therefore gains a clock pulse, it
will stop its transmission early and hold the clock
line low, causing device ST9-2 to freeze on the 7th
bit. To exit and recover from this condition, the
BMS bit must be reset; this will cause the SPI logic
to be reset, thus aborting the current transmission.
An End of Transmission interrupt is generated fol-
lowing this reset sequence.
4
5
6
5
Figure
SCK
97, if device ST9-1 detects a
INTERNAL SERIAL
6
7
INT 2
CLOCK
ST9-2
7
8
BHS
0
1
VR001410
LOGIC
CONTROL
MSPI

Related parts for ST92195C