My target is S32K and I'm trying to talk to a slave device on SPI.
The slave requirement calls for 40 bits transfer during which the Chip Select needs to be asserted.
Processor Export Does not seem to work for 40 bits (5 bytes)/frame. I got it to work for 32bits and I believe any multiple of 4 bits/frame. If this is true , is there a workaround available?
I even tried to configure the SPI for 8bits/frame and control the chip_select as a GPIO outside the PE code but I couldn't get it to work completely.
the project is attached.it is a modified version of an example project.