参数资料
型号: ST6246BB6/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP56
封装: 0.600 INCH, PLASTIC, SDIP-56
文件页数: 40/73页
文件大小: 1806K
代理商: ST6246BB6/XXX
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
45/73
ST62T46B/E46B
4.4 SERIAL PERIPHERAL INTERFACE (SPI)
The on-chip SPI is an optimized serial synchro-
nous interface that supports a wide range of indus-
try standard SPI specifications. The on-chip SPI is
controlled by small and simple user software to
perform serial data exchange. The serial shift
clock can be implemented either by software (us-
ing the bit-set and bit-reset instructions), with the
on-chip Timer 1 by externally connecting the SPI
clock pin to the timer pin or by directly applying an
external clock to the Scl line.
The peripheral is composed by an 8-bit Data/shift
Register and a 4-bit binary counter while the Sin
pin is the serial shift input and Sout is the serial
shift output. These two lines can be tied together
to implement two wires protocols (IC-bus, etc).
When data is serialized, the MSB is the first bit. Sin
has to be programmed as input. For serial output
operation Sout has to be programmed as open-
drain output.
The SCL, Sin and Sout SPI clock and data signals
are connected to 3 I/O lines on the same external
pins. With these 3 lines, the SPI can operate in the
following operating modes: Software SPI, S-BUS,
IC-bus and as a standard serial I/O (clock, data,
enable). An interrupt request can be generated af-
ter eight clock pulses. Figure 24 shows the SPI
block diagram.
The SCL line clocks, on the falling edge, the shift
register and the counter. To allow SPI operation in
slave mode, the SCL pin must be programmed as
input and an external clock must be supplied to
this pin to drive the SPI peripheral.
In master mode, SCL is programmed as output, a
clock signal must be generated by software to set
and reset the port line.
Figure 24. SPI Block Diagram
Set Res
CLK
RESET
4-Bit Counter
(Q4=High after Clock8)
Data Reg
Direction
I/O Port
8-Bit Data
Shift Register
Reset
Load
DOUT
Output
Enable
8-Bit Tristate Data I/O
RESET
I/O Port
CP
DIN
D0............................D7
to Processor Data Bus
Q4
OPR Reg.
DIN
SCL
Sin
Sout
SPI Interrupt Disable Register
SPI Data Register
Data Reg
Direction
Data Reg
Direction
DOUT
Write
Read
MUX
0
1
Interrupt
VR01504
相关PDF资料
PDF描述
ST6260BB6 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP20
ST6294B8/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62T94B8 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62E85BG1 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQFP80
ST62P35BQ3/XXX 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP52
相关代理商/技术参数
参数描述
ST6246B-EMU2 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:REAL TIME EMULATION DEVELOPMENT TOOLS FOR ST6 MCU FAMILY
ST6246-P/QFP 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:REAL TIME EMULATION DEVELOPMENT TOOLS FOR ST6 MCU FAMILY
ST6-24B20 功能描述:电源变压器 SPLIT BOBBIN HORZ MOUNT XFMR RoHS:否 制造商:Triad Magnetics 功率额定值:12 VA 初级电压额定值:115 V / 230 V 次级电压额定值:12 V / 24 V 安装风格:SMD/SMT 一次绕组:Dual Primary Winding 二次绕组:Dual Secondary Winding 长度:2.5 in 宽度:2 in 高度:1.062 in
ST624OB-EMU2 制造商:STMicroelectronics 功能描述:ST62 EMULATOR
ST624X 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8/16-Bit Micros