I'm using KSDK2.0 with MDK ARM and MKL17Z256.
In the codes in below, SS signal becomes low at the beginning of transfer correctly, but it becomes high just after the 1st byte has transferred.
I want SS is continuously low state until all bytes has transferred but I cannot find the solution.
Do you have any suggestions ?
sourceClock = CLOCK_GetFreq(EXAMPLE_SPI_MASTER_SOURCE_CLOCK);
SPI_MasterInit(EXAMPLE_SPI_MASTER, &masterConfig, sourceClock);
srcBuff = 0x05; // Instruction
srcBuff = 0xFF; // dummy
xfer.txData = srcBuff;
xfer.rxData = destBuff;
xfer.dataSize = 2;