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**** 2604225 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/747890/tms570ls3137-spi-chip-selection-issue

器件型号:TMS570LS3137

需要将 CS 控制为 GPIO、而不是从外设引擎(SPI)控制  、并且需要在我们的项目中支持参数 CS_BACY_GPIO

我们使用 的是 AUTOSAR_MCAL_TMS570LSx-05.30.00

将 SpiCsSelection CS_Via Peripheral_Engine (默认)更改为 CS_Via GPIO 时、生成的代码没有变化。  

此外、SPI_Driver_userguide.pdf 未提及此参数 SpiCsSelection。

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

    请在 MCAL DIO 模块中将 SPICS 引脚配置为 GPIO。