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.

AM1808 原始驱动好像有问题。

Other Parts Discussed in Thread: AM1808

Yaoming,你好。

昨天测试AM1808的ttyS0, ttyS1。

结果发现,ttyS0/1能正确的读数据,但是当发送多个数据的时候,每次只能发送最后一个数据。

我跑的是linux,源代码是从官网下的。用的是write(fd, buf, n)函数发送。

同样的程序,我改用ttySU1(PRU 转的Soft UART )测试的时候,结果正确,能一次发送n个数据。

请问,是不是ttyS0/1的驱动的问题?如果不是,如何排除?如果是,如何测试?

 

谢谢。