Processor used : TMS320 28335
Clock speed : 48 Mhz
Issue faced : The DelayUs function results in improper delay ( ie: 500 us delay actually turns out to be 1.6 ms)
However by changing the value assembly level intruction RPT ( Present in the the DelayUs.asm) file and trial error method using a probe I was able to achieve proper output (delay) from the function.
I would like to however have an indepth understanding of the assembly code so that I can develop a more generic one for my projects. Can someone please provide some insight please.
Thank you
Ashwin Veeraiah