Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

7643 Datasheet(PDF) 247 Page - Renesas Technology Corp

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

7643 Datasheet(HTML) 247 Page - Renesas Technology Corp

Back Button 7643 Datasheet HTML 243Page - Renesas Technology Corp 7643 Datasheet HTML 244Page - Renesas Technology Corp 7643 Datasheet HTML 245Page - Renesas Technology Corp 7643 Datasheet HTML 246Page - Renesas Technology Corp 7643 Datasheet HTML 247Page - Renesas Technology Corp 7643 Datasheet HTML 248Page - Renesas Technology Corp 7643 Datasheet HTML 249Page - Renesas Technology Corp 7643 Datasheet HTML 250Page - Renesas Technology Corp 7643 Datasheet HTML 251Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 247 / 424 page
background image
Rev.2.00
Aug 28, 2006
page 126 of 202
7643 Group
REJ09B0133-0200
APPLICATION
2.6 USB
2.6.5 USB receive
Endpoint 0 to endpoint 2 have OUT (transmit) FIFOs individually.
Each endpoint’s FIFO is configured in following way:
Endpoint 0: 16-byte
Endpoint 1: 128-byte
Endpoint 2: Mode 0: 32-byte
Mode 1: 128-byte
When endpoint 2 is used, the OUT FIFO size differs according to the mode.
To select the mode, use the USB endpoint FIFO mode register (address 005F16).
USB receive data is read from the USB endpoint x (x = 0 to 2) OUT FIFO.
When data is read from this register, the internal Write pointer is automatically decremented by 1.
The contents of the internal Write pointer cannot be read out, and the contents of the FIFO are undefined at reset.
When using endpoint 0
When a receive is completed, the OUT_PKT_RDY flag is set to “1” and the number of receive data
is set in the USB endpoint x (x = 0 to 2) OUT write count register (address 005D16). After data is
read from the OUT FIFO, clear the OUT_PKT_RDY flag to “ 0 ” by writing “ 1 ” to the
SERVICED_OUT_PKT_RDY bit. When using endpoint 0, set the DATA_END bit to “1” after the last
data packet is read from the OUT FIFO. When the DATA_END bit is set to “1”, the USB FCU will
go on to the next phase process and clear the bit to “0”.
When using endpoints 1, 2
When a receive is completed, the OUT_PKT_RDY flag is set to “1” and the number of bytes of
receive data is set in the USB endpoint x (x = 0 to 2) OUT write count register (address 005D16).
When max. packet size is greater than 1/2 (single-buffer)
- When AUTO_CLR bit = “1”
When data (the size equals received OUT packet) is read from the OUT FIFO, the OUT_PKT_RDY
flag is automatically cleared to “0”.
- When AUTO_CLR bit = “0”
The user needs to clear the OUT_PKT_RDY flag through software.
When max. packet size is less than or equal to 1/2 (double-buffer)
- When AUTO_CLR bit = “1”
When data (the size equals received OUT packet) is read from the OUT FIFO but there is no data
in the OUT FIFO, the OUT_PKT_RDY flag automatically is set to “0”. If there is one packet of
data in the OUT FIFO, OUT_PKT_RDY flag will be cleared to “0” but then set to “1” after 83ns
(when f(XIN) = 24MHz, Vcc = 5 V).
- When AUTO_CLR bit = “0”
Clear the OUT_PKT_RDY flag to “0” after reading data from the OUT FIFO (it will not be cleared
automatically). When there is no data in the OUT FIFO, the OUT_PKT_RDY flag will be set to
“0”. If there is one packet of data in the OUT FIFO, OUT_PKT_RDY flag is cleared to “0” once,
then set to “1” after 83ns (when f(XIN) = 24MHz, Vcc = 5 V).
(1) Usage notes concerning data receive
q OUT_PKT_RDY flag
Read one packet data from the OUT FIFO before clearing the OUT_PKT_RDY flag. If the
OUT_PKT_RDY flag is cleared while one packet data is being read, the internal Read pointer
cannot operate normally.
q OUT FIFO
For endpoints 1 or 2, when there are two packets of data in the OUT FIFO, after reading out the
max OUT packet size of data, one packet of data will remain in the OUT FIFO. In this case, even
if the OUT_PKT_RDY flag is set to “0”, it will return to “1” after 83ns (Vcc = 5V, f(XIN) = 24MHz).



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