Hi David,
Could you tell me the partnumber of your chip?
If it is the kinetis K series.
1. From the SPIx_CTARn[FMSZ], you will know, the max data is 16bits, so you can't configure it with 24bits, but you can configure the frame as 8bits, then send 3 frames. If you don't want the CS pull up between the 24bits, you can just control it as active low with the code.Eg, you can configure the CS pin as the GPIO, then the cs pin won't be controlled by the SPI module, it will be controlled by the GPIO, now, you can use the GPIO code to pull down the CS before send 24bits frame, after the SPI data is sent, then you can pull up the CS pin with GPIO code.
For this part, there still no according project, but it is not complicate, you can write the code by yourself, just disable the CS spi function, and configure your CS pin as the GPIO function.
For the SPI sample code, you can refer the KSDK2.0 for K64, just download it from this link:Welcome to Kinetis Expert | Kinetis Expert
After you download it, you can find the SPI sample code in folder:SDK_2.0_FRDM-K64F\boards\frdmk64f\driver_examples\dspi
2. Thank you for your suggestion. Could you tell me which SPI module you are using in the PE now?
Wish it helps you!
If you still have question, please contact with me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------