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

X  

7643 Datasheet(PDF) 269 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) 269 Page - Renesas Technology Corp

Back Button 7643 Datasheet HTML 265Page - Renesas Technology Corp 7643 Datasheet HTML 266Page - Renesas Technology Corp 7643 Datasheet HTML 267Page - Renesas Technology Corp 7643 Datasheet HTML 268Page - Renesas Technology Corp 7643 Datasheet HTML 269Page - Renesas Technology Corp 7643 Datasheet HTML 270Page - Renesas Technology Corp 7643 Datasheet HTML 271Page - Renesas Technology Corp 7643 Datasheet HTML 272Page - Renesas Technology Corp 7643 Datasheet HTML 273Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 269 / 424 page
background image
Rev.2.00
Aug 28, 2006
page 148 of 202
7643 Group
REJ09B0133-0200
APPLICATION
2.6 USB
Fig. 2.6.43 Connection diagram
URXD
RTS
General purpose
port 1
General purpose
port 2
P84/UTXD
P86/CTS
P41/INT0
P40
USB
USB OUT
7643 Group
Host CPU
Receiving side
Transmitting side
Transfer
Host PC
2.6.8 Connection with other functions
The 7643 Group also has DMAC and UART connections for USB transfers, enabling high-volume data
transfers.
(1)
Application example 1: Data packet transfer from USB FIFO to UART (without DMA)
Outline: Data is transmitted from USB FIFO to host CPU using UART.
Specification: - USB endpoint 1 OUT bulk transfer is used.
- USB endpoint 1 OUT interrupt is used.
- USB endpoint 1 OUT packet size: 64 bytes
- UART transmit is used.
- UART transmit interrupt (when transmit shift operation is completed) is used.
- Transfer bit rate: 9600bps (
φ = 12MHz divided by 1248)
- Data format: 1ST-8DATA-1SP
- Parity bit is disabled
- Re-transmit is executed if transfer error occurs (re-transmit in byte unit)
-P41/INT0 pin is used to detect the re-transmit request (host CPU sets P41/INT0
pin to “L” when UART receive error occurs)
- INT0 interrupt request flag (falling edge) to detect the re-transmit request is used.
-P40 to inform host CPU of USB packet transmit is used.
- CTS function is used.
After USB data is received from the host PC, the 7643 MCU stores the value of the USB endpoint
1 OUT write count register (number of received bytes) in Storage RAM 1 by the USB endpoint 1
OUT interrupt. Then, sets P40 to “L”, the UART transmit interrupt to be enabled, and starts the
UART transmit.
As soon as the UART transmit is enabled, the first UART transmit interrupt occurs. Therefore, the
7643 MCU writes one byte of the received USB FIFO data to both Storage RAM2 and UART
transfer buffer register 1, and returns from the interrupt. Next, the host CPU sets the CTS pin to
“L” and reads the data in the UART transmit/receive shift register. At this time, since another UART
transfer interrupt occurs, the same process is repeated until the USB FIFO is empty.
On the other hand, when the host CPU requests a re-transmit by a UART receive error etc., it is
programmed to set the P41/INT0 pin to “L”. In the 7643 Group, the data in Re-transmit RAM 2 is
written to the UART transmit/receive buffer register if the INT0 interrupt request flag is “1” in the
UART transmit interrupt routine. By this action, the previous data is resent to the host CPU.
As described above, when all data in the USB FIFO are transmitted to the host CPU, P40 is set
to “H”, the UART transmit interrupt is disabled, and the OUT_PKT_RDY flag of USB endpoint 1
OUT is cleared. This makes USB endpoint 1 ready to receive the next USB data packet.
Figure 2.6.43 shows the connection diagram, Figures 2.6.44 to 2.6.46 show related register settings,
and Figures 2.6.47 and 2.6.48 show control procedure examples.



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