F28377D-SEP: 3 spi high-speed & sdram

Part Number: F28377D-SEP
Other Parts Discussed in Thread: TMS320F28377D, TMS320F28377D-EP

Hello.

I'm trying to connect a 16-bit SDRAM to the TMS320F28377D, along with the SPI_NOR (boot), SPI_LAN (W5500), and SPI_SD card slots. Using the TI sys config program, I can set SPI_NOR to GPIO (58, 59, 60, 61), SPI_LNA (W5500) to GPIO (100, 101, 102, 103), and SPI_SD slot to GPIO (63, 64, 5, 66). Is it possible to boot using SPI_NOR and set both the SPI_LAN and SPI_SD card slots to SPI high-speed?

Thanks and Best Regards, 

  • Hello,

    Are you asking if you can do SPI boot on this device with one of the listed GPIOs? Here are the options available for SPI booting on this device. There is also information about SPI high speed mode pins here. Upvote this if it answers your question, or if not please elaborate more on your questions.

    Best Regards,

    Delaney

  • Hello, Delaney

    The conditions of the circuit I am developing are as follows.

    1. Boot from spi nor flash memory 

     

    2. spi A - spi nor flash mem. : gpio 58~61

    3. spi C - spi type ethernet ic (w5500) : gpio 100~103  : data sheet (tms320f28377d-ep 44 page table 3-6 GPIO CONFIGURATION FOR HIGH-SPEED SPI) 

                                                                                             GPIO58~61 / GPIO 63~66 / GPIO 69~71 CAN USE HIGH SPEED SPI 

                                                                                             CAN GPIO 100~103 USE HIGH-SPEED SPI ?

    4. spi B - spi sd card slot : gpio 63~66

    question 

    1. Can spi A/B/C use SPI high-speed mode simultaneously?

    2. I'm trying to boot with spi nor flash memory. Is it possible to boot only if I connect SPI nor flash mem. to spi A?

    BEST Regards,

    WON

  • Hi WON,

    Thank you for clarifying.

    1. Can spi A/B/C use SPI high-speed mode simultaneously?

    Yes, the HS_MODE bitfield just needs to set to 1 for each instance of the SPICCR register (SPIA, SPIB, and ***). Then you can configure all the proper GPxGMUX/GPxMUX settings for each instance. Each SPI instance operates independently of one another.

    CAN GPIO 100~103 USE HIGH-SPEED SPI ?

    No, the only GPIOs available for SPI high speed mode for each instance are those listed in the table from the datasheet.

    For your other questions, let me loop in the boot expert to answer.

    Best Regards,

    Delaney

  • Hi WON,

    By default, the first instance of the peripheral is used, so SPI-A will always be used if you are in SPI Boot Mode. Are you saying you need a way to detect what is connected to your SPIA before allowing the boot flow to complete?

    If you want to implement a custom bootloader, you could distinguish which SPI is being used and/or you can determine what you are communicating with (e.g. confirm SPI NOR) before moving forward with the boot flow, or take some other action. We have documentation describing implementing Flash kernel and custom bootloader for loading your application: https://www.ti.com/lit/ug/sprujh3/sprujh3.pdf 

    Best Regards,

    Allison