Atmel AT85DVK-07 Especificaciones Pagina 129

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 263
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 128
129
AT85C51SND3Bx
7632A–MP3–03/06
Pipe Configuration The following flow must be respected in order to activate a Pipe:
Figure 66. Pipe activation flow:
Once the Pipe is activated (EPEN set) and, the hardware is ready to send requests to
the Device.
When configured (CFGOK = 1), only the Pipe Token (PTOKEN) and the polling interval
for Interrupt pipe can be modified.
A Control type pipe supports only 1 bank. Any other value will lead to a configuration
error (CFGOK = 0).
A clear of PEN will reset the configuration of the Pipe. All the corresponding Pipe regis-
ters are reset to there reset values. Please refers to the Memory Management chapter
for more details.
Note: The firmware has to configure the Default Control Pipe with the following parameters:
Type: Control
Token: SETUP
Data bank: 1
Size: 64 Bytes
The firmware asks for 8 bytes of the Device Descriptor sending a GET_DESCRIPTOR
request. These bytes contains the MaxPacketSize of the Device default control endpoint
and the firmware re-configures the size of the Default Control Pipe with this size
parameter.
Pipe
Activation
UPCONX
PENABLE=1
UPCFG0X
PTYPE
PTOKEN
PEPNUM
CFGOK=1
ERROR
No
Yes
UPCFG2X
INTFRQ
(interrupt only)
Pipe activated
and f reezed
UPCFG1X
PSIZE
PBK
CFGMEM
Enable the pipe
Select the Pipe type:
* Type (Control, Bulk, Interrup
t)
* Token (IN, OUT , SETUP)
* Endpoint number
Configure the Pipe memory:
* Pipe size
* Number of banks
Configure the polling interval
for Interrupt pipe
Vista de pagina 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 262 263

Comentarios a estos manuales

Sin comentarios