Hi,
The app.cfg file define "Clock.tickPeriod = 1000;" of ethercat_slave project.
Does it can be down to 50(us)?
If answer is NO, how can I create a Clock function which is 50us period time?
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,
The app.cfg file define "Clock.tickPeriod = 1000;" of ethercat_slave project.
Does it can be down to 50(us)?
If answer is NO, how can I create a Clock function which is 50us period time?
It is not recommended to change the clock period. Entire EtherCAT application is based on this clock and this could create lot of undesired behavior.
I guess you need to have a timer function which will be called every 50 us. You could use dmtimer peripheral to do this.
please see the below given forum post for more details
http://e2e.ti.com/support/embedded/bios/f/355/t/270912.aspx?pi199400=1
Regards,
Shahid
Hi Shahid AC,
Thanks for your reply, It is useful for me.
Now I got a 50us timer function by used DMTimer3, but how can I dynamic start and stop timer function?