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.

The problem of SPI boot of TMS320C6678

Other Parts Discussed in Thread: TMS320C6678

Hi,

we encounter a problem when our C6678 boards boot with SPI nor-Flash.Let me introduce my set with the DSP!

1. power up squence( IO before core):1.8V->CVDD->CVDD1->1.5v->0.75V.->

2. Reset qpuence: RESETZ# de-assert ->POR# de_assert ->RESETFULL# de-assert

3.GPIO 1-13 : 1011100000110

my problem is that DSP always fail to boot from the SPI-Flash.I observe the waveform of spi_clk .There are about three phenomens as below:

1.there is only a short time with the 500KHz clk.(seems to deliver the command data of DSP ).as shown picture below .( the blue is the uncorrect boot,the yellow is correct boot ,and we can see the freq of the clk which behind the 500KHz is 20MHz ,we exactly set the boot frequence at 20MHz.  )

2.As picture below,there  is too long time clk bebind the 500KHz.and its frequency is  about 6.33MHz but not the 20mhz .Meanwhile the pin bootcomplete will pull high,but my DSP run uncorrectly with PLL unlocked.

(the blue is the uncorrect boot,the yellow is correct boot )

3. there is shorter 20MHz clk than the clk when it is boot correctly.link the DSP through JTAG,i found there is olnly core0 boot correctly,core1-7 don't boot at all .

I have checked all the thing as possible as i can, can you give me some advices.

Thank you very much !!!

Best regards!

Brian.

  • Hi Brian,

    It sounds like the PLL may not be initialized correctly. The C6678 has a SYSCLKOUT pin which represents the core clock frequency divided by 6. Can you measure the frequency on that pin in both the good case and the failing case?

    Regards, Bill

  • Hi Bill,

    I came across this post as I am struggling with a similar issue. I am trying to feed information into a tms320c6678 with an adc through SPI interface. I don't seem to be having any luck and I'm not sure if it's a booting or setup problem, but I measure a straight DC voltage at the SYSCLKOUT pin testpoint!! Have you perhaps got any advice or guidance??

    Regards,

    Danielle

  • Hi Danielle,

    Have you enabled the SYSCLKOUT signal? There is a bit in the DEVCFG register that must be set to enable SYSCLKOUT. Check in section 3.3.2 Device Configuration Register (DEVCFG) in the data manual for more details.

    Regards, Bill