Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Ads

Discussion Groups

Discussion Groups | TMS320C55x | Set PLL after bootload

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

Set PLL after bootload - Xiang Chao - Jan 28 9:04:43 2008



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



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Set PLL after bootload - Sima Baymani - Jan 29 8:30:25 2008

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



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Set PLL after bootload - Asif Ali - Jan 30 7:11:46 2008

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



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )