ATJ209x USB

From S1MP3 Wiki
Jump to: navigation, search

The ATJ209x chips have an updated USB sub-chip. The new chip has full USB 2.0 support, with high speed (480Mb).

The ATJ209x chips doesn't support USB host.

The register functionality is similar to the NET2270/2272 of similar vintage (datasheets here and here.)

s1giveio code

WiRe announcing on the mailinglist that he managed to modify s1giveio to work with the newer players: http://lists.s1mp3.org/pipermail/s1mp3-dev-s1mp3.org/2007-April/001039.html

usb registers

port number register name
0x3E USB_INTRESCTL_REG
0x50 USB_FIFOCTL_REG (USB FIFO Control Register)
0x51 USB_DMA6CTRL_REG (DMA6 Control Register)
0x52 USB_IRQSTAT0_REG (USB Interrupt Status Register 0)
0x53 USB_IRQSTAT1_REG (USB Interrupt Status Register 1)
0x54 USB_IRQEN0_REG (USB Interrupt Enable Register 0)
0x55 USB_IRQEN1_REG (USB Interrupt Enable Register 1)
0x56 USB_CTRL_REG (USB Control Register)
0x57 USB_STAT_REG (USB Status Register) Read Only
0x58 USB_EP_IDX_REG (Endpoint Index Register)
0x59 USB_EP_CFG_REG
0x5A USB_EP_CTL_REG
0x5B USB_EP_STAT_REG
0x5C USB_EP_IRQ_REG
0x5D USB_EP_IRQEN_REG
0x5E USB_EP_MAXPKT0_REG
0x5F USB_EP_MAXPKT1_REG
0x60 USB_EP_DAT_REG
0x66 USB_REGPGIDX_REG (USB Register Page Index)
0x67 USB_DEVADDR_REG (USB Device Address)
0x68 USB_TESTMODE_REG (USB Test Modes Register)
0x8B USB_DMA6CLK_REG
0x8C USB_GLOBAL_CTL_REG (USB Global Control Register)
0xEC USB_VBUSCTRL_REG


Related ports

  • bit 3 of port 0xad is set when the player is connected to a usb 1.1 host.