Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stmhal: Add DMA support for sdcard #1625

Closed
wants to merge 3 commits into from

Commits on Nov 16, 2015

  1. stmhal: Put IRQs into priority order.

    - added some comments to explain the priority/sub-priority.
    - adds an entry for SDIO (to be used in a later patch)
    - increases DMA priority above USB so that DMA can be used
      for sdcard I/O when using USB Mass Storage.
    dhylands committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    1fd6405 View commit details
    Browse the repository at this point in the history
  2. stmhal: Turn off DMA clocks when idle for 100 msec

    Turning on each DMA block increases the current consumption
    by about 8 mA. This code adds an idle timer for each DMA
    block and turns off the clocks when no streams are in use
    for 128 msec. Having a small timeout allows for improved
    performance when back-to-back transfers are being performed.
    
    The 128 msec is basically a guess.
    dhylands committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    a1ebf69 View commit details
    Browse the repository at this point in the history
  3. stmhal: Add dma support for sdcard.

    This started out using IgorLektorovEpam work in PR micropython#1389
    and reworked it.
    dhylands committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    445f4bd View commit details
    Browse the repository at this point in the history