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.

CC2642R: Switching from display to uartlog in simple peripheral project

Part Number: CC2642R

As I understand, you are not supposed to call display_print from a hwi or swi context. In project zero uartlog is used to log in swi or hwi context. To change to uartlog so far I have added -DUARTLOG_ENABLE to the defines, added these lines to main.c:

#include <ti/drivers/UART.h>
#include <ti/common/cc26xx/uartlog/UartLog.h>

...

  UART_init();
  UartLog_init(UART_open(Board_UART0, NULL));

and this to simpleperipheral.c:

#include <ti/common/cc26xx/uartlog/UartLog.h>

...

Log_info0("Test");

 


I dont get any output. What am I missing?

Best Regards