I am using the S32K 118 MCU ,and now i want to drive a device thr 3-wires SPI interface,from the device datasheet ,the comunicate sequence show below
How can i conect the device to the MCU and configure correctly,and it seem that there is no any useful information from the RM about this.
Best Regard.
解決済! 解決策の投稿を見る。
It is a bit nonstandard configuration and how I understand RM, I guess it is even not possible. Because it this case you would have to change CPHA parameter during transfer, what's apparently not possible.
Hi, it seems you don't have configured clock phase for both sides (master and slave) same way what's necessary.
Hello davidtosenovjan,
The image of the comunicate sequence which I post before is not the real capture sequence, it is the 3 wires SPI protocol provided by the device's supplier,and i need to obey this protocol to comunicate with the device use S32K 118,but I don't know how to configure correctly.Now i have no way but only try to use GPIO to emulate this nonstandard 3-wires SPI protocal.Will u have any other good ideal?Thank you!
Best regards,
It is a bit nonstandard configuration and how I understand RM, I guess it is even not possible. Because it this case you would have to change CPHA parameter during transfer, what's apparently not possible.
Hi Davidtosenovjan,
Thank you for your reply, and i have implemented this by using the GPIO rather than the LPSPI module.Looking for the RM over and over,and i got almost the same conception with you.
Best regards,