-
Notifications
You must be signed in to change notification settings - Fork 175
maixcam2的接收串口部分有问题 #946
Copy link
Copy link
Open
Description
问题描述
- 用maixcam2测试部分串口时,通过usb转ttl用电脑快速给相机发消息,相机会与电脑断开连接
- 程序似乎没有终止,因为maixvision中的DEVICE窗口没有打印exit等文字,而是过一会后相机与电脑断开连接了
- 该问题体现在串口2和串口4上,改为串口0则不会
- 串口发送部分无问题
- 同样的代码(已经对不同型号做了相应串口映射),改用maixcam pro,并不会出现串口接收问题
环境描述
- MaixCAM2
- maixpy 4.12.3
- 已确认连线(相机串口接收频率不太快的情况下,能正常收发)
个人推测与建议
- 怀疑是怀疑是 UART2/4 的驱动或硬件流控存在缺陷
- 希望官方能重视我的提议并给予相应回复
Symptoms
- PC sends data rapidly via USB-TTL to UART2/UART4 → camera disconnects
- Program does not exit (no "exit" printed), disconnects after a while
- UART0 works fine
- TX direction is fine
- Same code works on MaixCAM Pro
Environment:
- MaixCAM2
- MaixPy 4.12.3
Suspicion
- Driver or hardware flow control issue on UART2/4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels