AM2434: CPSW Ethernet ClockP Problem

Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I'm trying to get the CPSW running. I found an example and it's actually working, but for some reason, it's using the ClockP module and if I removed the ClockP_init, it gets stuck in the initialization.

I want to eliminate the ClockP module from my project as I already use another GPTIMER for the timings. Is there anyway I can get the Ethernet working without the need to the ClockP module ? I found that it cannot be done directly from the Sysconfig. So, what do I need to change in the code sequence ?

and why does the ethernet module and the modules around it (like: I2C, and UDMA) need the ClockP ?

thank you in advance.

  • Hi Hatem,

    ClockP module is used to time the state machines and polling mechanisms to keep the critical tasks running. Without ClockP module, all of these tasks have to be updated with an alternative time keeping mechanism to keep the system tasks running. So, unless there is a specific need to remove ClockP out of your application completely, we would suggest you to continue using it. 

    If you need to eliminate the ClockP module completely, please provide some more information on the background of this requirement so that we can understand it better, and suggest any alternatives if possible.

    Thanks and regards,
    Teja.