Electronic Components Datasheet Search
  English  ▼

X  

3800 Datasheet(PDF) 91 Page - Renesas Technology Corp

Part # 3800
Description  8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
PDF  174 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

3800 Datasheet(HTML) 91 Page - Renesas Technology Corp

Back Button 3800 Datasheet HTML 87Page - Renesas Technology Corp 3800 Datasheet HTML 88Page - Renesas Technology Corp 3800 Datasheet HTML 89Page - Renesas Technology Corp 3800 Datasheet HTML 90Page - Renesas Technology Corp 3800 Datasheet HTML 91Page - Renesas Technology Corp 3800 Datasheet HTML 92Page - Renesas Technology Corp 3800 Datasheet HTML 93Page - Renesas Technology Corp 3800 Datasheet HTML 94Page - Renesas Technology Corp 3800 Datasheet HTML 95Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 91 / 174 page
background image
2.3 Serial I/O
2-42
APPLICATION
3800 GROUP USER’S MANUAL
Control in the slave unit
After a setting of the related registers is completed as shown in Figure 2.3.26, the slave unit becomes the
state which is received a synchronizing clock at all times, and the Serial I/O receive interrupt request bit is
set to “1” every time an 8-bit synchronous clock is received.
By the serial I/O 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/O 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.28 shows the control in the slave unit using a serial I/O receive interrupt and any timer interrupt
(for head adjustive).
Fig. 2.3.28 Control in the slave unit
Write a transmission data
Read a reception data
N
Within a block transfer period?
Y
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/O 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).



Html Pages

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  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com