LPSPI module- keeping chip select active

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPSPI module- keeping chip select active

1,631 次查看
SK_98
Contributor I

Hi all,

I'm using LPSPI module of K32L2A41VLL1A to send/receive data to/from External flash. My requirement is to first send command data with Rx buffer null and then receive the buffer with tx null. i.e., after sending command there's a second send/receive function to retrieve the received buffer. But I'm not able to get that data. Can you help me with the configurations I have to do so that the Rx buffer data is not lost during my second transaction?

Thanks in advance!

Shri

 

0 项奖励
回复
1 回复

1,627 次查看
hefan
Contributor I

After send command data with Rx buffer null, lpspi pull cs high.You can Transfer with rx no null and tx no null.

RT1170,for reference:

hefan_2-1654064485616.png

hefan_1-1654064347837.png