This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] LP-MSPM0G3507:MSPM0G3507:

Guru**** 2393725 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1378024/lp-mspm0g3507-mspm0g3507

器件型号:LP-MSPM0G3507

工具与软件:

例如、  来自 SDK 的 spi_controller_echo_interrupts/spi_peripheral_echo_interrupts、我不知道我的 SPI 从板为什么不按照数据值的顺序从 SPI 主板接收数据(即、2、3、4、5...)

从器件收到的内容类似:  "\x01"   '\x82' '\x02'   '\x83'   '\x03'   '\x84'   '\x04'   '\x85'   '\x05'。
中间有一个意外字节、我的发送器代码不执行此操作。  会是什么?

SPI 配置中或在执行 SPI 读取/写入之前是否有一些东西可使其正常工作?  请帮助您。 谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    主器件和从器件都 应 配置为相同的 SPI 模式。  SPI 模式不匹配会导致数据被误解。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢。 我检查了两个设置、没有什么突出显示。  我唯一实现这一目的的就是为 SPI 使用另一个片选。