ST52F513G3M6 STMicroelectronics, ST52F513G3M6 Datasheet - Page 106

ST52F513G3M6

Manufacturer Part Number
ST52F513G3M6
Description
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST52F513G3M6

Cpu Family
ST52
Device Core Size
8b
Frequency (max)
20MHz
Interface Type
I2C/SCI/SPI
Program Memory Type
Flash
Program Memory Size
8KB
Total Internal Ram Size
256Byte
# I/os (max)
22
Number Of Timers - General Purpose
2
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
8-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
28
Package Type
SO
Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST52F513G3M6
Manufacturer:
ST
0
Part Number:
ST52F513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST52F513G3M6TR
Manufacturer:
ST
Quantity:
20 000
ST52510xx ST52513xx
Bit 7: SPIF Serial Peripheral data transfer flag.
Note: While the SPIF bit is set, all writes to the
SPI_OUT register are inhibited.
Bit 6: WCOL Write Collision status (read only).
Bit 5: OR SPI overrun error (read only).
Bit 4: MODF Mode Fault flag (read only).
Bit 3: Not used.
106/136
This bit is set by hardware when a transfer
has
generated if SPIE=1 in the SPI_CR register.
It is cleared by a software sequence (an
access to the SPI_STATUS_CR register
followed by a read or write to the SPI_IN/
SPI_OUT registers).
0: Data transfer is in progress or has been
1: Data transfer between the device and an
This bit is set by hardware when a write to the
SPI_OUT register is done during a transmit
sequence. It is cleared by a software
sequence (see
0: No write collision occurred
1: A write collision has been detected
This bit is set by hardware when the byte
currently being received in the shift register is
ready to be transferred into the SPI_IN
register while SPIF = 1 (See
Overrun
software
SPI_STATUS_CR register followed by a
read in SPI_IN or write of the SPI_OUT
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
15.4.5 Master Mode
can be generated if SPIE=1 in the SPI_CR
register. This bit is cleared by a software
sequence
SPI_STATUS_CR register while MODF=1
followed by a write to the SPI_CR register).
0: No master mode fault detected
1: A fault in master mode has been detected
(read only)
approved by a clearing sequence.
external device has been completed.
been
Condition). It is cleared by a
sequence
completed.
(An
Figure
Fault). An SPI interrupt
15.5).
access
(read
An
Section 15.4.6
interrupt
to
of
Section
the
the
is
Bit 2: SOD SPI output disable
Bit 1: SSM SS mode selection
Bit 0: SSI SS internal mode
Remark: It is recommended to write the SPI_CR
register after the SPI_STATUS_CR register when
working in master mode, vice versa when working
in slave mode.
15.5.2 SPI Input Register.
SPI Data Input Register (SPI_IN)
Input Register 5 (05h) Read only
Reset Value: 0000 0000 (00h)
bit 7-0: SPIDI7-SPIDI0 Received data.
The SPI_IN register is used to receive data on the
serial bus.
Note: 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 user reads the
serial peripheral data I/O register, the buffer is
actually being read.
SPIDI7
7
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 not disable
1: SPI output disable.
This bit is set and cleared by software. When
set, it disables the alternate function of the
SPI Slave Select pin and use the SSI bit
value instead of.
0: SS pin used by the SPI.
1: SS pin not used (I/O mode), SSI bit value
This bit is set and cleared by software. It
replaces pin SS of the SPI when bit SSM is
set to 1. SSI bit is active low slave select
signal when SSM is set to 1.
0 : Slave selected
1 : Slave not selected.
SPIDI6
is used.
SPIDI5
SPIDI4
SPIDI3
SPIDI2
SPIDI1
SPIDI0
0

Related parts for ST52F513G3M6