Hello @pass3master
You need to set the SPI global interrupt in the .ioc.In your code call HAL_SPI_TransmitReceive_DMA() and then set CS high in the HAL_SPI_TxRxCpltCallback().
Hello @curiae
To generate a periodic wake-up using HAL_RTCEx_SetWakeUpTimer() for a 50ms interval, you need to set the WakeUpCounter and WakeUpClock arguments appropriately.
WakeUpClock: This parameter determines the clock source for the wake-up tim...