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.

BOOSTXL-CC3135: UART communication between host MCU and CC3135

Part Number: BOOSTXL-CC3135
Other Parts Discussed in Thread: CC3135, CC3100

Hi,

I am trying to establish a communication between Host MCU and CC3135 using UART.

Before implementing functions for communication abstraction layer, i want to test if the UART is working properly to check UART driver and hardware.

Is there a way in which this can be done? For eg.I send some command over UART and CC3135 responds to it with some data

Regards,

Aniket.

i.MX RT1050 EVK

  • Hey Aniket,

    Is there a particular reason you're using UART instead of SPI as the communication interface? The SimpleLink Wi-Fi Plugin SDK ports the host driver to our MSP432 devices using SPI as the communication interface. The porting layer provided in this SDK is generally a good starting point if you want to port the host driver to a new host MCU (even if you're not using SPI).

    I don't believe there is a simple way to accomplish what you're asking without implementing the communication abstraction layer. Upon starting the device (calling sl_Start), the CC3135 expects some initialization sequence to occur to establish communication between it and the host. After initialization the CC3135 accepts commands that are correctly formatted. If it's unable to read the command then it may not reply. This document describes this sequence in detail: https://processors.wiki.ti.com/index.php/CC3100_UART_Host_Interface. Note it references the CC3100 but the protocol is the same for the CC31xx devices.

    Regards,

    Paul

  • Hi Paul,

    Is there any concern on selection of UART over SPI? Are there any known issues with UART.

    Regarding checking UART without communication protocol, I understand that it is not possible. Thanks forharing the link on UART details.

    Regards,

    Aniket.

  • Hey Aniket,

    There are no known issues with using UART as the communication interface. We just have more updated references for porting the host driver that use SPI communication (namely the SimpleLink Wi-Fi Plugin SDK).

    Regards,

    Paul

  • query.pdfHi Paul,

    While discussing another question you suggested this document.

     

    While going through document I came across following section, Step 8.

     

    The step 8 (1) is what i am looking for to check communication driver.

    Could you please let us know where can i find more details related to it?

     

    Regards,

    Aniket.

    Note:attached pdf in case you cannot see the images

  • Hey Aniket,

    The porting guide you're referencing, from the host driver API document, is outdated and the diagnostic tools referenced are no longer supported.

    Instead, please see Chapter 19 of the User's Guide for an updated and more detailed guide to porting the host driver. I don't believe we currently support any diagnostic tools. However, I do recommend a logic analyzer as it's an invaluable tool for debugging issues with serial communication.

    Regards,

    Paul

  • Hello,


    I am referring the below document -

    https://processors.wiki.ti.com/index.php/CC3100_UART_Host_Interface

    I have few queries regarding CC3135 UART communication :



    1. In the host initialization sequence diagram, how can I perform the 'reset device' action

    (shown in dotted red colored line)? It has to be given as a software command or by hardware pin?



    2. Is there any UART prefined command response sequence by which I can just check the is UART working or not?



    Regards,

    Suhel.

  • Hey Suhel,

    I appreciate you creating a new thread for your questions! It really helps us track support for your specific questions/issues.

    Please continue on the new thread (https://e2e.ti.com/support/wireless-connectivity/wifi/f/968/t/928067) for support!

    Regards,

    Paul