LPSPI chip select remains in active state(low) after LPSPI_MasterTransferBlocking call.

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

LPSPI chip select remains in active state(low) after LPSPI_MasterTransferBlocking call.

507件の閲覧回数
sai_shinde
Contributor II

Hi all,

I am using LPSPI5 in polling mode for communicating with one of the device on SPI.

I have configured SPI using configuration as in below picture.

sai_shinde_0-1667550428474.png

 

As per the configuration I expect chip select line of SPI must remain in idle or non-active state(high) after LPSPI_MasterTransferBlocking  function call as all the data is transmitted/received. But chip select remains in active state (LOW), I have verified it using DSO. After power on chip select pin is high but after BOARD_InitPins function execution it remains low throughout the program.

My project is C++ project.

Please let me know what is missing in the configuration. Or anything to be verified in implementation.

0 件の賞賛
返信
0 返答(返信)