ST72T311 ST Microelectronics, ST72T311 Datasheet - Page 67

no-image

ST72T311

Manufacturer Part Number
ST72T311
Description
8-BIT MCU WITH 8 TO 16K OTP/EPROM
Manufacturer
ST Microelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72T311BN9T6
Manufacturer:
ST
Quantity:
1 778
Part Number:
ST72T311BN9T6
Manufacturer:
ST
0
Part Number:
ST72T311J2B6
Manufacturer:
ST
Quantity:
648
Part Number:
ST72T311J2B6
Manufacturer:
ST
0
Part Number:
ST72T311J2T6
Manufacturer:
ST
0
Part Number:
ST72T311J4
Manufacturer:
ST
Quantity:
5
Part Number:
ST72T311J4136
Manufacturer:
ST
0
Part Number:
ST72T311J4B6
Manufacturer:
ST
0
Part Number:
ST72T311J4B6S
Manufacturer:
ST
Quantity:
191
Part Number:
ST72T311N4B6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST72T311N4B6S
Manufacturer:
AD
Quantity:
540
SERIAL PERIPHERAL INTERFACE (Cont’d)
4.5.4.2 Slave Configuration
In slave configuration, the serial clock is received
on the SCK pin from the master device.
The value of the SPR0 & SPR1 bits is not used for
the data transfer.
Procedure
In this configuration the MOSI pin is a data input
and the MISO pin is a data output.
Transmit Sequence
The data byte is parallel loaded into the 8-bit shift
register (from the internal bus) during a write cycle
and then shifted out serially to the MISO pin most
significant bit first.
The transmit sequence begins when the slave de-
vice receives the clock signal and the most signifi-
cant bit of the data on its MOSI pin.
– For correct data transfer, the slave device
– The SS pin must be connected to a low level
– Clear the MSTR bit and set the SPE bit to as-
must be in the same timing mode as the mas-
ter device (CPOL and CPHA bits). See Figure
40.
signal during the complete byte transmit se-
quence.
sign the pins to alternate function.
When data transfer is complete:
During the last clock cycle the SPIF bit is set, a
copy of the data byte received in the shift register
is moved to a buffer. When the DR register is read,
the SPI peripheral returns this buffered value.
Clearing the SPIF bit is performed by the following
software sequence:
1. An access to the SR register while the SPIF bit
2. A write or a read of the DR register.
Notes: While the SPIF bit is set, all writes to the
DR register are inhibited until the SR register is
read.
The SPIF bit can be cleared during a second
transmission; however, it must be cleared before
the second SPIF bit in order to prevent an overrun
condition (see Section 4.5.4.6).
Depending on the CPHA bit, the SS pin has to be
set to write to the DR register between each data
byte transfer to avoid a write collision (see Section
4.5.4.4).
– The SPIF bit is set by hardware
– An interrupt is generated if SPIE bit is set and
is set.
I bit in CCR register is cleared.
ST72E311 ST72T311
67
67/100

Related parts for ST72T311