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.

USB Dongle如何在SampleBridge例程中使用串口?

Other Parts Discussed in Thread: CC2531, CC2531EMK

在USB Dongle中烧写ZStack-ZLL-1.0.2的SampleBridge程序,测试该网页中的实验,processors.wiki.ti.com/.../ZStack-Lighting_Kit_CC2531EMK,可以通过PC的win控制台控制灯。此时USB Dongle是当做USB 设备插在PC上。现在想利用USB转TTL,和CC2531的P0_2和P0_3相连,利用UART进行通信。

在源代码中void zllSampleBridge_Init( byte task_id )函数中加入HalUARTWrite(0,"Hello World\n",12);,但是CC2531没有向串口输出任何字符,PC向串口发送命令(touchlink),灯也没有任何反应。请问:

如何在SampleBridge例程中使用串口?