Hello,
according to the spi.cpp file of CubeOrange device, it looks like that three chip select (CS) pins are initialized in the code:
initSPIDevice(DRV_IMU_DEVTYPE_ICM20948, SPI::CS{GPIO::PortE, GPIO::Pin4}), // MPU_EXT_CS
initSPIDevice(DRV_IMU_DEVTYPE_ICM20602, SPI::CS{GPIO::PortC, GPIO::Pin13}), // GYRO_EXT_CS
initSPIDevice(DRV_BARO_DEVTYPE_MS5611, SPI::CS{GPIO::PortC, GPIO::Pin14}), // BARO_EXT_CS
All of these three sensors are installed inside the Cube, on the bus SPI4.
According to the CubeOrange schematic (The-Cube/FMU_F7H7/Schematic Print/Schematic Prints.PDF at 55ba7bd4c8a3d39985c2b6dbc815580f10ea243a · proficnc/The-Cube · GitHub), a chip select signal for the external sensor (outside of the Cube) which would be connected to the external SPI bus (practically is this SPI4) should use EXT_CS → it is connected to the PB1 pin of the STM32 mCU. I can’t find anywhere in code that PB1 pin is initialized in that way or that is initialized in any way. Is connection of the external SPI sensor to the external bus (SPI4) for CubeOrange already supported in the code in some other way maybe or is not supported yet at all?
Many thanks.