Article ID: 000081434 Content Type: Troubleshooting Last Reviewed: 04/09/2015

Why is the “delay” function time in U-Boot different in cases of over 172ms?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

The Max delay time of the “udelay” function depends on HPS OSC1 input clock.

For example:

25MHz -> 171798us 

50MHz -> 85899us

Resolution

To workaround this behavior the “mdelay” function can be used for cases of over 172ms(25MHz).

 

See U-Boot documentation for more details on the mdelay function.

Related Products

This article applies to 1 products

Intel® Programmable Devices