04-02-2019 12:33 PM - edited 04-02-2019 12:38 PM
HI,
I am using myRIO 1900 and LabVIEW 16.0 to communicate with MLX90393. The MLX slave supports both I2C and SPI (3 and 4 Wire) communications with SPI config. (CPOL= 1, CPH=1, MSB first) with active-low (CS). The I2C protocol is tested and the MLX board works pretty fine. However, when the SPI protocol is tested and I just get (0xFF) on the MISO pin. I am using myRIO SPI express VI in LabVIEW. I write a specific command to the slave then I read the response for this command which should be a Byte that describes the status of the slave (0xFF is not an option). I tested this with a simple reset command using 4 wire configuration, the reset VI file is attached and an image illustrating the SPI diagram of the slave from the datasheet. any help would be appreciated. Thank you.