參數資料
型號: CR16MHS9VJEE
廠商: National Semiconductor Corporation
元件分類: 16位微控制器
英文描述: Family of CompactRISC 16-Bit Microcontrollers
中文描述: 家庭CompactRISC 16位微控制器
文件頁數: 55/99頁
文件大?。?/td> 449K
代理商: CR16MHS9VJEE
55
www.national.com
15.0 MICROWIRE/SPI
MICROWIRE/PLUS is a synchronous serial communications
protocol, originally implemented in National Semiconductor's
COPS and HPC families of microcontrollers to minimize
the number of connections, and therefore the cost, of com-
municating with peripherals.
The device has an enhanced MICROWIRE interface module
(MWSPI) that can communicate with all peripherals that con-
form to MICROWIRE or Serial Peripheral Interface (SPI)
specifications. This enhanced MICROWIRE interface is ca-
pable of operating as either a master or slave. Figure17
shows a typical enhanced MICROWIRE interface applica-
tion.
The enhanced MICROWIRE interface module includes the
following features:
— Programmable operation as a Master or Slave
— Programmable shift-clock frequency (master only)
— 8-bit serial I/O data shift register
— Two modes of clocking data
— Serial clock can be low or high when idle
— Double read buffer (master mode only)
— Busy flag, Read Buffer Full flag, and Overrun flag for
polling and as interrupt sources
— Supports multiple masters
— Maximum bit rate of 4M bits/second (master and slave)
— Supports very low-end slaves with the Slave Ready
output
— Echo back enable/disable (Slave only)
15.1
The MICROWIRE interface allows several devices to be con-
nected on one three-wire system. At any given time, one of
these devices operates as the master while all other devices
operate as slaves.
The master device supplies the synchronous clock (MSK) for
the serial interface and initiates the data transfer. The slave
devices respond by sending (or receiving) the requested da-
ta. Each slave device uses the master’s clock for serially
shifting data out (or in), while the master shifts the data in (or
out).
The three-wire system includes: the serial data in signal
(MDIDO for master mode, MDODI for slave mode), the serial
data out signal (MDODI for master mode, MDIDO for slave
mode) and the serial clock (MSK).
MICROWIRE OPERATION
In slave mode, an optional fourth signal (MCS) may be used
to enable the slave transmit. At any given time, only one
slave can respond to the master. Each slave device has its
own chip select signal (MCS) for this purpose.
The MICROWIRE interface allows the device to operate ei-
ther as a master or slave. This is configured via the MMNS
bit.
Figure18 shows a block diagram of the enhanced MICROW-
IRE serial interface in the device.
15.1.1
The MICROWIRE interface is a full duplex transmitter/receiv-
er. An 8-bit shifter is used for both transmitting and receiving.
The transmitted data is shifted out through MDODI pin (mas-
ter mode) or MDIDO pin (slave mode), starting with the most
significant bit. At the same time, the received data is shifted
in through MDIDO pin (master mode) or MDODI pin (slave
mode), also starting with the most significant bit first.
The shift in and shift out are controlled by the MSK clock. In
each clock cycle of MSK, one bit of data is transmitted/re-
ceived. The 8-bit shifter is accessible via the MWDAT regis-
ter. Reading the MWDAT register returns the value in the
read buffer. Writing to the MWDAT register updates the 8-bit
shifter.
Shifting
15.1.2
The enhanced MICROWIRE interface implements a double
buffer on read. As illustrated in Figure18, the double read
buffer consists of the 8-bit shifter and a buffer, called the read
buffer.
The 8-bit shifter loads the read buffer with new data when the
data transfer sequence is completed and previous data in the
Reading
Figure 17.
MICROWIRE Interface
DO
5
Chip Select Lines
CS
CS
CS
CS
MDIDO
DO
MDIDO
MDODI
MSK
MDODI
MSK
DI
DI
DI
DI
Master
Slave
SK
SK
SK
SK
8-Bit
A/D
1K Bit
EEPROM
LCD
Display
driver
VF
Display
Driver
I/O
Lines
I/O
Lines
MCS
MCS
相關PDF資料
PDF描述
CR16MHS9VJEI Family of CompactRISC 16-Bit Microcontrollers
CR16MNS5 Family of CompactRISC 16-Bit Microcontrollers
CR16MNS544VC Family of CompactRISC 16-Bit Microcontrollers
CR16MNS544VI Family of CompactRISC 16-Bit Microcontrollers
CR16MNS9 Family of CompactRISC 16-Bit Microcontrollers
相關代理商/技術參數
參數描述
CR16MHS9VJEI 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of CompactRISC 16-Bit Microcontrollers
CR16MNS5 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of CompactRISC 16-Bit Microcontrollers
CR16MNS544V8Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16MNS544V9Y 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
CR16MNS544VC 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of CompactRISC 16-Bit Microcontrollers