参数资料
型号: M38027M8-XXXFP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, MICROCONTROLLER, PQFP64
封装: 14 X 14 MM, 0.80 MM PITCH, PLASTIC, QFP-64
文件页数: 6/207页
文件大小: 2389K
代理商: M38027M8-XXXFP
第1页第2页第3页第4页第5页当前第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页
2.3 Serial I/O
2-46
APPLICATION
3802 GROUP USER’S MANUAL
Control in the slave unit
After a setting of the related registers is completed as shown in Figure 2.3.33, the slave unit becomes the
state which is received a synchronizing clock at all times, and the Serial I/O1 receive interrupt request bit
is set to “1” every time an 8-bit synchronous clock is received.
By the serial I/O1 receive interrupt processing routine, the data to be transmitted next is written to the
Transmit buffer register after received data is read out.
However, if no serial I/O1 receive interrupt occurs for more than a certain time (head adjustive time), the
following processing will be performed.
1. The first 1 byte data of the transmission data in the block is written into the Transmit buffer register.
2. The data to be received next is processed as the first 1 byte of the received data in the block.
Figure 2.3.35 shows the control in the slave unit using a serial I/O1 receive interrupt and any timer interrupt
(for head adjustive).
Fig. 2.3.35 Control in the slave unit
Write a transmission data
Read a reception data
N
Within a block transfer period?
Y
A received byte counter
≥ 8?
N
RTI
Write any data (FF16)
A received byte counter +1
Heading adjustive
counter
Initialized
value (Note 3)
Serial I/O1 receive interrupt
processing routine
Timer interrupt processing
routine
Heading adjustive counter – 1
N
Heading adjustive
counter = 0?
Y
RTI
Write the first transmission data
(first byte) in a block
A received byte counter
0
Check the received byte
counter to judge if a block
has been transfered.
In this example, set the value which is equal to the
heading adjustive time divided by the timer interrupt
cycle as the initialized value of the heading adjustive
counter.
For example: When the heading adjustive time is 8 ms
and the timer interrupt cycle is 1 ms, set
8 as the initialized value.
3:
q
CLT (Note 1)
CLD (Note 2)
Push register to stack
Push the register used in
the interrupt processing
routine into the stack.
q
CLT (Note 1)
CLD (Note 2)
Push register to stack
Push the register used in
the interrupt processing
routine into the stack.
q
Pop registers
Pop registers which is
pushed to stack.
q
Pop registers
Pop registers which is
pushed to stack.
q
Notes 1: When using the Index X mode flag (T).
2: When using the Decimal mode flag (D).
相关PDF资料
PDF描述
M38203M4LXXXGP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP80
MSM80C35RS 8-BIT, 11 MHz, MICROCONTROLLER, PDIP40
MPC8536AVTAVLA 32-BIT, 1500 MHz, MICROPROCESSOR, PBGA783
MB95F416KPMC-G-SNE2 MICROCONTROLLER, PQFP80
MC9S08SG16E1VTJR MICROCONTROLLER, PDSO16
相关代理商/技术参数
参数描述
M3802-BLACK-100 制造商:Alpha Wire 功能描述:
M3803 BK005 制造商:Alpha Wire 功能描述:CBL 5COND 18AWG BLK 100'
M38037M5H-175HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays
M38037M8108F 制造商:Panasonic Industrial Company 功能描述:IC
M38037M8H-194HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays