Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
In my program, I set up the clk with PLL_setFreq CSL function. This function works fine when the code is loaded by emulator. But when I burned the code in I2C EEPROM and bootload the code, PLL_setFreq fails. The PLL never locked and the function waited indefinitly. I can ensure that the code is loaded into DSP correctly. Is there anything I ignored? thx Xiang Chao Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Where and when do you set the PLL registers? What processor do you have? If I recall correctly, you need to prepare your system for a PLL register write. I mean that you can't do it anywhere/anytime in your program (maybe this is obvious). Is it possible that the emulator does this "PLL write preparation" automagically, whereas when you don't use the emulator your system is not set up correctly for a PLL register write? I do it in main(), from my own asm-function which calls writeport(). I'm using 5501. -Sima On Jan 28, 2008 10:36 AM, Xiang Chao <x...@yahoo.com.cn> wrote: > In my program, I set up the clk with PLL_setFreq CSL > function. This function works fine when the code is > loaded by emulator. > But when I burned the code in I2C EEPROM and bootload > the code, PLL_setFreq fails. The PLL never locked and > the function waited indefinitly. I can ensure that the > code is loaded into DSP correctly. > Is there anything I ignored? > thx > > Xiang Chao > > Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Hi Thanks for the reply. I am not yet running my code on C5510 directly. Currently i am coding the different functional modules of my project on C5510 device simulator in CCStudio. I know the hard part is yet to come but even in a simulator, the dsplib functions are behaving in a weird manner. I am following all the instructions in dsplib documentation including #pragma declarations for data structures and boundary alignment in .cmd file. Thanks again Asif Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467