MISO and MOSI are at low levels when the STM32G071RB SPI is idle, which is different from the SPI idle state of the STM32F429ZIT6U.
G071 is different from F429. When F4 is idle, MOSI is high level and MISO is low level. However, when G0 is idle, MOSI and MISO are both low level, which seem to be incompatible with my external device