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.

CCS/TMS320C5545: C5545 24 bit SPI serial flash

Part Number: TMS320C5545

Tool/software: Code Composer Studio

Hi 

I'm using C5545 on my own board with 24 bit SPI serial flash eeprom to boot device.

But, I have some problem.

When I selected SPI Serial Flash, what is meaning of MODE 5 or MODE 6?

and 

after I chose SPI Serial Flash,  I got this message. What is my problem??

.

And This is part of schematic. I'm using C5545 on my own board. Is there some problem??

Thank you for the reading and please give me some details. 

  • Hi,

    First of all, check if you comply with Section 2.2.2 24-Bit SPI Serial Flash from the Bootloader appnote:
       https://www.ti.com/lit/an/sprabl7d/sprabl7d.pdf

    Most important make sure you match with Figure1. C5535SPI Flash Boot Waveform.

    Then the error says "Invalid programming choice", have you tried selecting option 8 - McSPI Serial Flash? From your screenshot I see options 1, 2 and 7 are marked with an "x", which I suppose means they are unsupported for the device/software.

    Best Regards,
    Yordan

  • Hi

    Thank you for the answer. 

    I checked the spi wave when I program project (CSL_example / programmer )

    But just CS pin changed low to high when I choose 7 2.

    SCK, MISO , MOSI are not changed.

    Also when I choose 8 , It said " Invalid progamming choice" 

    I already read sprabl7d.pdf and there, I could use SPI eeprom 24bit. right? 

    why there is no signal in SPI ?

    Could you give me some details or my mistake? 

    Thank you

  • Hi,

    I already read sprabl7d.pdf and there, I could use SPI eeprom 24bit. right?

    Correct. But note that the SPI serial flash must comply with all the recommendations listed in Section 2.2.224-BitSPI Serial Flash in the document.

    For more details on the boot procedure see the device Datasheet, Section 6.4 Boot Sequence, it describes in detail the SPI Flash boot.

    Best Regards,
    Yordan

  • Hi 

    I successed programming eeprom.

    I have some questions. 

    1.

    My bin file is 64KB and spi clk is 500khz. 

    But when I programed eeprom, it took about 5 minutes. 

    Why does it take so long?  and How Can I reduce the time? 

    2.

    I already tried to increase spi clk. 

    But there was a sentence    /* Use sys-clk divider of 25 for real-system (keep SPI-clk under 500kHz) */

    Couldn't I increase spi clk? why? 

    3

    Finally, When I tried to program the device, the error happened many times. 

    What is the problem??

    Please give me some details. Thanks!!

  • any opinion?? I got the message everytime. 

    Please help me 

  • The example program, programmer, is writing just  two bytes. so it take long time.

    I want to change to writing 256 bytes. Could I?

    and Could you give me some tips to change the code? 

    Thanks

  • Hi,

    I am not that familiar with the C5000 devices. More over TMS320C5545 are getting obsolete, see:
      https://e2e.ti.com/support/processors/f/791/t/818771

    So I would not recommend modifying the existing sw packages.

    Best Regards,
    Yordan