Hi everyone,
I'm trying to implement a UART using the sensor controller example, but probably I'm doing something wrong. I created a new project and just copy the code from sensor controller to CCS.
This code:
// 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());
}
}
I'm using PuTTy to see the characters coming from UART TX when I write something in the keyboard and nothing, do you know what i'm missing?
Thank you.
Best Regards,
Miguel
