Hi constantinrazvan.chivu, thanks for your reply.
We have 3 SPI slave devices (a DAC, a FPGA and another S32K board) that we need to communicate to using the same LPSPI interface on the S32K, so I need to have control on the peripheral I'm sending the data over SPI.
Since this is a design that we want to carry for more than one project, I'd like to take advantage of this feature and utilize the dedicated LPSPI PCS lines for the given interface, so in the future when the new release of the MDB Toolbox happens we would be able to integrate the simulink blocks without having to modify our hardware or carry the control of the alternate setCS functionality; because, if I understood correctly, I won't be able to utilize any of the PCS outputs from the LPSPI interface. At least not the ones defined on the lpspi_s32k14_config block, on the "pins" tab, I'm I right on this assumption?
If that's the case I think I'd like to have your option 2) as Plan A, meaning that I'd like to get the HotFix to include this functionality and I will provide feedback on my testing back to you. If we do go this route, how long you think would it take to get the HotFix? I'm asking not for rushing you, but because our team is working on the PCB, and they need to know if they have to move the CS for the SPI peripherals. Depending on this, I think we can take a decision if going this route or going with Plan B.
Plan B, being your option 1) as utilizing other output pins and setting these as CS for our peripherals. Also, I'd be great if you could confirm that we can use any of the PCS pins defined in the "pins" tab on the lpspi_s32k14_config block, or if we need to find another three unused digital pins.
Thanks a lot for your assistance and prompt response I really appreciate your time.
Best Regards,