Skip to main content
This topic has been closed for replies.

12 replies

Andrew Neil
Super User
January 21, 2025

Welcome to the forum.

For people to be able to help, you need to give more details - see How to write your question to maximize your chances to find a solution

Remember that we know absolutely nothing about you or your project other than what you provide in your post.

 

PS:

Does it work if you use USART6 without DMA ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
xt_itAuthor
Associate
January 22, 2025

if I don't use USART6'DMA ,I can write to SD card normally. But,if I use the USART's DMA ,When I write to SD,it will loss many data

Andrew Neil
Super User
January 22, 2025

@xt_it wrote:

if I don't use USART6'DMA ,I can write to SD card normally. 


Just to be clear: It does work when you use USART6 - just so long as you don't use DMA with it?

Are you using DMA with the SDIO ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Tesla DeLorean
Guru
January 21, 2025

What does this mean? It trashes the file system on the card making it unreadable or just corrupts the file contents of what you are logging?

Do they share resources or channels? I don't recollect there being a problem on this platform.

Debug the issue.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
xt_itAuthor
Associate
January 22, 2025

just loss data in sd card