Tool/software: Code Composer Studio
According the datasheet, it should be allowed to set any Chip Select for the SPI.
But when doing it, the SPI Driver throws a validation error, please see below. (only SCS0, SCS1, SCS2 or SCS3 are allowed)
But we could not find a reason for this limitation.
Below is the extract of the error from the Console of the configurator
*******************
INFO 18-05-16,14:14:52 (13030) Running generator "plugin.tresosdb.api.verifygenerator" in mode "generate" for module ""
INFO 18-05-16,14:14:52 (13030) Running generator "Spi_TI_TMS570LSx_GeneratorId" in mode "generate" for module "Spi_TI_TMS570LSx"
ERROR 18-05-16,14:14:52 (2091) Failed to run generator "Spi_TI_TMS570LSx_GeneratorId" (mode: "generate") for module "Spi_TI_TMS570LSx"
INFO 18-05-16,14:14:52 (13014) Generated "D:\TEMP\DaVinci\Cfg-9624225\Generation\Cfg_Gen-1526459630778-0\Tresos-1526460287276-0\Tresos_Gen_-1526460287510-0\include\Spi_Cfg.h"
ERROR 18-05-16,14:14:52 (2004) [D:\usr\development\CustomerProjects\PRJ00012348_VCU_ME\Main\trunk\S1_SW\060_Int\Appl\CoreMSR\ThirdParty\Mcal_Tms570Lx\Supply\Tresos\plugins\Spi_TI_TMS570LSx/generate/src/Spi_PBcfg.c (signed):306]: Invalid CS identifier selected. (node )
ERROR 18-05-16,14:14:52 (2070) Failed to generate file "D:\usr\development\CustomerProjects\PRJ00012348_VCU_ME\Main\trunk\S1_SW\060_Int\Appl\CoreMSR\ThirdParty\Mcal_Tms570Lx\Supply\Tresos\plugins\Spi_TI_TMS570LSx/generate/src/Spi_PBcfg.c (signed)"