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

X  

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

Back Button 7643 Datasheet HTML 230Page - Renesas Technology Corp 7643 Datasheet HTML 231Page - Renesas Technology Corp 7643 Datasheet HTML 232Page - Renesas Technology Corp 7643 Datasheet HTML 233Page - Renesas Technology Corp 7643 Datasheet HTML 234Page - Renesas Technology Corp 7643 Datasheet HTML 235Page - Renesas Technology Corp 7643 Datasheet HTML 236Page - Renesas Technology Corp 7643 Datasheet HTML 237Page - Renesas Technology Corp 7643 Datasheet HTML 238Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 234 / 424 page
background image
Rev.2.00
Aug 28, 2006
page 113 of 202
7643 Group
REJ09B0133-0200
APPLICATION
2.6 USB
(8) USB endpoint 1, 2 IN control register
These registers comprise bits related to endpoints 1 and 2 control and status information.
q IN_PKT_RDY bit
Single-buffer mode:
Set this bit to “1” after writing one packet of data to the IN FIFO (this bit is automatically set
to “1” when AUTO_SET bit is “1”).
The USB FCU clears this bit to “0” when the IN FIFO transmit is completed (after the ACK is
received from the host).
Double-buffer mode:
Set this bit to “1” every writing one packet of data to the IN FIFO. After writing one packet of
data, if there is one packet in the FIFO, the IN_PKT_RDY bit is not set to “1”; only the TX_NOT_EPT
flag is set to “1”. If the FIFO has two packets (FIFO full state) after the write, both the IN_PKT_RDY
bit and TX_NOT_EPT flag are set to “1” (refer to Table 2.6.2).
The USB FCU clears this bit to “0” when the IN FIFO transmit is completed (after the ACK is
received from the host).
Nothing is changed even when writing “0” to this flag is executed. When you need to access this
bit in a case such as setting other bits in the endpoint x IN control register is performed, clear
this bit to “0” by program.
q SEND_STALL bit
Set this bit to “1” in the STALL state. When this bit is “1”, the USB FCU sends a STALL
handshake signal to the host CPU.
q TOGGLE_INIT bit
This bit initializes the toggle sequence bit.
Setting the TOGGLE_INIT bit to “1” assigns the PID of the next packet of data to be transmitted
to the host as DATA0. To initialize the data toggle sequence bit for an endpoint (reset the next
data packet as DATA0), set this bit to “1” and then clear it to “0”.
q INTPT bit
Set this bit to “1” in order to use an IN endpoint for rate feedback interrupt transfer, as described
in detail below.
1. Set the USB endpoint x IN maximum packet size register to a value larger than 1/2 the USB
endpoint x FIFO size.
2. Set the INTPT bit to “1”.
3. Flush out the old data in the FIFO.
4. Store the transmit data in the IN FIFO and set IN_PKT_RDY bit to “1”.
5. Repeat steps 3 and 4.
When using the endpoint for rate feedback interrupt transfer in an actual application, the function-
side always must have transmit data to send to the host. Therefore, in a rate feedback interrupt
transfer, the device never returns a NAK in response to the IN token from the host. The device
transmits the data in the FIFO in response to an IN token regardless of the IN_PKT_RDY status.
However, this function in the 7643 Group assumes that there is an ACK response from the host
after data is transmitted in response to an IN token.
q TX_NOT_EPT flag
This flag is set to “1” when there is data in the IN FIFO.
q FLUSH bit
Set this bit to “1” in order to erase the data in the FIFO. If there are two or more packets in the
IN FIFO, the old data will be erased. Setting this bit to “1” during a USB transfer may cause the
transmit data to be erased.



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