mpc82x54a Megawin Technology, mpc82x54a Datasheet - Page 47
mpc82x54a
Manufacturer Part Number
mpc82x54a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MPC82X54A.pdf
(74 pages)
- Current page: 47 of 74
- Download datasheet (3Mb)
Serial Peripheral Interface (SPI)
MEGAWIN
The device provides another high-speed serial communication interface, the SPI interface.
The SPI is a full-duplex, high-speed, synchronous communication bus with two operation
modes: Master mode and Slave mode. Up to 3Mbit/s can be supported in either Master or
Slave mode under the Fosc=12MHz. Two status flags are provided to signal the transfer
completion and write-collision occurrence.
There are three pins implementing the SPI functionality. One of them is SPICLK (P1.7), next is
MISO (P1.6), and the last is MOSI (P1.5). An extra pin SS (P1.4) is designed to configure the
SPI to run under Master or Slave mode. Data flows from master to slave via MOSI (Master
Out Slave In) pin, and flows from slave to master via MISO (Master In Slave Out) pin. The
SPICLK plays as an output pin when the device works under Master mode. At the same time,
as an input pin when the device works under Slave mode. If the SPI system is disabled, i.e.,
SPEN (SPICTL.6) =0, these pins are configured as general-purposed I/O port (P1.4 ~ P1.7).
Two devices with SPI interface communicate with each other via one synchronous clock
signal, i.e., one input data signal, and one output data signal. There are two concerns the user
could take care. One of them is latching data on the negative edge or positive edge of the
clock signal which named polarity. And the other is keeping the clock signal low or high while
the device idle which named phase. Permuting those states from polarity and phase, there
Fosc
Clock Divider
128
16,
64
4,
SSIG
SPIF
MPC82x54A Data Sheet
WCOL
SPEN
Shift In Register
Shift Out Register
SPI block diagram
DORD
SPI Control
-
MSTR
-
CPOL
-
CPHA
-
SPR1
-
SPR0
I/O control
-
SPISTAT
SPICTL
(SPICLK)
(MISO)
(MOSI)
P1.6
P1.5
P1.7
P1.4
(SS)
47
Related parts for mpc82x54a
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8 Bit Micro-Controller with Voice Synthesizer and Melody
Manufacturer:
Megawin Technology Co., Ltd.
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
1-channel 350v, 50ma/80ma Constant Current Dc Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Universal Pwm Type Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8 Bits Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
A Single-chip Microcontroller Based On A High Performance 1-t Architecture 80c51
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet: