Hi,
I am hoping someone can point me in the right direction. I am trying to measure the time between two inputs. I am using CLK_getltime() but it is just returning a value of 0. Using a simple program just to get it working, I am using the bios graphic tool to set up the period and can get a return of clock cycles in 1ms. Within main I call a function and have a while(1) loop. In the called function I simply have currenttime = CLK_getltime(). This returns a value of 0.
Is there something I should be enabling or disabling to get this function to work.
Any help would be appreciated, it sounds simple and yet is just not working.
Sean d