Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

ST7LITE25F2 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
MFG CO.
'ST7LITE25F2' PDF : 170 Pages View PDF
ST7LITE20F2 ST7LITE25F2 ST7LITE29F2
On-chip peripherals
Note:
Note:
Note:
1: Master mode. The function of the SCK pin changes from an input to an output and
the functions of the MISO and MOSI pins are reversed.
Bit 3 = CPOL Clock polarity
This bit is set and cleared by software. This bit determines the idle state of the serial
Clock. The CPOL bit affects both the master and slave modes.
0: SCK pin has a low level idle state
1: SCK pin has a high level idle state
If CPOL is changed at the communication byte boundaries, the SPI must be disabled by
resetting the SPE bit.
Bit 2 = CPHA Clock Phase
This bit is set and cleared by software.
0: The first clock transition is the first data capture edge.
1: The second clock transition is the first capture edge.
The slave must have the same CPOL and CPHA settings as the master.
Bits 1:0 = SPR[1:0] Serial Clock Frequency
These bits are set and cleared by software. Used with the SPR2 bit, they select the
baud rate of the SPI serial clock SCK output by the SPI in master mode.
These 2 bits have no effect in slave mode.
Table 42. SPI Master mode SCK frequency
Serial Clock
SPR2
fCPU/4
1
fCPU/8
0
fCPU/16
0
fCPU/32
1
fCPU/64
0
fCPU/128
0
SPR1
0
0
0
1
1
1
SPR0
0
0
1
0
0
1
Control/status register (SPICSR)
Read/Write (some bits are Read Only)
Reset Value: 0000 0000 (00h)
7
SPIF
WCOL
OVR
MODF
-
0
SOD
SSM
SSI
Bit 7 = SPIF Serial peripheral data transfer flag (Read only)
This bit is set by hardware when a transfer has been completed. An interrupt is
generated if SPIE=1 in the SPICR register. It is cleared by a software sequence (an
access to the SPICSR register followed by a write or a read to the SPIDR register).
0: Data transfer is in progress or the flag has been cleared.
1: Data transfer between the Device and an external device has been completed.
Doc ID 8349 Rev 5
101/166
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]