Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • UhClem's Avatar
    05-19-2019, 07:23 PM
    UhClem replied to a thread Emmc in Project Guidance
    The SDHC clock divisor is limited so for best performance you need to carefully select the main clock. At 256MHz divide by six is the best you can do which means that the SD clock is slower than it could be. 200MHz...
    9 replies | 148 view(s)
  • UhClem's Avatar
    04-30-2019, 08:47 AM
    There is a lot of code there, more than I really care to go through but a few things that jump out: You have no protection from writing data to a buffer after it is full. This will clobber whatever happens to be...
    2 replies | 83 view(s)
  • UhClem's Avatar
    04-16-2019, 11:20 PM
    You are doing it differently. I have a group of buffers. When one gets full, data goes into the next one. The main loop watches for a buffer to be full. When that happens, it writes the data to the SD card and marks the...
    16 replies | 327 view(s)
  • UhClem's Avatar
    04-16-2019, 05:52 PM
    It is about speed. Ideally interrupt service should be fast so that it doesn't hold up the rest of the code. As for calling other functions, the only problem I have noticed is the C compiler getting stupid about saving...
    16 replies | 327 view(s)
  • UhClem's Avatar
    04-16-2019, 05:33 PM
    Yes. Writes to SD cards do that. Made worse by using a FAT file system. Allocating a new cluster triggers a scan of the FAT (1 or more reads) and update. Which takes time. Dependent on the state of the file system.
    16 replies | 327 view(s)
No More Results
About UhClem

Basic Information

Statistics


Total Posts
Total Posts
68
Posts Per Day
0.08
Last Post
Emmc 05-19-2019 07:23 PM
General Information
Join Date
12-31-2016