ST92F150-EMU2 STMicroelectronics, ST92F150-EMU2 Datasheet - Page 253

no-image

ST92F150-EMU2

Manufacturer Part Number
ST92F150-EMU2
Description
BOARD EMULATOR FOR ST9 SERIES
Manufacturer
STMicroelectronics
Series
ST9-EMU2r
Type
Microcontrollerr
Datasheets

Specifications of ST92F150-EMU2

Contents
ST9 Visual Debug IDE, ST9 HDS2V2 Mainboard, Probe, Sockets, Adapters, Power Supply,Cables & Documentation
For Use With/related Products
ST9 MCUs
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
497-3101
SERIAL PERIPHERAL INTERFACE (Cont’d)
10.7.4.2 Slave Configuration
In slave configuration, the serial clock is received
on the SCK pin from the master device.
The value of the SPPR register and SPR0 & SPR1
bits in the SPCR 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 SPOE bit to
must be in the same timing mode as the mas-
ter device (CPOL and CPHA bits). See
123.
signal during the complete byte transmit se-
quence.
assign the pins to alternate function.
Figure
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 SPDR register is
read, the SPI peripheral returns this buffered val-
ue.
Clearing the SPIF bit is performed by the following
software sequence:
1. An access to the SPSR register while the SPIF
2. A read of the SPDR register.
Notes: While the SPIF bit is set, all writes to the
SPDR register are inhibited until the SPSR regis-
ter 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
Depending on the CPHA bit, the SS pin has to be
set to write to the SPDR register between each
data byte transfer to avoid a write collision (see
Section
SERIAL PERIPHERAL INTERFACE (SPI)
– The SPIF bit is set by hardware
– An interrupt is generated if the SPIS and SPIE
bit is set.
bits are set.
10.7.4.4).
Section
10.7.4.6).
253/429
9

Related parts for ST92F150-EMU2