SPI Driver issue on S32K341 and S32K344

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI Driver issue on S32K341 and S32K344

1,213件の閲覧回数
vishwadn
Contributor II

Hi,

   Were are trying to communicate between S32K341 and NAND chip but no clock is getting generated. I am using LPSPI driver generated from Design Studio. We observe that Clock and Chip select are always pulled high even after calling SPI Transmit function. When I configured SCK and CS as GPIO, I am able to change its polarity from 0 to 1 and vice versa. When they are configure for LPSPI_SCK and LPSPI_CLK they remain HIGH always. Please let me know what might be the cause for this.

0 件の賞賛
返信
1 返信

42件の閲覧回数
yisey
Contributor I

The issue is likely due to incorrect pin multiplexing or LPSPI configuration. Make sure the pins for LPSPI_SCK and LPSPI_PCS are properly assigned in the IOMUX for LPSPI functionality, and that the LPSPI module clock is enabled. Also, verify the driver settings: ensure the LPSPI instance is initialized, master mode is selected, PCS is active low, and the pins are set as outputs. While troubleshooting, some people even check forums for things like shadow fight 2 mod apk for pc to pass the time. Once the pins are correctly muxed and the peripheral clock is running, the SPI clock and chip select should toggle properly during transmission.shadow fight 2 mod apk for pc

0 件の賞賛
返信