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.

CC3220S-LAUNCHXL: interfacing tft spi display

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: CC3220S, CC3200

Hi,

I am trying to interface 2.8 inch tft spi display to cc3220s. This display is having ILI9341 controller. I wrote the code for cc3220s by referring to the code written for cc3200 board https://github.com/sal0w/CC3200-ili9341-LCD-display

There are no errors, i am not getting spi signals on logic analyzer.

Thanks & Regards,

Sirisha

  • Hello Sirisha,

    Since you are referencing a CC3200 example for your CC3220S project, I would first take a look at the SimpleLink Gen1 to Gen2 SDK Migration Guide

    There are also two SPI examples in the SDK that you can use as a reference. You can find them by navigating to:

    ...simplelink_cc32xx_sdk_x_xx_xx_xx/examples/rtos/CC3220S_LAUNCHXL/drivers

    and selecting either the "spimaster" or "spislave" project.

    Thanks,

    Alexis

  • Thanks for Replying.

    Yes I changed cc3200 code to cc3220 after looking into the  SimpleLink Gen1 to Gen2 SDK Migration Guide. There are no errors in my code.
    And also I have tried spi_demo(cc3200 sdk) example on two cc3200 boards, one board started as master and the other as slave. Once they are started the slave board is continuously receiving some junk data (the connections are proper).

    Regards,

    Sirisha

  • Hi Sirisha,

    I understand that you have tried the spi_demo in the CC3200 SDK, but since you are using the CC3220S, I would still highly recommend you check out the SPI demos in the CC3220 SDK. I say this because the software implementation between Gen 1 and Gen 2 has changed with the use of TI Drivers. Understanding the Gen 2 example will help you verify that you are initializing and utilizing the SPI drivers correctly in your code.


    Hope this helps,
    Alexis