Re: Programming the FLASH - TMS320C2812



Hi Mitja,

That was real cool. I found the code :

for(iVol= 0; iVol< ( (131072/2)/12 ); iVol++)
{

}


but I don't quite understand how the above FOr loop would produce a
131072 cycles delay

What is that (131072/2)/12 refer to.

Thanks,

Ram





Korenje wrote:
Hi Ram

check in
C:\tidcs\c28\dsp281x\v100\DSP281x_common\source\DSP281x_SysCtrl.c
you should have it if you installed C/C++ Header files

Mitja

BIT wrote:
Hi all,

I am trying to erase the FLASH of TMS320F2812 using the custom API
provided by TI.

http://focus.ti.com/dsp/docs/dspplatformscontento.tsp?sectionId=2&familyId=510&tabId=517

In one of the steps it talks about initializing the PLL control
register from using software delays. The PLL lock time is 131072
cycles. Any idea how I can write C-code for such a delay.

Thanks,

Ram

.



Relevant Pages

  • Re: Write Signal on Disk II Question
    ... checked for sampling jitter using an oscilloscope? ... But I noticed another shocking thing: The timing loop I used to find ... the timing resolution is quite high, since the delay loop on the main ...
    (comp.sys.apple2)
  • Re: Write Signal on Disk II Question
    ... checked for sampling jitter using an oscilloscope? ... But I noticed another shocking thing: The timing loop I used to find ... the timing resolution is quite high, since the delay loop on the main ...
    (comp.sys.apple2)
  • Re: Write Signal on Disk II Question
    ... checked for sampling jitter using an oscilloscope? ... But I noticed another shocking thing: The timing loop I used to find ... the timing resolution is quite high, since the delay loop on the main ...
    (comp.sys.apple2)
  • Re: Write Signal on Disk II Question
    ... checked for sampling jitter using an oscilloscope? ... But I noticed another shocking thing: The timing loop I used to find ... the timing resolution is quite high, since the delay loop on the main ...
    (comp.sys.apple2)
  • Re: Please help me figure out a delay loop
    ... >> I'm having problems with creating a delay loop for a snake game I created ... the real-time clock is used. ... The rdtsc instruction loads that value into edx:eax. ...
    (comp.lang.asm.x86)