Resolved! HAL_SPI_ENABLE causes crash/reset on STM32G030J6
I am trying to communicate with an SD card using SPI.I have found a library, that can work on an STM32g031f6, but if I try to do the same on an STM32g030j6, it crashes/resets when it calls the function "__HAL_SPI_ENABLE" in "stm32g0xx_hal_spi.c".I ha...