This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Simple question about PRD in DSP/BIOS

Hi,

I still play around with my OMAP L 137 board from Spectrum Digital. Today I intended to test the PRD (periodic function) feature of DSP/BIOS.

I used the DSP editor to setup a PRD object called PRD0 in the hello-world example which is part of DSP/BIOS example directory. Then I changed the period of the PRD object to 1000 ticks, added a functionname "_myPDR" as the function argument (the callback, as described here: http://www.tij.co.jp/jp/lit/an/spra829/spra829.pdf). Finally, I added a function called "Void myPDR(Void)" in the main.c file.

Compiling worked fine, loading of the executable worked fine. I also setup a breakpoint in the "myPDR" function. Then starting: Nothing happens. Should not the function myPDR be called periodically (1000 ticks = 1 sec)? Or do I have to add some code in the main function to get this working?

Thank you, best regards,

 

HT

  • Hi,

    I solved my problem. Once adding a PRD-object in the DSP/BIOS configuration, the timer does not start automatically. I do not see any SWI callbacks being called.

    I started entering the clock Manager properties dialog and clicked around without understanding what I did. However, I added the checkbox for "Reset Timer and TIMMODE". This helped, now my callback is being called as expected.

    Maybe you guys at TI should put a comment into the documentation. So far, every feature of DSP/BIOS that I tried to use required "any kind of trick" to operate as described in the documentation!

     

    Best regards,

     

    HT

  • Hi HT,

    Which version of BIOS are you using? I'd like to check what you have against the latest and see if the docs have been updated.

    Thanks,

    Steve

  • Hi Steve,

    I have used 5.33.01 and 5.33.06. DSP Bios 5.33.01 came with my CCS installation version 3.3 and I installed the newer version lateron.

     

    Best regards,

     

    HT