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.

UART Emulator for Sensor Controller Studio

Other Parts Discussed in Thread: CC1310

Hello, 


I am trying to configure UART communication using Sensor Controller Studio on CC1310. 

When i go to the example code i only see a single function: uartEmulator(); However, I haven't been able to find any documentation on this. Can anyone help guide me on how to set this up??

Many thanks,

Harsha

  • When you are in Sensor Controller Studio, you can press F1 to pop Sensor Controller Studio Help and find UART emulator document in it.
  • I went through that document before post e2e. But i did not have an idea how to use this uartEmulator(); function and how to initialize UART pins. On that document I see set of code as shown below,

    System CPU Application (Simple Loopback)
    // Start the UART emulator task
    scifExecuteTasksOnceNbl(BV(SCIF_UART_TASK_ID));

    // Enable baud rate generation
    scifUartSetBaudRate(57600);

    // Enable RX
    scifUartSetRxEnableReqIdleCount(1);
    scifUartRxEnable(1);

    // Main loop
    while (1) {

    // Loop back any received characters
    while (scifUartGetRxFifoCount()) {
    scifUartTxPutChar((char) scifUartRxGetChar());
    }
    }

    What does do it? Is it run on the M3 core of CC1310?
  • Try to read Sensor Controller Studio (SCS) Frequently Asked Questions at e2e.ti.com/.../495518 first.