i am using s32k314 and s32ds version is 3.6, RTD 4.0.0.
i wanna use lpspi communication.
and i have to use spi communication mode is cpol =1 and cpha = 1. (spi mode3)
i already check lp_spi example.
but i don't know how is set.
1. i don't know how is set cpol = 1, cpha =1.
2. can i know how is set configure for using this sensor?
i attach sensor data sheet.
thanks for help.
Solved! Go to Solution.
Hi,
the SPI mode meaning is below
So your given setting should be OK. Just SpiDataWidth should be 8, I think.
BR, Petr
Hi,
the SPI mode meaning is below
So your given setting should be OK. Just SpiDataWidth should be 8, I think.
BR, Petr