Posted on April 24, 2018 at 11:45The original post was too long to process during our migration. Please click on the attachment to read the original post.
>>It return error 'HAL_SD_ERROR_TX_UNDERRUN' in function
HAL_SD_WriteBlocks but I don't know why.
You have too much contention for processor focus, you will want to be using SDMMC w/DMA so it can service the peripheral quick enough. You might be able to dial back the speed, but that might still be marginal.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..