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.

CC3100 with TMS570LS0432

Part Number: CC3100MODBOOST
Other Parts Discussed in Thread: TMS570LS0432, , CC3100, CC3100SDK

Hello,

I am trying to use a CC3100ModBoost SimpleLink module with a Herculecs LaunchPad TMS570LS0432. I want to transfer CAN bus data via WLAN for a telemetry system (CAN to WiFi). There is a can driver available for the the TMS570 but no driver for the CC3100. The CC3100 can be used with the MSP430, but this board does not include a CAN interface. So I thought about implementing a CC3100 driver for the TMS570. A few years ago someone else tried to solve the same problem (see here: https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/t/417515). I could already get some helpful information from this thread about how the CC3100 device works. Is there already a CC3100 driver written for the TMS570 Controller or do I have to write a completely new one? After installing the CC3100SDK 1.3.0, I found some source code in "C:\ti\CC3100SDK_1.3.0\cc3100-sdk\simplelink". Is this code applicable for the TMS570 controller although it is not a complete CCS project and can I import this code to my current TMS570 project?

Thanks for your replys.

Best Regards

Michel

  • Hi Michel,

    The CC3100 SDK supports the host drivers in C:\ti\CC3100SDK_1.3.0\cc3100-sdk\platform (eg msp430, stm32, tivac).

    The files located in \simplelink are certainly a good starting point for creating the drivers required to interface with your TMS570LS0432.

    If you import one of the CC3100 SDK examples into CCS and navigate through any of the CC3100 specific functions, you'll see that it leads you to a serial interface. You would need to implement that serial interface for your MCU.
    For example, sl_WlanConnect -> _SlDrvCmdOp -> _SlDrvCmdOp -> _SlDrvMsgWrite -> NWP_IF_WRITE_CHECK -> sl_IfWrite -> spi_Write, so you would need to define/implement spi_Write.



    Regards,
    Toby
  • Hi Toby,

    thank you for your reply. If I understood you correctly, I only have to change the spi_Write() function, so that it uses the TMS570's SPI interface. Since there is a HOST_IRQ and a nHIB line to the CC3100, I think I'd need to change the pins used for them as well. Is the rest of the code still the same?

    I already tried to import the MSP430 example from the \platform folder to CCS via File --> Import --> C/C++ -->  CCS Projects, but I always get an error message (see pictures). I installed the latest updates via Help --> Check for Updates and searched CCS App Center for MSP430 device support, but I didn't find anything useful. The error message is still the same. Why is my device (I think it is meant the MSP430 here) either null or not recognized?

    Thank you for any answers again.

    Best regards

    Michel

  • During CCS installation, you may have only selected devices that were relevant to you at the time (eg TMS), but not MSP430.

    I would suggest that you re-install CCS with support for the MSP430.

    Related post: e2e.ti.com/.../628253