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.

[参考译文] TMS570LS3137:双并行和四并行模式的 SPI 设置

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/604779/tms570ls3137-spi-setup-for-dual-and-quad-parallel-mode

器件型号:TMS570LS3137

大家好、团队、

我有以下问题。 请帮您回答。

如果我们想在双路和四路并行模式下使用 SPI、则我们在项目中使用 TMS570LS3137。 我们需要有关如何为此模式正确设置 SPI 的建议。

我们能够设置双路/四路模式、并按照数据表中的说明在总线上发送数据。 但是、我们在位排序方面存在问题。

 

在数据表中、我们看到数据按以下顺序(双模)发送:

SIMO[1]:15 - 14 - 13 - 12 - 11 - 10 - 9 - 8

SIMO[0]:7  - 6 - 5 -  4 -  3 -  2 - 1 - 0

 

但是、具有双/四 SPI 的其他器件通常需要以下顺序:

SIMO[1]:15 - 13 - 11 - 9 - 7 - 5 - 3 - 1

SIMO[0]:14 - 12 - 10 - 8 - 6 - 4 - 2 - 0

 

(对于四路模式、它与4条线路类似。)

 

是否有方法可以为此位顺序在 TMS570上设置 SPI? 如何实现与此类器件的正确通信?

 

提前感谢您的帮助、如果您需要进一步澄清问题、请告诉我。

谢谢、

Peter

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

    Peter、

    这就是 TRM 中提到的方法(您的第一种写方法)、第二种方法在这些器件的 MibSPI 上是不可能的。

    -Anthony