MAX3420 -usb资料
USB Peripheral Controller
with SPI Interface


Register Description
Reg0 bits would be as follows: Reg4 = 1, Reg3 = 0,The SPI master controls the MAX3420E by reading andReg2 = 1, Reg1 = 0, Reg0 = 0. The DIR (direction) bitwriting 21 registers (Table 1). For a complete descrip-determines the direction for the data transfer. DIR = 1tion of register contents, please refer to the “MAX3420Emeans the data byte(s) will be written to the register,Programming Guide.” A register access consists of theand DIR = 0 means the data byte(s) will be read fromSPI master first writing an SPI command byte, followedthe register. The ACKSTAT bit sets the ACKSTAT bit inby reading or writing the contents of the addressedthe EPSTALLS (R9) register. The SPI master sets thisregister. All SPI transfers are MSB first. The commandbit to indicate that it has finished servicing a CONTROLbyte contains the register address, a direction bit (readtransfer. Since the bit is frequently used, having it in the= 0, write = 1), and the ACKSTAT bit (Figure 4). The SPISPI command byte improves firmware efficiency. In SPImaster addresses the MAX3420E registers by writingfull-duplex mode, the MAX3420E clocks out eight USBthe binary value of the register number in the Reg4status bits as the command byte is clocked in (Figurethrough Reg0 bits of the command byte. For example,5). In half-duplex mode, these status bits are accessedto access the IOPINS (R20) register, the Reg4 through
in the normal way, as register bits.
MAX3420E
Connect load capacitors (20pF max) to ground on both XI and XO. XI can also be driven with an external 12MHz ±0.25% clock. If driving XI with...
Connect load capacitors (20pF max) to ground on both XI and XO. XI can also be driven with an external 12MHz ±0.25% clock. If driving XI with...
热门文档