tried on github. Not welcome there…
If I connect a ADXL345 to the SPI1 connector (PA5,6,7 + PB15) the firmware will not boot. No serial device pops up in the Linux host system.
When booting up the MCU there is a burst on SCK with a very short double pulse on MOSI - for this burst I don’t find the source. If an ADXL345 connected to this port, SCK continues toggling (~250kHz) and the ADXL sends data to MISO. In this case, the STM32G0B1 is looping and don’t boot. No USB serial connection pops up in the Linux host.
PB15 (used later for CS) is low at startup so the ADXL is in SPI mode.
controller board used: BTT Manta M8P equipped with a CB1 Linux compute module replacement.
If I plug in the ADXL board later - a few seconds after power-on - it works like expected and ACCELEROMETER_QUERY returns values.
Is here a condition that prevent the firmware from boot?
Is a bootloader within the first 8KiB doing some SPI stuff at start.