ch9434丟失數(shù)據(jù)

linux上面當(dāng)大量接收數(shù)據(jù)的時(shí)候會(huì)出現(xiàn)丟數(shù)據(jù),怎么處理?


驅(qū)動(dòng)用https://github.com/WCHSoftGroup/ch9434ser_linux?最新的。


<3>[? 288.909323] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 294.113124] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 299.326623] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 303.476774] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 318.067465] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 323.432366] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 339.077988] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 344.254277] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 370.523683] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 375.450513] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 378.987159] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 384.117943] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 388.094397] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 393.530393] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 398.886174] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 400.481623] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 414.066184] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 418.073931] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 423.110287] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 428.857534] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 430.532406] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63

<3>[? 433.044194] ch943x_spi spi1.0: Rx Overrun portno = 3, lsr = 0x63



您好。LSR=63表示接收緩沖區(qū)溢出了,您目前串口波特率是多少,建議調(diào)整到115200,同時(shí)可以提高SPI頻率到2M試下,


RTK應(yīng)用深度使用。?


串口1串口3 是460800.

串口0是115200?


三個(gè)串口都有大量數(shù)據(jù)。


目前spi配的是10M


有什么好的辦法嗎?


我把fifo buf改小,及時(shí)去拿數(shù)據(jù)?


但改小又導(dǎo)致接收中斷頻繁吧,這樣又會(huì)影響數(shù)據(jù)發(fā)送?


目前l(fā)inux下最大帶寬話(huà),就四個(gè)串口115200跑滿(mǎn),由于Linux系統(tǒng)調(diào)度和SPI實(shí)際的延時(shí),最大時(shí)鐘頻率的一般我們建議固定在2M,不太清楚您那邊需要多大的帶寬,后續(xù)有問(wèn)題可以直接聯(lián)系郵箱

xcc@wch.cn


只有登錄才能回復(fù),可以選擇微信賬號(hào)登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频