This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x USB registers problem?

Other Parts Discussed in Thread: OMAP-L137

Hi:

   We are  using AM335X in our project. The USB OTG controller is going to be used as the way for communication between two controller.   When we check the example code of USB driver supplied in starterware, We find some USB registers are used in the code of starterware, but could not find in the AM335X datasheet. These registers are defined in the file of  hw_usb.h, and used in the file of usb.c in starterware. The registers definition are as follow:

#define USB_O_EPC                  0x00000400   // USB External Power Control
#define USB_O_EPCRIS            0x00000404   // USB External Power Control Raw
                                                        // Interrupt Status
#define USB_O_EPCIM             0x00000408   // USB External Power Control
                                                      // Interrupt Mask
#define USB_O_EPCISC            0x0000040C   // USB External Power Control
                                                     // Interrupt Status and Clear
#define USB_O_DRRIS             0x00000410     // USB Device RESUME Raw Interrupt
                                                    // Status
#define USB_O_DRIM              0x00000414     // USB Device RESUME Interrupt Mask
#define USB_O_DRISC             0x00000418    // USB Device RESUME Interrupt
                                                    // Status and Clear
#define USB_O_GPCS              0x0000041C   // USB General-Purpose Control and
                                                   // Status
#define USB_O_VDC               0x00000430  // USB VBUS Droop Control
#define USB_O_VDCRIS            0x00000434  // USB VBUS Droop Control Raw
                                            // Interrupt Status
#define USB_O_VDCIM             0x00000438  // USB VBUS Droop Control Interrupt
                                            // Mask
#define USB_O_VDCISC            0x0000043C  // USB VBUS Droop Control Interrupt
                                            // Status and Clear
#define USB_O_IDVRIS            0x00000444  // USB ID Valid Detect Raw
                                            // Interrupt Status
#define USB_O_IDVIM             0x00000448  // USB ID Valid Detect Interrupt
                                            // Mask
#define USB_O_IDVISC            0x0000044C  // USB ID Valid Detect Interrupt
                                            // Status and Clear
#define USB_O_DMASEL            0x00000450  // USB DMA Selec
Can anyone tell us where we can find those registers' discriptions?
Thank you!
Best regards!