AnsweredAssumed Answered

SPI with several chip selects

Question asked by matthias on Jan 23, 2015
Latest reply on Jan 26, 2015 by Alice_Yang

Hello everyone,

I am using KSDK 1.1.0 on a FRDM-K64 board and would like to use an SPI port with multiple chip selects (multiple connected slaves). I used Processor Expert to set up the DSPI peripheral with two different master configurations that have their dedicated chip select pin.

My question is: How can I change between using the two chip selects? I would like to avoid to reinitialize the whole driver by using DSPI_DRV_Master(De)Init() each time. Is there any simple way to switch between several chip selects?


Best regards