Cypress Semiconductor SL811HS Manual de usuario Pagina 11

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 43
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 10
Cypress Semiconductor Corporation
SL811HS and SL811HST: Application Notes
©2001 Cypress Semiconductor Corporation. All rights reserved. The information
and specifications contained in this document are subject to change without
notice.
Date: 07/26/01
Revision: 1.21
Page: 11
2.5.1 Initialization from Host to Slave
This software initialization is on SL811HS slave mode. This assumes hardware is already
configured slave mode.
- Power up
- Config slave mode
o Write value “0x00” to register 0FH
- Memory Test
- Slave Initialization:
o Reset chip
o Disable Interrupt Enable
§ Write value “0x00” to register 06H
o Setup USB Address
§ Write value “0x00” to register 07H
o Setup endpoint 0 address starts at 0x40
§ Write value “0x40’ to register 01H
o Setup transfer length of endpoint 0
§ Write value “0x40” to register 12H
o Set Arm and direction bit
§ Write value “0x03” to register 00H
Endpoint 1 Set A:
o Setup address Endpoint 1 starts at 0x60
§ Write value “0x60” to register 11H
o Setup endpoint 1 transfer length
§ Write value “0x40” to register 12H
o Set Arm and direction bit
§ Write value “0x03” to register 10H
Endpoint 2 Set A and B:
o Setup Endpoint2A address starts at 0x80
§ Write value “0x80” to register 21H
o Setup Endpoint2B address starts at 0xC0
§ Write value “0xC0” to register 29H
o Setup Endpoint2A transfer length
§ Write value “0x40” to register 22H
o Set Arm and direction bit
§ Write value “0x03” to register 10H
o Interrupt Enable for Endpoint 0, 1, 2, SOF and USB reset
§ Write value “0x67” to register 06H
o Enable USB Transfer
§ Write value “0x01” to register 05H
o Clear Interrupt Status
§ Write value “0xFF” to register 0DH
Vista de pagina 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 42 43

Comentarios a estos manuales

Sin comentarios