RPi串行端口起始位 [英] RPi Serial Port Start Bit

查看:84
本文介绍了RPi串行端口起始位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试使用运行物联网核心的Pi与声称需要起始位(以及停止位)的设备进行通信。)我没有看到Windows中SerialDevice文档中提到的起始位。什么是开始位,我可以在Pi上使用Windows
IoT Core吗?

I'm trying to use a Pi running IoT Core to communicate with a device that claims it needs a start bit (as well as a stop bit.) I don't see start bits mentioned in the documentation for SerialDevice in Windows. What's a start bit and can I use one in Windows IoT Core on the Pi?

干杯

Jason。

Jason Timmins - MBM Ltd - 业务IT支持

Jason Timmins - MBM Ltd - Business IT Support

推荐答案

嗨杰森,

起始位通常表示串行线路上数据传输的开始。 如果器件需要起始位和停止位,则程序可能需要从RPi发送start\stop位。  

A start bit typically signals the start of data transmission on the serial line.  If the device needs a start bit as well as a stop bit, your program probably needs to send the start\stop bit from the RPi.  

您是否完全参考过这个文档? 搜索"Serial UART"。

Have you referred to this documentation at all?  Search for "Serial UART".

https://developer.microsoft.com/en-us/windows/iot/docs/pinmappingsrpi

https://developer.microsoft.com/en-us/windows/iot/docs/pinmappingsrpi

该页面通过RPi引脚映射,包括串行UART,还提供了一些可以在RPi上部署的示例代码。 

The page goes through RPi pin mappings including the Serial UART and also provides some sample code as well that you could deploy on your RPi. 

希望它有所帮助,

Amy


这篇关于RPi串行端口起始位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆