Dear NXP Community.
There is a problem while using the S32DS's LPSPI SDK of the S32K144 chip.
I am controlling SPI Mode3 communication using the LPSPI_DRV_MasterTransferBlocking module, but the PCS pin is automatically selected.
I want to control SPI ENABLE and SPI DISABLE through software through PCS pin control. Is there a separate module in S32DS SDK that can control PCS pins through software instead of automatic control?
Solved! Go to Solution.
Hello @ldj979,
Why do you need to control the PCS with the SW, what is the use case?
Because the LPSPI_PCS is automatic but configurable.
If it really needs to be done by SW, you can select the GPIO function on the pin instead of LPSPI_PCS in the PORT module.
Regards,
Daniel
Hello @ldj979,
Why do you need to control the PCS with the SW, what is the use case?
Because the LPSPI_PCS is automatic but configurable.
If it really needs to be done by SW, you can select the GPIO function on the pin instead of LPSPI_PCS in the PORT module.
Regards,
Daniel
I implemented it separately in software as you advised, thank you