Cypress技术论坛
直播中

何珊

8年用户 183经验值
私信 关注
[问答]

怎么准确地阅读米索线上传输的内容

你好,
我想准确地阅读米索线上传输的内容。这样做的方法是什么?例如,我发送0x97 00超过MOSI,然后回来的MISoO应该是0x0C04。我想捕捉这个0x0c04in进来时

以上来自于百度翻译


     以下为原文
  Hello,
    I want to read exactly what is on the MISO line right after it is transmitted. What is the method for doing this? For example I send 0x9700 over MOSI and then the MISO that comes back should be 0x0C04. I want to capture this 0x0C04 right when it comes in

回帖(1)

王琳

2019-7-2 16:10:47
您有两个选择:您可以在RX缓冲区中查询数据,或者可以使用“回调宏”在RX中断结束时得到通知。查看创建者帮助,并输入SPIM数据表。
鲍勃

以上来自于百度翻译


     以下为原文
  You have two choices: You can poll for data in the Rx buffer available or you can use a "callback macro" to get informed at the end of a Rx interrupt. Look into Creator Help and into SPIM datasheet for that term.
     
    Bob
举报

更多回帖

发帖
×
20
完善资料,
赚取积分