嗨,Q!B!非常感谢。我找到了问题所在。我的硬件使用了Mx85来从一个PIC通信到另一个PIC。我发现,当发射机PIC完成发送每个字节时,它将把它的Max55置于接收状态(将Re/DE置零)。这导致接收器的MAX55将其数据输出设为零。因此,在每个接收字节之后不久,接收PIC就已经知道新起始位和零位的所有字节的到达,但是没有停止位。但是,这又保持了RCIF位再次设置。你的答案是很重要的,我确认我的理解是在正确的轨道上,即使在那个时候,我仍然没有意识到这一特点运行McAc4.5谢谢。
以上来自于百度翻译
以下为原文
Hi qɥb!
Thanks so much.
I found where the problem was. My hardware used the MAX485 to communicate from one PIC to another. I found that when the transmitter PIC finished sending each byte, it would put its MAX485 in the receive state (putting RE / DE to zero). This caused the receiver's MAX485 to put its data output at zero. Thus, shortly after each received byte, the receiving PIC already understood the arrival of a new start bit and an all byte at zero, but without stop bits. But this then kept the RCIF bit set again.
Your answer was important for me to confirm that my understanding was on the right track, even though at that time I still did not realize this feature of running the MAX485.
Thanks.
嗨,Q!B!非常感谢。我找到了问题所在。我的硬件使用了Mx85来从一个PIC通信到另一个PIC。我发现,当发射机PIC完成发送每个字节时,它将把它的Max55置于接收状态(将Re/DE置零)。这导致接收器的MAX55将其数据输出设为零。因此,在每个接收字节之后不久,接收PIC就已经知道新起始位和零位的所有字节的到达,但是没有停止位。但是,这又保持了RCIF位再次设置。你的答案是很重要的,我确认我的理解是在正确的轨道上,即使在那个时候,我仍然没有意识到这一特点运行McAc4.5谢谢。
以上来自于百度翻译
以下为原文
Hi qɥb!
Thanks so much.
I found where the problem was. My hardware used the MAX485 to communicate from one PIC to another. I found that when the transmitter PIC finished sending each byte, it would put its MAX485 in the receive state (putting RE / DE to zero). This caused the receiver's MAX485 to put its data output at zero. Thus, shortly after each received byte, the receiving PIC already understood the arrival of a new start bit and an all byte at zero, but without stop bits. But this then kept the RCIF bit set again.
Your answer was important for me to confirm that my understanding was on the right track, even though at that time I still did not realize this feature of running the MAX485.
Thanks.
举报