st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 138
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
st7pmc2s6
Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
1.ST7PMC2S6.pdf
(371 pages)
- Current page: 138 of 371
- Download datasheet (7Mb)
On-chip peripherals
Note:
138/371
Table 57.
SPI data I/O register (SPIDR)
The SPIDR register is used to transmit and receive data on the serial bus. In a master
device, a write to this register initiates the transmission/reception of another byte.
During the last clock cycle the SPIF bit is set, a copy of the received data byte in the shift
register is moved to a buffer. When the user reads the serial peripheral data I/O register, the
buffer is actually being read.
Bit Name
SPIDR
5
4
3
2
1
0
MODF
7
SOD
SSM
OVR
SSI
-
SPI overrun error
Mode fault flag
Reserved, must be kept cleared
SPI output disable
SS management
SS internal mode
SPICSR register description (continued)
This bit is set by hardware when the byte currently being received in the shift register
is ready to be transferred into the SPIDR register while SPIF = 1 (see
condition (OVR) on page
register. The OVR bit is cleared by software reading the SPICSR register.
0: No overrun error
1: Overrun error detected
This bit is set by hardware when the SS pin is pulled low in master mode (see
mode fault (MODF) on page
the SPICR register. This bit is cleared by a software sequence (an access to the
SPICSR register while MODF = 1 followed by a write to the SPICR register).
0: No master mode fault detected
1: A fault in master mode has been detected
This bit is set and cleared by software. When set, it disables the alternate function of
the SPI output (MOSI in master mode/MISO in slave mode).
0: SPI output enabled (if SPE = 1)
1: SPI output disabled
This bit is set and cleared by software. When set, it disables the alternate function of
the SPI SS pin and uses the SSI bit value instead (see
page
0: Hardware management (SS managed by external pin)
1: Software management (internal SS signal controlled by SSI bit. External SS pin
This bit is set and cleared by software. It acts as a ‘chip select’ by controlling the level
of the SS slave select signal when the SSM bit is set.
0: Slave selected
1: Slave deselected
free for general-purpose I/O)
6
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
129).
5
133). An interrupt is generated if SPIE = 1 in the SPICR
4
133). An SPI interrupt can be generated if SPIE = 1 in
D[7:0]
R/W
Function
3
2
Slave select management on
Reset value: undefined
1
Overrun
Master
0
Related parts for st7pmc2s6
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ST7-DVP3](/images/no-image3.png)
Part Number:
Description:
Low Cost, Real Time Emulator Series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
![ST7-EMU3](/images/no-image3.png)
Part Number:
Description:
Full-featured, real time emulator series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
![ST7-88](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![ST7-STICK](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
In-Circuit Programmer
Manufacturer:
STMicroelectronics
Datasheet:
![st7-56](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-40](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-48](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-30](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-34](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-36](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-28](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-24](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-20](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-16](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
![st7-10](/images/no-image3.png)
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet: