This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术 / 要用linux控制个串行口和简单的IO, 很麻烦?厂家卖硬件的同时提供了软件的package, 我就不信里面连这都没有。
-**🏎;
2023-6-9
(#15481675@0)
+1
-
这个应该不难吧。1.串行口其实要控好也不容易。Linux的串口驱动写得一般般。BUG多。IO说起来,入门容易。但是要控得好也不是那么容易得。
-somepeople(不要PM我,就不改);
2023-6-9
{112}
(#15481764@0)
+1
-
一个简单的IO端口,输出高低电平,能咋样控制好
-**🏎;
2023-6-9
(#15481937@0)
-
Linux 系统配置,liux 串行口驱动是自带的,厂家不太会吃饱没事干自乙弄个驱动
-programmer2017(programmer);
2023-6-9
(#15481810@0)
+1
-
正解,否则要内核干吗?我每回听人说LINUX驱动就好笑,能动的硬核好用不逗你玩的都在内核里面 😄
-eleclan(eleclan);
2023-6-9
(#15481843@0)
-
LINUX的内核有各个子系统,驱动目录下有一大堆子目录。
-somepeople(不要PM我,就不改);
2023-6-10
(#15482645@0)
-
不要考虑啥极端的条件,就是8N1,115200的波特率的串口数据操作,不需要考虑CTS,RTS,xon/off那些信号,linux里,这事能做不?容易不?
-**🏎;
2023-6-10
(#15482716@0)
-
容易。难得不是LINUX,是系统。如果拿个AVR说要来个LINUX上串口,鬼才做。
-somepeople(不要PM我,就不改);
2023-6-10
(#15482736@0)
-
系统也不是我设计的,要我设计根本不会用啥Linux. 其他公司现成的硬件电路,ARm处理器,可以跑linux, 这上面控制个串口,控制个SPI会很难么?
-**🏎;
2023-6-10
(#15482764@0)
-
一条stty to set status, 记得几十年前弄个cron不停check/reset status, 重建连接。
Ditty also
-txn(秦川);
2023-6-10
{12}
(#15482913@0)
-
linux/mac比windows好还有啥质疑的?
-infinity7.1(notailor);
2023-6-10
(#15483702@0)
+3