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.

AM1808 USB1.1 problem

Other Parts Discussed in Thread: AM1808

Hi,

One of my Customers has the following problem regarding the AM1808.

Please look into this.  I will direct my Customer to this Forum for further discussions, if required.

Thanks in advance.

I am having problem with USB 1.1 host after a transition to operating point (frequency). Initially everything works well.  After my power management system switches the operating frequency USB 1.1 host stops sending any data on bus.

Following are details:
SOC AM1808exp
Board Logic PD
Zoom™ AM1808 Development Kit

Steps Needed to Recreate Problem:
The system is initially configured to use the following values, mentioned in the table
PLL0_SYSCLK1 = 600Mhz
PLL0_SYSCLK6 = 600Mhz
PLL0_SYSCLK2 = 200
PLL0_SYSCLK4 = 150
After some time for power saving the PLL 0 multiplier value is changed to 0x0C in PLL 0 Multiplier Control Register (PLLM). The values in the PLLDIVn registers of PLL0 are kept intact. After frequency transition the I/O request submitted on the OHCI controller(USB1.1) does not appear on bus but OHCI registers are read /write correctly.
As far as USB clocking is concerned the USB1.1 clock source is 48MHz clock obtained from the USB2.0 PHY. The CFGCHIP2 registers is configured to use the AUXCLK for USB0PHYCLKMUX and 48Mhz clock form USB2 PHY for USB1PHYCLKMUX.
The USB1.1 subsystem bus clock is fed by the PLL0_SYSCLK4. This clock is scaled by the PLLM register value.

  • Hi Suresh,

    I'm a little confused about the customer's setup, so can you help clarify?

    Suresh K said:
    PLL0_SYSCLK1 = 600Mhz
    PLL0_SYSCLK6 = 600Mhz
    PLL0_SYSCLK2 = 200
    PLL0_SYSCLK4 = 150

    The max supported core operating frequency is 456Mhz.  Therefore, 600Mhz is operating out of spec. 

    In addition, SYSCLK1/SYSCLK6, SYSCLK2, SYSCLK4 must maintain a 1:2:4 ratio.  SYSCLK2 is not using the correct ratio.

    Can you please confirm if the customer is operating within spec?

    Suresh K said:
    After some time for power saving the PLL 0 multiplier value is changed to 0x0C in PLL 0 Multiplier Control Register (PLLM). The values in the PLLDIVn registers of PLL0 are kept intact.

    To understand the system better, can you provide a before and after PLL register dump of PLLM, POSTDIV, PREDIV, PLLDIV1-PLLDIV7?  Also, what is the input clock frequency?

    --Christina

  • Hi Christina,

    Sorry for the delay in replying.

    Following is the information that I got from customer:

    The input clock frequency is 24MHz. Initially the system is operating at 600MHz(PLL0_SYSCLK1). After OP transition the

    Operating frequency is divided by 2 for each subsequent transition. The problem shows up after first transition.

    The register values after/at OP point are as follow ,

    Operating frequency

    PLLM

    PLLDIV1

    PLLDIV2

    PLLDIV3

    PLLDIV4

    PLLDIV5

    PLLDIV6

    PLLDIV7

    PRIDIV

    POSTDIV

     

    600 MHz

     

    0x18

    0x0

    0x1

    0x11

    0x3

    0x2

    0x0

    0x5

    0x0

    0x1

    ~300MHz

     

    0xC

    0x0

    0x1

    0x11

    0x3

    0x2

    0x0

    0x5

    0x0

    0x1

    ~150 MHz

    0x6

    0x0

    0x1

    0x11

    0x3

    0x2

    0x0

    0x5

    0x0

    0x1


    Thanks for your response.

  • Suresh,

    Thanks for the information.

    Looking at the PLL values, the ratios look correct, but the customer is not operating within the datasheet's recommended OPPs.  The max frequency at 1.3V CVDD is 456Mhz, and the max frequency at 1.2V CVDD is 375Mhz.

     

    The frequency transition should be glitch-free.  Maybe USB1.1 is somehow getting interrupted during the frequency transition.  Can you try reinitializing the USB1.1 module after a frequency transition to see if this will recover the USB1.1? 

    Also, what is the value of the USB1.1 register HCCONTROL[HCFS] after a transition?  Is it still in the "operational" state?

     

    --Christina

  • Hi Christina,

    Thanks for the response.

    I will get this information from the Customer.

    I will also direct the Customer to this thread.

    Thanks.