Hello experts,
I have a query in dsp f28335. I am generating a square wave using the DSP and am using code composer 3.3 version.
I am setting the bit of one of the registers (GPIO49 say) as 1 and calling a delay loop and clearing it and calling the same delay loop.
I am setting the value of frequency and duty cycle as 50%.
Is there any way I can use wait(delay1) and wait(delay2) or sleep(delay1) or sleep(delay2) or something so that I can achieve 50% duty cycle. the value of delay1 and delay2 are equal..
value of delay 1 and 2 are 5.99*1e^-5
Regards,
Aravind Hariharan