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.

使用 cc2531 的 P0.2 & P0.3 印出UART訊息至 PC

Other Parts Discussed in Thread: CC2531, Z-STACK

請問各位先進:

我想要從 cc2531 USB dongle 的 P0.2 & P0.3 透過 SmartRF05EB 輸出 Debug Message 到電腦中, 

我的硬體接如下:

cc2531 的 P0.2 接到 SmartRF05EB 的 P18 Pin-09

cc2531 的 P.03 接到 SmartRF05EB 的 P18 Pin-11

cc2531 的 Ground 透過 Debug (JTag) 線接到 SmartRF05EB 的 P3

程式的部份, 我是使用 .\Z-Stack Home 1.2.1\Projects\zstack\ZNP\CC253x\znp.eww 這一包 Source code cc2531-TestHex 選項.

直接在 znp_app.c 裡面的 znpEventLoop() 用 HalUARTWrite(0, "xxxxx", osal_strlen("xxxx")); 來印 UART 訊息.

結果是: 我無法從電腦的 Com-port 得到任何 UART 的 Message.

請問, 我的那一個步驟做錯了呢?


Thank you.