完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好朋友们,我正在做一些关于通信线路窃听的项目,在这里我想接收用BSD协议编码(带波特率1200)的数据,解码它并把数据传送给PC.。我的问题是,我能用PIC18F420或类似的8位控制器来做这件事吗?其主要问题是,解码后的帧长将是19位,需要发送到PC。相关的建议将对我有很大帮助。提前感谢。
以上来自于百度翻译 以下为原文 Hello Friends, I am working on some project related to communication line tapping, where i want to receive data which is encoded using BSD protocol (with baud rate of 1200), decode it and transmit data to PC. My question is, can I do this stuff using 8 bit controller like PIC18F4520 or similar. The main problem in this is, the frame length after decoding will be 19 bit which needs to transmit to PC. Relevant suggestions will help me a lot. Thanks in advance. |
|
相关推荐
4个回答
|
|
|
它是什么?你能发布一个链接到这个协议吗?
以上来自于百度翻译 以下为原文 What is it? Can you post a link to this protocol? |
|
|
|
|
|
我真的不知道是什么。但是当我搜索它的时候,我发现了一些我想分享的信息。这是解码后我想发送给PC的19位帧格式。数据帧长度:19位(+至少3个同步位),如表2暂停所示:至少3个同步BITSDIR:表示帧DRIDR的方向。0如果帧由Masdidir=1发送,如果帧由SLAVESLAVE ADDR发送:SLUVER /W的总线地址:如果寄存器为ReLDR/W=1,如果寄存器为WrnTr.Reg ADDR:要访问的寄存器地址,则定义以下寄存器是否被读取或写为W/W=0?P1:奇偶校验位BP1=0,如果在前8位BITSP1=1中有偶数个1s,如果在前8位数据中有1s的关断数:如果在前面8位BITSP2=1中有偶数个1s,则读或写到指定寄存器2的数据:奇偶位BIT2=0;在前8个BACKACK中的1s的关闭数:如果传输成功,则SLaveCK=0发送确认。PaulEdirS从属ADDR/WRG ADDRP1DATAP2ACK超过3同步位BITS1 BIT3 BITS1 BITS1比特8位BITS1比特1位表2 -如果主写入RE,则数据FrAMEMASTER启动通信。GEST:主机发送除了ACK位以外的所有位。如果主从寄存器读取:主机发送暂停、从属ADDR、R/W、ReG ADDR和P1位。从传输数据、P2和ACK位。
以上来自于百度翻译 以下为原文 I really don't know what it is. But when I search about it, I found some info which i would like to share. This is the 19 bit frame format after decoding which I want to transmit to PC.
PAUSE DIR SLAVE ADDR R/W REG ADDR P1 DATA P2 ACK ≥ 3 sync bits 1 bit 3 bits 1 bit 3 bits 1 bit 8 bits 1 bit 1 bit Table 2 - Data Frame
|
|
|
|
|
|
Google的一点似乎表明,这是一种仅用于宝马汽车的引擎舱通信的协议,它可能是基于LIN协议(但我可能错了)。
以上来自于百度翻译 以下为原文 A bit of Googling seems to indicate that this is a protocol only used for engine bay communications in BMW vehicles, and it might be based on LIN protocol (but I could be wrong there). |
|
|
|
|
|
是的,我还谷歌,主要是伯克利插座,所以,感谢上面的信息:我不知道速度…但是我从软件解决方案开始,看看它是如何发展的。似乎不太复杂。
以上来自于百度翻译 以下为原文 Yeah, I googled as well and got mainly Berkeley Sockets stuff So, thanks for the info above: am not sure about the speed... but I start out with a software solution, and see how it goes. Does not seem to be too complicated. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
485 浏览 0 评论
5806 浏览 9 评论
2346 浏览 8 评论
2234 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3540 浏览 3 评论
1145浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1114浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
882浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
487浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-9 03:28 , Processed in 1.796361 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2554