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/CC3220S-LAUNCHXL: Host Config: TCP transmission + SPI transaction

Part Number: CC3220S-LAUNCHXL


Tool/software: Code Composer Studio

Currently I am working on top of the network_terminal example given on the sdk examples. My application should reveive every 1000us 168 data bytes from SPI peripherals and then send this data thorugh TCP. 

On the CC3220 Host driver's documentation, it is stated that the socket can communicate with the NWP through SPI or UART and that this is settled at the beginning of the project. Accotding to the documentation, on the network_terminal example it is settled to SPI. Where is this done? Because of the required throughput, it is better to use SPI to communicate with the NWP but I need to know where is this configured. Also I am afraid that this is inteferng with the SPI peripheral that I am using for receiving the data bytes. 

Thank you in advance for your attention,

  • Hey Maria,

    The SPI port for the NWP is reserved just for that. If you are using the network terminal example, the pinmux for SPI is configured inside CC3220S-LAUNCHXL.c and .h

    When you run the main task, it will run Init_SPI(), which initializes SPI, and when you start the sl_task and run sl_start(), this will begin the SPI communication and networking task that goes on in the background.

    If your NWP SPI didn't work, you would get errors when running sl_Start().

    Hope that helps!

    Vince Rodriguez