I wonder if anyone could suggest some methods to evaluate the program execution time? I have a project with an ISR which has some SPI transactions. When I checked my scope it took around half second for an ISR, which takes really long time for the SPI clock rate of 16 MHz... I'm trying to find some ways to debug and narrow down the problem. Is there any way to get the current kernel time stamp for debugging purpose? Or any debugging method is welcomed... Thanks a lot.
~S