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.

[参考译文] RM46L852:从 RM42升级后 SPI 中断

Guru**** 2393725 points
Other Parts Discussed in Thread: HALCOGEN, RM46L852

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/819285/rm46l852-broken-spi-after-upgrade-from-rm42

器件型号:RM46L852
主题中讨论的其他器件:HALCOGEN

我 有一个陀螺仪(ST Micro L3GD20)、我过去在使用 SPI 的 RM42 Hercules 微控制器中使用过它。  我在该芯片上使用的是 SPI2。  现在、我想将同一器件与 RM46L852配合使用、但它不再工作。  我已经匹配了 Halcogen 中的所有设置。  我可以看到的唯一区别是、我现在使用的 SPI3在 RM46上是 MIBSPI 通道上的兼容模式 SPI。  我使用的代码与以前完全相同、现在似乎根本没有通信。   

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

    罗好、

    请检查 PLL 设置和 SPI3模块的时钟设置、以确保具有相同的 SPI 波特率。RM42的最大 CPU 时钟为80MHz、但 RM46为220MHz。

    2.检查 SPI3的引脚多路复用器