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.

LAUNCHXL-F28379D: Boot mode configuration for SPI

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE

Hello,

I was trying to run the SPI codes given in C2000ware. I all the codes the below lines are mentioned :

"Other then boot mode pin configuration, no other hardware configuration is required "

so I wanted to ask that what is the boot mode pin configuration settings for SPI module on hardware.

There are 3 boot mode switches on the launchpad, how to set them for external mode instead of loopback.

- Nisha

  • Hi Nisha,

    I'm not exactly sure what that note means, but I will follow up. Just to be clear, you want to take a SPI example from C2000ware and configure it to use external loopback rather internal loopback, correct? For that there is already an example using driverlib. Please see the example <spi_ex3_external_loopback_fifo_interrupts> in the path below.

    C:\ti\c2000\C2000Ware_3_03_00_00\driverlib\f2837xd\examples\cpu1\spi

    Note the external connections required by the code to run successfully. These are given in the source file.

    //! \b External \b Connections \n
    //!  -GPIO25 and GPIO17 - SPISOMI
    //!  -GPIO24 and GPIO16 - SPISIMO
    //!  -GPIO27 and GPIO19 - SPISTE
    //!  -GPIO26 and GPIO18 - SPICLK

  • hello Gus,

    do we need to change the configuration of three boot mode switches present on the launchpad (which are set high high high by default.)

     Nisha

  • Nisha,

    For debugging code with CCS, you can set the boot pins to the "wait boot mode" (refer to the F2837xD datasheet). This will have the CPU in a wait mode until CCS connects to the device. 

  • Ok. 

    Thank You !

    Nisha