AnsweredAssumed Answered

KL16Z - how is SPI CS toggling controlled?

Question asked by Bruce Graham on Jan 14, 2019
Latest reply on Jan 16, 2019 by Hui_Ma

MCUXpresso IDE v10.2.1

MKL16Z256256VLH4

 

I am using SPI with DMA.

SPI_MasterGetDefaultConfig(&m_masterConfig);
m_masterConfig.outputMode = kSPI_SlaveSelectAutomaticOutput;

sourceClock = CLOCK_GetFreq(tSPI_ClockSource);
SPI_MasterInit(pBaseSPI, &m_masterConfig, sourceClock);

SPI_MasterTransferCreateHandleDMA(...

 

When the SPI bus transfers occur, the Chip Select is getting toggled between each byte. The toggling of the chip select does not work with my SPI slave (ADXL363 Accelerometer).

 

See attached image. How do I disable Chip Select toggling between bytes?

 

Thanks,

Bruce Graham
Senior Software Engineer
TechnoSoft Innovations, Inc.

 

Outcomes