C语言两个微处理器(H8S2633R)之间的串行通信
我正在做一个学校项目,需要两个微处理器之间的通信,我没有转换为 RS232 来进行此通信,因为两个处理器彼此相邻。程序应该能够发送和接收信息。当对方收到它时,它会向处理器发送回一封信,告诉处理器它已经收到了。该程序应该是中断驱动的,我正在使用高性能嵌入式工作室来编写该程序。请帮助我,为此困扰了很长一段时间。谢谢 :)
I am doing a school project that required communication between two microprocessor, I did not convert to RS232 for this communication as the two processor is place next to each other. The program should be able to send and receive the information.When the other party receive it, it will send back a letter back to the processor telling the processor that it has receive it. The program should be an interrupt driven and I am using the high-performance Embedded workshop to write the program. Please help me, struck at this for quite a while. Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下载该处理器的数据表(可以真的可以将 1500 页的文档称为“数据表”吗?)并阅读第 16 章“串行通信接口”。特别是,您似乎对第 16.3.3 节“多处理器通信功能”最感兴趣。
Download the data sheet for that processor (can one really call a 1500-page document a "data sheet"?) and read chapter 16, "Serial Communication Interface". In particular, it looks like you'll be most interested in section 16.3.3, "Multiprocessor Communication Function."