Hello. I am currently using SPI4 on an IMXRT1064 using the CMSIS LPSPI config provided in the periperhals view of MCUXpresso. I want to be able to programmatically swap between PCS0 and PCS1 (as we have 2 devices connected to that bus) but cannot find how this is achieved. It looked like this would work but I think this isn't for the CMSIS driver:
LPSPI_SelectTransferPCS(LPSPI4, kLPSPI_Pcs1);
Any help is greatly appreciated.
