DPS310 barometer - no instance started (no device on bus?)

Hi guys, not sure if it’s right channel, if not please let me know where to ask :slightly_smiling_face:
I made custom hardware based on FMUv4. It’s working fine, first it was working with MS5611 baro and everything was fine. Now I made second revision with DPS310 baro and have issues with it.
What has been done so far:

  1. Make sure hardware is working - I’ve soldered test wires and connected baro chip to arduino - it can read sensor no problems
  2. Check signals - attached logic analyzer, theres data on every line - screenshots attached
  3. Change rc.board_sensors to start DPS310 instead of MS5611
  4. Change verbosity level to debug
  5. Tried to start it manually with dps310 -s start command

No matter what I do, there’s “no instance started (no device on bus?)” message. Any ideas where to look?

Technical details:
DPS310 is connected to the same pins as MS5611 in that schematic: Schematics/PIXRACER-V1-R15.pdf at master · ArduPilot/Schematics · GitHub

Logic analyzer graphic view:

Data:
Time [s],Packet ID,MOSI,MISO
7.011289222000000,0,0x1E,0xFF
7.015251612000000,0,0xA0,0x00
7.015253066000000,0,0x00,0xFA
7.015254516000000,0,0x00,0x11
7.015262922000000,0,0xA2,0xFF
7.015264374000000,0,0x00,0x00
7.015265828000000,0,0x00,0x00
7.015274184000000,0,0xA4,0x00
7.015275636000000,0,0x00,0x07
7.015277088000000,0,0x00,0x66
7.015285446000000,0,0xA6,0x00
7.015286896000000,0,0x00,0xF0
7.015288350000000,0,0x00,0x4D
7.015296706000000,0,0xA8,0xFF
7.015298158000000,0,0x00,0x91
7.015299610000000,0,0x00,0x00
7.015307968000000,0,0xAA,0x00
7.015309420000000,0,0x00,0x00
7.015310872000000,0,0x00,0x00
7.015319228000000,0,0xAC,0x00
7.015320680000000,0,0x00,0x00
7.015322132000000,0,0x00,0x00
7.015330490000000,0,0xAE,0x00
7.015331944000000,0,0x00,0x00
7.015333396000000,0,0x00,0x00

SOLVED: I had to add proper SPI driver init in boards/…/src/spi.cpp file and than add init in rc.board_sensors file.

Hi, I am using Pixhawk Cube Orange and trying to use PCA9685 pwm driver with PX4 but when i connect the device, i get “no instance started (no device on bus?)” message. This device is supported in firmware, i can see the driver. I couln’t understand how to edit the boards/…/src/spi.cpp file properly. Could you give some more information?