工具/软件: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)