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/CC3235MODSF: cc3235mod

Part Number: CC3235MODSF
Other Parts Discussed in Thread: CC3235SF, SYSCONFIG

Tool/software: Code Composer Studio

I want to program UART loop back using cc3235MOD simple link MCU board. how to do that.

I'm refering CC3235x SimpleLink™ Wi-Fi® and Internet of Things Technical Reference Manual  for configuring UART registers . But they are undefined!!! 

which file should I include??

  • Hi,

    In order to perform a UART loopback, the easiest method coding-wise would be to simply have a loop that reads one character and then outputs that same character back onto the same UART peripheral. This is demonstrated in our uartecho example project in the CC32xx SDK.

    Please compile and run that example in order to perform that UART echo.

    Let me know if you need more clarification on using that example, or have further questions on performing a UART echo on the CC3235.

    Regards,

    Michael

  • I have compiled and run demonstrated uartecho example of cc32xx SDK. I got an output also. but I want to perform uart on pin 3 and pin 4 of boosterpack. and I want to use the UART registers mentioned in the http://www.ti.com/lit/ug/swru543/swru543.pdf this pdf. 


    kit: TI SimpleLink Wi-Fi CC3235MOD Dual Band MCU module launchpad kit.

    I'm using code composer studio v9

    In this i'm using CC3235SF device.

    Tell me how to code for UART.

    My questions:

    1) which header files should I include?

    2) how to declare registers of UART?

    3) Overall design flow?

  • Hi,

    1. The needed headers should already be included for you through the #include <ti/drivers/UART.h> directive

    2. You shouldn't need to directly work with the UART registers. The UART drivers will abstract the register setup away for you. If you really want to work with them, you can look at and modify the source of the UART drivers. You can find that at source/ti/drivers/uart.

    3. You can look at the implementation of those UART driver functions in the source files for how the flow works.

    To change the uart pins, you simply need to select your desired pins for the UART peripheral through sysconfig. You can take a look at the Sysconfig SimpleLink Academy Module for a guide on how to use the sysconfig tool: http://dev.ti.com/tirex/explore/node?node=AO3dBAhu05HBWXd.SPxt0g__fc2e6sr__LATEST

    Regards,

    Michael