Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

H8S/2463 Datasheet(PDF) 934 Page - Renesas Technology Corp

No. de pieza H8S/2463
Descripción Electrónicos  16-Bit Single-Chip Microcomputer H8S Family / H8S/2400 Series
PDF  1250 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  RENESAS [Renesas Technology Corp]
Página de inicio  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8S/2463 Datasheet(HTML) 934 Page - Renesas Technology Corp

Back Button H8S/2463 Datasheet HTML 930Page - Renesas Technology Corp H8S/2463 Datasheet HTML 931Page - Renesas Technology Corp H8S/2463 Datasheet HTML 932Page - Renesas Technology Corp H8S/2463 Datasheet HTML 933Page - Renesas Technology Corp H8S/2463 Datasheet HTML 934Page - Renesas Technology Corp H8S/2463 Datasheet HTML 935Page - Renesas Technology Corp H8S/2463 Datasheet HTML 936Page - Renesas Technology Corp H8S/2463 Datasheet HTML 937Page - Renesas Technology Corp H8S/2463 Datasheet HTML 938Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 934 / 1250 page
background image
Section 22 USB Function Module (USB)
Rev. 2.00 Aug. 20, 2008 Page 886 of 1198
REJ09B0403-0200
22.8.3
DTC Transfer for Endpoint 2
When the transmit data at EP2 is transferred by the DTC, the USB function module automatically
performs the same processing as writing 1 to the PKTE bit in TRG if the currently selected FIFO
(64 bytes) becomes full. Accordingly, to transfer data of a multiple of 64 bytes, the user need not
write 1 to the PKTE bit. To transfer data of less than 64 bytes, the user must write 1 to the PKTE
bit on a DTC transfer end interrupt. If the user writes 1 to the PKTE bit when the maximum
number of bytes (64 bytes) are transferred, correct operation cannot be guaranteed.
To end the DTC transfer, write 0 to the EP2EMPTY bit in IFR0, after clearing the EP2DMAE bit
in DMA to 0 within the processing routine for a DTC transfer end interrupt. If this procedure is
omitted, the DTC transfer end interrupt is not cleared. To perform the DTC transfer again, in
addition to the said procedure, set the number of transfers, set the DTCERF register, and then set
the EP2DMAE bit in DMA to 1.
Figure 22.21 shows an example for transmitting 150 bytes of data to the host. In this case, internal
processing which is the same as writing 1 to the PKTE bit in TRG is automatically performed
twice. This internal processing is performed when the currently selected data FIFO becomes full.
Accordingly, this processing is automatically performed only when 64-byte data is sent.
When the last 22 bytes are sent, the internal processing for writing 1 to the PKTE bit is not
performed, and the user must write 1 to the PKTE bit by software. In this case, the application has
no more data to transfer but the USB function module continues to output DTC requests for EP2
as long as the FIFO has an empty space. Therefore, when all data has been transferred, write 0 to
the EP2DMAE bit in DMA to cancel DTC transfer requests, and then write 0 to the EP2EMPTY
bit in IFR0 to clear the request for a DTC transfer end interrupt.
PKTE
(Automatically
performed)
PKTE
(Automatically
performed)
PKTE is
not performed
Execute by DMA transfer
end interrupt (user)
64 bytes
64 bytes
22 bytes
Figure 22.21 PKTE Bit Operation for EP2



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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