參數(shù)資料
型號(hào): HD404326
廠商: Hitachi,Ltd.
英文描述: 4-bit HMCS400-series microcomputer(4位單片微計(jì)算機(jī))
中文描述: 4位HMCS400系列微電腦(4位單片微計(jì)算機(jī))
文件頁數(shù): 51/94頁
文件大?。?/td> 573K
代理商: HD404326
HD404328 Series
51
Serial Interface
The MCU has a clock-synchronous serial interface which transmits and receives 8-bit data.
The serial interface consists of a serial data register (SR), serial mode register (SMR), port mode register A
(PMRA), octal counter, and selector, as shown in figure 29. The R1
0
/
SCK
pin and the transmit clock are
controlled by writing data to the SMR. The transmit clock shifts the contents of the SR, which can be read
and written to by software, before transmission starts between two MCUs.
The serial interface is activated by the STS instruction. The octal counter is reset to 000 by this instruction,
it starts counting at the falling edge of the transmit clock (
SCK
), and it increments at the rising edge of the
clock. A serial interrupt request flag is set when the eighth transmit clock signal is input (the serial
interface is reset) or when serial transmission is discontinued (the octal counter is reset).
I
÷
2
÷
8
÷
÷
÷
÷
3
1
5
2
SCK
Selector
System
clock
PER
Prescaler S (PSS)
3
Serial mode
register
(SMR)
Clock
Serial data
register (SR)
Serial interrupt
request flag
(IFS)
S
1/2
SI
SO
Octal
counter (OC)
I/O
controller
Transfer
control
signal
Figure 29 Serial Interface Block Diagram
Serial Mode Register (SMR: $005):
Four-bit write-only register that controls the R1
0
/
SCK
pin, transmit
clock, and prescaler division ratio as shown in figure 30. Writing to this register initializes the serial
interface.
A write signal input to the serial mode register discontinues the input of the transmit clock to the serial data
register and octal counter. Therefore, if a write is performed during data transmission, the octal counter is
reset to 000 to stop transmission, and, at the same time, the serial interrupt request flag is set.
相關(guān)PDF資料
PDF描述
HD4074449 4-bit HMCS400-Series microcomputer(4位單片微計(jì)算機(jī))
HD404448 4-bit HMCS400-Series microcomputer(4位單片微計(jì)算機(jī))
HD404449 4-bit HMCS400-Series microcomputer(4位單片微計(jì)算機(jī))
HD4074459 4-bit HMCS400-Series microcomputer(4位單片微計(jì)算機(jī))
HD404458 4-bit HMCS400-Series microcomputer(4位單片微計(jì)算機(jī))
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HD404326FS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:microcomputer designed to increase program productivity
HD404326H 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:microcomputer designed to increase program productivity
HD404326S 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:microcomputer designed to increase program productivity
HD404326U 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:microcomputer designed to increase program productivity
HD404326UFS 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:microcomputer designed to increase program productivity