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.

[参考译文] CCS/TMS570LS3137:AUTOSAR_MCAL_TMS570LSx-05.30.00:SPI 芯片选择失败

Guru**** 2478765 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/691023/ccs-tms570ls3137-autosar_mcal_tms570lsx-05-30-00-spi-chip-select-fails

器件型号:TMS570LS3137

工具/软件:Code Composer Studio

根据数据表、应允许为 SPI 设置任何芯片选择。

但在执行该操作时、SPI 驱动程序会抛出验证错误、请参阅下面的内容。 (仅允许 SCS0、SCS1、SCS2或 SCS3)

但我们找不到这种限制的原因。

下面是配置器控制台错误的摘录

(三

信息18-05-16、14:14:52 (13030)在模块""的"生成"模式下运行发生器"plugin.tresosdb.api.verifyGenerator"

信息18-05-16、14:14:52 (13030)、在模式"生成"下运行发生器"SPI_TI_TMS570LSx_GeneratorId"、用于模块"SPI_TI_TMS570LSx"

错误18-05-16、14:14:52 (2091)无法为模块"SPI_TI_TMS570LSx_GeneratorId"运行发生器"SPI_TI_TMS570LSx"(模式:"General")

信息18-05-16、14:14:52 (13014)生成"D:\TEMP\Davinci\Cfg-9624225\Generation\Cfg_Gen-1526459630778-0\Tresos-1526460287276-0\Tresos_Gen_-1526460287510-0\Include\SPI_Cfg.h"

错误18-05-16、14:14:52 (2004)[D:\usr\development \CustomerProjects\PRJ00012348_vcu_me\Main\trunk \S1_SW\060 _Int\CoreMRS\thirdparty\McAL_Tms570Lx\Supply\Tresos\plugins\SPI_TI_TMS570LSx306_CFG/CS/CSx (已签名):c:cr 生成错误代码:cr /已签名:cr:cr:cr:cr (节点)

错误18-05-16、14:14:52 (2070)无法生成文件"D:\usr\development \CustomerProjects\PRJ00012348_vcu_m\Main\trunk \s1_sw\060 _Int\src\CoreSRM\thirdparty\McAL_Tms570Lx\Supply\Tres\c\spi_spi_pbspi\generated/signed tms570LSx"(tms570LSx)

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

    我已将此问题转发给我们的 MCAL 开发人员、他很快就会回来。