Causes of unstable USB host during S3C2440 (2410) and solutions)

Source: Internet
Author: User

Today, TPU took out a 2440 board for debugging, and found that despite various measures, USB host always does not work occasionally. the uclk is extracted through clkout0 and viewed with an oscilloscope. When it is found that it is not working, the uclk is not stable at all. therefore, there are several factors that affect USB:

    1. External oscillator 16.9344 MHz
    2. Upll locktime of the locktime register
    3. Upllcon
    4. Upll switch for clkslow registers

Next, exclude them one by one:

    1. The crystal oscillator is used by mpll and upll. It has never been said that mpll is unstable.
    2. It is suspected that the locktime is too large (0 xFFFF), but it cannot be changed.
    3. It is useless to repeatedly set upllcon when the uclk is unstable.
    4. When the uclk is unstable, switch the upll! When the uclk is stable, switching the upll will also lead to instability.

That is to say, when upll is started, synchronization may fail. But why? Upll and mpll should be of the same structure, and mpll will never be faulty. upll only has a lower frequency than mpll, so let's look at the frequency.

Now we have set a relatively low frequency (such as 7 MHz) for upllcon. At this time, no matter how upll is switched, uclk is always unstable. Well, sugon has already appeared! Then a super high frequency (112 MHz) is set. Haha, uclk is very stable no matter how upll is switched or powered on.

The problem can be described as follows:: Upll cannot be reliably started at low frequency.
Solution:First, a high frequency is provided for upll. After it is stable, set the required frequency..
Note: If you want to switch the upll switch in clkslow, follow this setting step.

After this change, the TPU switching power supply is more than one hundred times, and the uclk is always very stable. This is only 2440 of the situation, but it should also apply to 2410. You can test and verify it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.