SPI half duplex mode available?

Hi 

I am using nrf52832 on that I want to use spi communication.

Is it possible to use half-duplex communication on spi protocol?

In full-duplex mode after sending some data on MOSI.

MOSI gets always high.

Is there any solution for that to not get MOSI high after sending any data on MOSI?

 Thank you

  • Hi,

     

    What you clock out from the master side is up to you, and it is controlled in your own firmware (your spi read routine).

    If you clock out all '1' to read, that is fine. If you also choose to clock out all '0' to read, that is also fine.

    Most (if not all?) sensors have a "dont care" on the incoming bytes when a read command has been issued.

     

    Kind regards,

    Håkon

Related