Code: Select all
SYS: ----------------------------
SYS: Crazyflie Bolt is up and running!
SYS: Build 27:a90ca70b089f (2020.09 +27) MODIFIED
SYS: I am 0x20373347344D500E0027003C and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_CORE: 2 deck(s) found
DECK_CORE: Calling INIT on driver bcDWM1000 for deck 0
DWM: Failed to configure DW1000!
DECK_CORE: Calling INIT on driver bcFlow2 for deck 1
ZR2: Z-down sensor [OK]
PMW: Motion chip id: 0x49:0xB6
IMU: BMI088 Gyro SPI connection [OK].
IMU: BMI088 Accel SPI connection [OK]
IMU: BMP388 I2C connection [OK]
ESTIMATOR: Using Kalman (2) estimator
CONTROLLER: Using PID (1) controller
MTR-DRV: Using brushless motor driver
EEPROM: I2C connection [OK].
IMU: BMI088 gyro self-test [OK]
DWM: Error while initializing DWM1000
DECK_CORE: Deck 0 test [FAIL].
DECK_CORE: Deck 1 test [OK].
Is there anything I should be careful about or correct when using multiple spi sensor decks?
According to what I've looked for, there may be a problem with the timing of the spi sensor, but I don't have an accurate knowledge of it.
Others need expert knowledge before modifying the code in that it can be used without difficulty.
It doesn't matter if you connect two sensors one by one.
But if you combine them together, you'll have a problem.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
As a result of further experiments, removing the vcom pin of the optical flow deck turns on uwb and outputs the following error:
Code: Select all
Error while initializing the PMW3901 sensor