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-CC3235SF: SPI peripheral

Part Number: LAUNCHXL-CC3235SF
Other Parts Discussed in Thread: SYSCONFIG

Hi,

Is it possible to use the SPI peripheral for an external device or is it completely dedicated to the NWP?

Thanks,

Bill

  • Hi,

    CC3235 have three SPI peripherals. One is for communication with NWP (internal SPI at silicone), 2nd is fot communication with SPI flash (used by the NWP) and 3rd is you can use as you want (e.g. connect your own SPI chips).

    Jan

  • Perfect. 

    In SysConfig, the SPI section,  there is a check box for 'Include network processor' . What is that about? 

    That what caused my confusion.

    Thank you again, Jan.

  • Hi Bill,

    Internally to the CC32xx, there is an application MCU and a network processor subsystem. These communicate over an internal SPI peripheral via the host driver layer. The "include network processor" check provides the SPI configuration used by the host driver.

    If you're new to the CC3235, I suggest checking out the Device Overview in the Out of Box Experience: https://dev.ti.com/tirex/explore/node?node=AAG4Rm5LftLpKMidIPIuCg__fc2e6sr__LATEST

    Best regards,

    Sarah

  • So you're saying if I don't check 'Include Network Processor' I will not be able to use the WiFi?  That doesn't seem like it would be particularly useful to anyone.

    I have 'Include Network Processor' checked.  I've added the one and only SPI port that is available in SysConfig.  When I build and run the code it hangs waiting for the TX buffer to clear.  Is there something else that I need to do to enable the SPI port?

    Thanks,

    Bill

  • Hi Bill,

    This check should be enabled by default, but this allows us to reuse the TI Drivers implementation for the host driver.

    What example code are you starting with? We have a spimaster and spislave demo in the examples/rtos/<LaunchPad>/drivers folders.

    Best regards,

    Sarah