EasyManuals Logo

Maxim Integrated MAX32665 User Manual

Maxim Integrated MAX32665
457 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #416 background imageLoading...
Page #416 background image
MAX32665-MAX32668 User Guide
Maxim Integrated Page 416 of 457
Table 21-15: USBHS Register Index Select Register
USBHS Register Index Select
USBHS_INDEX
[0x000E]
Bits
Name
Access
Reset
Description
7:5
-
R/W
0
Reserved for Future Use
Do not modify this field.
4:0
index
R/W
0x0
Index Register Access Selector
Each IN and OUT endpoint has memory-mapped control and status registers in addresses
from 0x400B 1010 to 0x400B 1018. Only one endpoint’s registers are addressable in the
memory map at time. This bit field selects which endpoint’s registers are present in the
memory map where:
0x0: Endpoint 0 IN/OUT status registers addressable.
0x1: Endpoint 1 IN/OUT status registers addressable.
0x2: Endpoint 2 IN/OUT status registers addressable.
0xB: Endpoint 11 IN/OUT status registers addressable.
Table 21-16: USBHS Test Mode Register
USBHS Test Mode Register
USBHS_TESTMODE
[0x000F]
Bits
Name
Access
Reset
Description
8:6
-
R/W
0
Reserved for Future Use
Do not modify this field.
5
force_fs
R/W
0
Force FS Mode
When the USBHS receives a RESET from the Host, the USBHS is forced into Full-Speed
mode.
4
force_hs
R/W
0
Force HS Mode
When the USBHS receives a RESET from the Host, the USBHS is forced into Hi-Speed
mode.
3
test_packet
R/W
0
Test Packet Mode
To enter this test mode, firmware must write the standard 53-byte test packet to the
Endpoint 0 FIFO, then set USBHS_INCSRL.inpktrdy = 1, then set this bit. The DATA0 PID is
automatically added to the head of the packet and the CRC to the end of the packet. The
USBHS will continue to send the test packet until this bit is cleared.
2
test_k
R/W
0
HS Data K State Test Mode
The USBHS transmits a continuous Data K State
1
test_j
R/W
0
HS Data J State Test Mode
The USBHS transmits a continuous Data J State
0
test_se0_nak
R/W
0
SE0 NAK Test Mode
The USBHS responds to any valid IN token with a NAK
21.12.2 Endpoint Register Access Control
Each IN and OUT endpoint from Endpoint 0x1 to 0xB uses memory mapped access to the registers in Table 21-17. Selecting
a specific endpoint, using the USBHS_INDEX register, maps each of the registers in Table 21-17 to the selected endpoint.
Table 21-17: USB Memory Mapped Register Access for Endpoints 1 to 11
Endpoint Register
USBHS_INMAXP
USBHS_INCSRL
USBHS_INCSRU

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Maxim Integrated MAX32665 and is the answer not in the manual?

Maxim Integrated MAX32665 Specifications

General IconGeneral
BrandMaxim Integrated
ModelMAX32665
CategoryMotherboard
LanguageEnglish