Part Number: TDA2EXEVM
Hi all
I am trying to Implement SPI Communication Function on TDA2Ex Platform,
I Use SPI2 as Master , and Enable CS like this
McSPICSEnable(MCSPI2_BASE_ADDRESS); McSPIMasterModeEnable(MCSPI2_BASE_ADDRESS);
McSPICSPolarityConfig(MCSPI2_BASE_ADDRESS, (MCSPI_CH0CONF_EPOL_ACTIVELOW << MCSPI_CH0CONF_EPOL_SHIFT), gChNum);
and before I transmit data, I follow the sample code, enable the Channel
McSPIChannelEnable(MCSPI2_BASE_ADDRESS, gChNum);
and when end of the communication, I disable the Channel
McSPIChannelDisable(MCSPI2_BASE_ADDRESS, gChNum);
I saw the SCLK and DATA were working fine
But when I measure the CS Signal, I found the CS Signal still on the active status ( low) , although I disable the Channel
So, I want to know how to config SPI2 Controller to make CS Signal on the inactive status (Pull High) when end of transmission