How can I disable :
without STM32CubeMX ?
To disable the SD device interrupt you should use: __HAL_SD_SDIO_DISABLE_IT
You can refer to your cube firmware package to see their stm32xxxx_hal_sd.h/.c structure and get inspired from them.
You may refer to the working SD examples within your STM32cube, this will help you on your implementation.
Retrieving data ...