Hi all, We develop a TMS320C6713 board. The C6713 code has been tested using XDS510usb JTAG emulator and everything is O.K. To finalize our system, we switch to HPI boot loading and load the C6713 code using HPI. In the preliminary stages of our code, we initialize the PLL Multiply Register and PLL control/status register. As the execution of the code reaches the following line: *(unsigned volatile int*)PLLCSR = 0x01; the execution does not proceed correctly. If this line ignored (commented), the subsequent section of our code executed correctly BUT OFCOURSE WITH WRONG CLOCK RATE. Does anyone knows what is the problem? |
PLL Control/Status Register
Started by ●February 5, 2005
Reply by ●February 5, 20052005-02-05
vbehravan wrote: > > > Hi all, > We develop a TMS320C6713 board. The C6713 code has been tested using > XDS510usb JTAG emulator and everything is O.K. > > To finalize our system, we switch to HPI boot loading and load the > C6713 code using HPI. > In the preliminary stages of our code, we initialize the PLL Multiply > Register and PLL control/status register. > As the execution of the code reaches the following line: > > *(unsigned volatile int*)PLLCSR = 0x01; > > the execution does not proceed correctly. > If this line ignored (commented), the subsequent section of our code > executed correctly BUT OFCOURSE WITH WRONG CLOCK RATE. > > Does anyone knows what is the problem? > Hi, it's a bit hard to help if you only give one code line :-) You enable the PLL, but maybe it is not yet stable. Have a look at spru233c.pdf. If have written some code whtch does the same. I remember there are two delays after the PLL registers have been set. I don't have the code at the moment. But the timming should be mentioned in the pll section of the 6713 data sheet. HTH Gustl |