Skip to main content
Joerg Wagner
Senior III
February 6, 2019
Question

Initialization time of low_level_init() why so slow?

  • February 6, 2019
  • 2 replies
  • 580 views

To setup Ethernet takes more than 4 seconds in low_level_init().

Is the LAN8742A so slow and is the DP83848 in MII mode faster?

Thank you.

    This topic has been closed for replies.

    2 replies

    AvaTar
    Senior III
    February 6, 2019

    I don't have your hardware, and neither use LL code extensively.

    But Cube (and LL) often employ busy loops to wait for ready flags during initialization. I would use a debugger to check what takes so long.

    Perhaps waiting for a cable connection until timeout.

    Joerg Wagner
    Senior III
    February 7, 2019

    No one knows how to speed up Ethernet initialization?