Part Number: AM2632-Q1
Other Parts Discussed in Thread: SYSCONFIG
Hello,
As noted here (+) MCU-PLUS-SDK-AM263X: MCSPI CS issue/workaround for Multi-channel mode (SDK version 9.02) - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums about 2 years ago and observed with SDK 26.00.00, Sysconfig 1.28.0+4712 the incorrect code generation is still present.
For multi-channel MCSPI configuration the code generated for channel data is still incorrect in ti_drivers_open_close.c:
MCSPI_ChConfig gMcspiPmicCanChCfg[MCSPI_PMIC_CAN_NUM_CH] ={ { .chNum = MCSPI_CHANNEL_0, .frameFormat = MCSPI_FF_POL0_PHA0, .bitRate = 1000000, .csPolarity = MCSPI_CS_POL_LOW, .trMode = MCSPI_TR_MODE_TX_RX, .inputSelect = MCSPI_IS_D1, .dpe0 = MCSPI_DPE_ENABLE, .dpe1 = MCSPI_DPE_DISABLE, .slvCsSelect = MCSPI_SLV_CS_SELECT_0, .startBitEnable = FALSE, .startBitPolarity = MCSPI_SB_POL_LOW, .csIdleTime = MCSPI_TCS0_0_CLK, .turboEnable = FALSE, .defaultTxData = 0x0U, .txFifoTrigLvl = 16U, .rxFifoTrigLvl = 16U, }, { .chNum = MCSPI_CHANNEL_0, .frameFormat = MCSPI_FF_POL0_PHA1, .bitRate = 2000000, .csPolarity = MCSPI_CS_POL_HIGH, .trMode = MCSPI_TR_MODE_TX_RX, .inputSelect = MCSPI_IS_D1, .dpe0 = MCSPI_DPE_ENABLE, .dpe1 = MCSPI_DPE_DISABLE, .slvCsSelect = MCSPI_SLV_CS_SELECT_0, .startBitEnable = FALSE, .startBitPolarity = MCSPI_SB_POL_LOW, .csIdleTime = MCSPI_TCS0_0_CLK, .turboEnable = FALSE, .defaultTxData = 0x0U, .txFifoTrigLvl = 16U, .rxFifoTrigLvl = 16U, },};

