TI中文支持网
TI专业的中文技术问题搜集分享网站

AM3352: uart會有重複的字元出現

Part Number:AM3352

Hi Expert

AM3352 linux  UART, 直接 MCU 的 TX 對 RX  loopback 測試,沒經過外部電路, 在 baud rate 115200, 30分鐘內(每秒10次), 收發正常 但在 baud rate 9600,  30分鐘內, 大約出現 7 次收發異常,
異常例如 發送 "test" 字串, 會收到 "ttest"                  發送 "hello" 字串, 會收到 "hhello"
請問在低速 baud rate 下, 有遇過類似的問題嗎?

謝謝

Daniel

Shine:

请问板子的CLKIN是多少?

,

Daniel Cheng1:

Hi Shine

24MHZ

使用serialcheck 並沒有這個現象

謝謝

Daniel

,

Shine:

请问使用的是external loopback还是internal loopback? 

Testing UART communication

Either connect two UART ports to one other with flow control lines, or connect a single UART in external loopback mode(RTS-CTS, RX-TX). Internal loopback mode cannot be used for testing UART, as there is no guarantee that HW flow control will work reliably.https://software-dl.ti.com/processor-sdk-linux/esd/docs/07_03_00_005/linux/Foundational_Components/Kernel/Kernel_Drivers/UART.html

赞(0)
未经允许不得转载:TI中文支持网 » AM3352: uart會有重複的字元出現
分享到: 更多 (0)