cancel
Showing results for 
Search instead for 
Did you mean: 

SPI half-duplex example

FBoth.1
Associate III

Hello, I would like to know if there are any special tricks to SPI half-duplex mode. As far as I know the configuration is done normally with only the direction as 1 line. Can anyone point me to some form of an example for setting up the SPI in half-duplex and then receiving through said port SPI mode. I have searched for days and could not find anything concrete.

Please I am really desperate. Any help will be appreciated

Thank you

11 REPLIES 11

@RahulGuiris wrote:

you say "In order to receive from SPI in half duplex use the following:" then have code which is only transmitting.


Indeed. And the function name is LSM6DS3_WriteReg - so does look very much like a typo.

Thanks, this solution solved my problem.