Hello,
The chip we use is S32K146, and the SDK we use is RTM4.0.3 version.
And use SPI2 communication with peripherals IC, but the chip select is not choice SPI funciton(PCS),
and used the normally gpio(PTB2) control, now how do I can config the pcs in S32DS platform.
Now the platform configuration panel not have disable SPI PCS function setting.
Pls help check it or bellow the configuration is or correct.
BR
Hello @MervynZong,
The LPSPI module does not provide an option to disable the PCS, there are only PCS selection bits in the TCR[PCS] register
Therefore, the drivers does not support it either.
Nevertheless, the PSC signal from the LPSPI module does not have to be MUXEd to a pin in the PORT module, and a GPIO can be used instead.
It is not recommended to use a GPIO CS along with the driver though, it would be your responsibility to assert and deassert the CS.
Best regards,
Daniel