I want to communicate with a MAX31856 using SPI. Unfortunately, I have a basic understanding of electronics and only used SPI communication once. Briefly, the thermocouple sensor (MAX31856) is connected via SPI to Arduino and the latter is connected to a computer. The temperature is read using LabView and the Linx Makerhub add-on. The MAX31856 works perfectly fine using the Adafruit libraries for Arduino.
The MAX31856 chip requires a serial data input (SDI) to set some parameters and simply to require a temperature value from the chip (From the datasheet: communication with the MAX31856 is accomplished through 16 8-bit registers that contain conversion, status, and configuration data). I do not understand what to send via the SDI pin. In the register memory map, I can see that the three addresses 0Ch, 0Dh and 0Eh respectively read the temperature bytes 2, 1 and 0. Do I have to send an array of three bytes with the value of 12, 13 and 14 (because in Labview the array is unsigned byte 0-255) to get the temperature back?
Maybe the difficulty also resides in my LabView code. In this case I will go on a more appropriate forum. Thank you in advance for your help. If you have any question on my problem, do not hesitate.