sensor read and write byte

Thread Starter

champ1

Joined Jun 4, 2018
136
Hi There,
Suppose you have a temperature sensor that supports spi protocols. sensor will give digital signal by converting the temperature signal. It means microcontroller can read this signals. We can say that we are reading the sensor data In fact we can read the sensor data but we cannot write data to it

Can anyone help me out to understand what is meaning of SPI write byte to sensor.?
 

ericgibbs

Joined Jan 29, 2010
18,862
hi champ,
With SPI protocol, the MCU has to clock the data out of the temperature sensor, so it sends a 'dummy' write byte in order to read the sensor data.
E

Added a SPI PDF.
 

Attachments

Last edited:
Top