due to various reasons I need to read the raw data provided by PXFmini. In my setup the board is connected to a RPi Zero running the latest Raspbian version.
For a simple start I am trying to get the MS5611-barometer working. According to the "documentation" (Sensor Schematics) the IC is connected to the Pi via SPI and Chip Select CE0 on GPIO-Pin 24. Now a quick test using the following python script:
spi = spidev.SpiDev()
spi.xfer([0x1E]) // Reset
time.sleep(1) // wait for a second...
spi.xfer([0x40]) // Request D1
bytes = spi.readbytes(3)
The resulting response, no matter what register I try to address: [255, 0, 0] (with a 3 items long Byte-array)
Is there anyone having the same issues to get the PXFmini running WITHOUT Ardupilot or similar? Any ideas what I am doing wrong?
Thanks a lot and regards