数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

M38047FEHKP 数据表(PDF) 198 Page - Renesas Technology Corp

部件名 M38047FEHKP
功能描述  8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
PDF  387 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  RENESAS [Renesas Technology Corp]
网页  http://www.renesas.com
标志 RENESAS - Renesas Technology Corp

M38047FEHKP 数据表(HTML) 198 Page - Renesas Technology Corp

Back Button M38047FEHKP Datasheet HTML 194Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 195Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 196Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 197Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 198Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 199Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 200Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 201Page - Renesas Technology Corp M38047FEHKP Datasheet HTML 202Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 198 / 387 page
background image
2-74
APPLICATION
2.4 Serial interface
Rev.1.00 Jan 14, 2005
REJ09B0212-0100Z
3804 Group (Spec.H)
q Control in the slave unit
After setting the relevant registers as shown in Figure 2.4.35, the slave unit becomes the state
where a synchronous clock can be received at any time, and the serial I/O1 receive interrupt
occurs each time an 8-bit synchronous clock is received.
In the serial I/O1 receive interrupt processing routine, the data to be transmitted next is written to
the transmit buffer register after the received data is read out.
However, if no serial I/O1 receive interrupt occurs for a certain time (heading adjustment time or
more), 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.4.37 shows a control procedure of the slave unit using the serial I/O1 receive interrupt
and any timer interrupt (for heading adjustment).
Fig. 2.4.37 Control procedure of slave unit
Write a transmission data
Read a reception data
N
Within a block transfer
term?
Y
Y
A received byte
counter
≥ 8?
N
RTI
Write dummy data (FF16)
A received byte counter +1
Heading
adjustment
counter
Initial
value
(Note 3)
Serial I/O1 receive interrupt
processing routine
Timer interrupt processing
routine
Heading adjustment
counter – 1
N
Heading adjustment
counter = 0?
Y
RTI
Write the first transmission
data (first byte) in a block
A received byte counter
0
• Confirm the received
byte counter to judge
the block transfer term.
In this example, set the value which is equal to the
heading adjustment time divided by the timer interrupt
cycle as the initial value of the heading adjustment
counter.
For example: When the heading adjustment time is 8 ms
and the timer interrupt cycle is 1 ms, set
8 as the initial value.
3:
CLT (Note 1)
CLD (Note 2)
Push register to stack
• Push the register used in
the interrupt processing
routine into the stack.
CLT (Note 1)
CLD (Note 2)
Push register to stack
Pop registers
• Pop registers which is pushed
to stack.
Pop registers
Notes 1: When using the Index X mode flag (T).
2: When using the Decimal mode flag (D).
• Pop registers which is pushed
to stack.
• Push the register used in
the interrupt processing
routine into the stack.



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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