Other Parts Discussed in Thread: C2000WARE
Hi,
i want to use USB and Ethercat on the CM.
Is there an Example how to setup the clocks ?
USB requires 60 MHz and the Ethercat requires 25MHz for Phy and Device
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.
Hi,
i want to use USB and Ethercat on the CM.
Is there an Example how to setup the clocks ?
USB requires 60 MHz and the Ethercat requires 25MHz for Phy and Device
Hi Peter,
Please refer to the C2000ware examples for the same. The 'usb_config_c28x' example project which has to be loaded on C28x side shows on how to control the peripheral clocks of CM. The project is available for all CM peripherals. For Ethercat, you can use 'SysCtl_setECatClk' driverlib function to control the clock divider values to achieve 25Mhz out of the PLL clock source
Regards,
Praveen