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.

CC1310串口打印数组问题

Other Parts Discussed in Thread: CC1310

用cc1310打印数组时,一直打印不出来,请帮我看一下哪边有问题

初始化代码:

void DebugUartInit(void)
{
    UART_Params uartParams;

    /* Create a UART with data processing off. */
    UART_Params_init(&uartParams);

    uartParams.baudRate      = 115200;
    //uartParams.writeMode     = UART_MODE_CALLBACK;
    uartParams.writeDataMode = UART_DATA_BINARY;
    //uartParams.writeCallback = writeCallback;
    uartParams.readMode      = UART_MODE_CALLBACK;
    uartParams.readDataMode  = UART_DATA_BINARY;
    uartParams.readCallback  = readCallback;

    DebugUart = UART_open(Board_UART0, &uartParams);

}


void USART_Printf(uint8_t *pBuffer,uint16_t len)             //串口发送数组
{
     
     UART_write(DebugUart, pBuffer, len);

}
调用:
USART_Printf(data,lbtPacket.len);