поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

7220 датащи(PDF) 73 Page - Renesas Technology Corp

номер детали 7220
подробное описание детали  8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  303 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  RENESAS [Renesas Technology Corp]
домашняя страница  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7220 датащи(HTML) 73 Page - Renesas Technology Corp

Back Button 7220 Datasheet HTML 69Page - Renesas Technology Corp 7220 Datasheet HTML 70Page - Renesas Technology Corp 7220 Datasheet HTML 71Page - Renesas Technology Corp 7220 Datasheet HTML 72Page - Renesas Technology Corp 7220 Datasheet HTML 73Page - Renesas Technology Corp 7220 Datasheet HTML 74Page - Renesas Technology Corp 7220 Datasheet HTML 75Page - Renesas Technology Corp 7220 Datasheet HTML 76Page - Renesas Technology Corp 7220 Datasheet HTML 77Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 303 page
background image
2-46
7220 Group User’s Manual
FUNCTIONAL DESCRIPTION
2.7 Serial I/O
The transmit side in Figure 2.7.7, P21 is set as the serial I/O data output pin and P20 is set as the serial
I/O synchronous clock output pin by the initialization program.
The receive side, P21 is set as the serial I/O data input pin and P20 is used for the serial I/O synchronous
clock (external clock) input pin by the initialization program.
Figure 2.7.8 shows the serial data transmit/receive processing sequence using the above structure.
Fig. 2.7.7 Connection example for serial I/O transmit/receive
As a result of the above processing 1-byte data is transferred from the transmit side to the receive side.
When the transmit operation is completed, interrupts occur on both sides, so that completion of the data
transfer can be reported.
After that, repeating the processing after the symbol (w) can transmit/receive more data.
Transmit side
LDM
#$0C, $DC
; Set serial I/O mode register.
CLB
2, $FD
; Reset serial I/O interrupt
request bit.
SEB
2, $FF
; Set the serial I/O interrupt
enable bit to “1.”
LDM
#DATA, $DD ; Write transfer data to serial
I/O register.
Fig. 2.7.8 Serial data transmit/receive processing sequence
Receive side
LDM
#$48, $DC
; Set serial I/O mode
register.
CLB
2, $FD
; Reset serial I/O interrupt
request bit.
SEB
2, $FF
; Set serial I/O interrupt
enable bit to “1.”
wLDM
#$FF, $DD
; Write dummy data to
serial I/O register.
Serial I/O Mode Register
Serial data
P21/SOUT
SOUT/P21
P20/SCLK
SCLK/P20
Synchronous clock
Transmit Side
Receive Side
Serial I/O Mode Register
M37221M6-XXXSP/FP
M37221M6-XXXSP/FP
1
1
b0
b7
0
1: SCLK, SOUT
Internal synchronous clock selection bits
Serial I/O port selection bit
Fix this bit to “0.”
Transfer direction selection bit
Serial input pin selection bit
Nothig is assigned.
Synchronous clock selection bit
1: Internal clock
1
b0
b7
0
0
1: SCLK, SOUT
0: External clock
1: Input signal from SOUT pin
1
Internal synchronious clock selection bits
Serial I/O port selection bit
Fix this bit to “0.”
Transfer direction selection bit
Serial input pin selection bit
Nothig is assigned.
Synchronous clock selection bit



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


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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