Hello NXP community,
Could you help me please, i use S32K144 board. how can i just receive the data by SPI from slave?
解決済! 解決策の投稿を見る。
According to the SDK documentation, the function with a NULL parameter will send bytes with 0 value.
I don't see any option to configure a half-duplex mode in the PEX of the SDK driver.
However, the MOSI signal of the LPSPI module does not have to be routed to any pin if you use a 3-wire bus.
Regards,
Daniel
Hi Alex,
Please have a look at the description of TXMSK in the RM.
Regards,
Daniel
Tnak you very much for your answer, but if i want to use the function LPSPI_DRV_MasterTransferBlocking. i have to use like LPSPI_DRV_MasterTransferBlocking(SEND,NULL, &buf, 1,100)?
According to the SDK documentation, the function with a NULL parameter will send bytes with 0 value.
I don't see any option to configure a half-duplex mode in the PEX of the SDK driver.
However, the MOSI signal of the LPSPI module does not have to be routed to any pin if you use a 3-wire bus.
Regards,
Daniel