Programming guide for the MAX3421E USB peripheral and host controller detailing register maps and bit definitions for SPI interface host operation.
The MAX3421E is a dual-role USB controller that adds USB host or peripheral capability to any system with an SPI interface. This programming guide describes every register and bit for host operation, while peripheral operation is covered in the MAX3420E Programming Guide.
The document includes register tables for host mode (Table 1) and combined peripheral/host modes (Table 2), terminology definitions for CPU and SIE, and detailed reset behavior including power-on reset, RES# pin, CHIPRES bit, and mode switching between host and peripheral.
| Interface | SPI |
|---|---|
| USB Role | Dual-role (host or peripheral) |
| Oscillator | Internal 12MHz |
| ISO Support | Full-speed ISO transfers as host |
| Reset Sources | Power-On Reset, RES# pin, CHIPRES bit |
The MAX3421E has three reset sources: an internal power-on reset circuit, a RES# pin, and a CHIPRES register bit.
Setting the HOST bit to 1 redefines registers R0 through R7, clears certain peripheral-only bits, and adds registers 25, 26, and 28 through 31 for host operation.
After power-on reset, the HOST bit is set to 0, defaulting to peripheral operation.