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.

CC3200 串口问题

Other Parts Discussed in Thread: CC3200

你好,

    请问一下CC3200有否有两路串口呢? uart0作为调试打印, uart1作为通信用.

    uart1  tx 58  ,rx 59 不知道对不对呢? 应该如何配置使用呢? 下面使用是否正确

    

void
PinMuxConfig(void)
{
//
// Enable Peripheral Clocks
//
MAP_PRCMPeripheralClkEnable(PRCM_UARTA0, PRCM_RUN_MODE_CLK);
//配置uart1
MAP_PRCMPeripheralClkEnable(PRCM_UARTA1, PRCM_RUN_MODE_CLK);
//
// Configure PIN_55 for UART0 UART0_TX
//
MAP_PinTypeUART(PIN_55, PIN_MODE_3);

//
// Configure PIN_57 for UART0 UART0_RX
//
MAP_PinTypeUART(PIN_57, PIN_MODE_3);

//
// Configure PIN_58 for UART1 UART1_TX p58
//
MAP_PinTypeUART(PIN_58, PIN_MODE_6);

//
// Configure PIN_59 for UART1 UART1_RX
//
MAP_PinTypeUART(PIN_59, PIN_MODE_6);
}

为何uart1通信不了呢?

谢谢!