Skip to content

Commit

Permalink
nxphlite-v3:SDIO DMA working.
Browse files Browse the repository at this point in the history
   The fix ix in nuttx. This is just the defconfig changes to use
   it.

   There were 2 problems. The first was that the interrupt did
   test DINT and raise a completion events. But since DINT is
   just an indication of DMA completion, TC is a valid way to
   determine that the transfer is complete.

   The second problem is that Software Reset For DAT Line
   SDHC_SYSCTL[RSTD] clears the bits 24-0 in SDHC_PROTO
   this looses the wide bus setting DTW
  • Loading branch information
David Sidrane committed Jul 23, 2018
1 parent a928c29 commit 6215117
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion platforms/nuttx/NuttX/nuttx
Submodule nuttx updated from b943b5 to 3e79b5
6 changes: 3 additions & 3 deletions platforms/nuttx/nuttx-configs/nxphlite-v3/nsh/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ CONFIG_KINETIS_LPTIMER=y
CONFIG_KINETIS_RTC=y
# CONFIG_KINETIS_EWM is not set
# CONFIG_KINETIS_CMT is not set
# CONFIG_KINETIS_USBOTG is not set
# CONFIG_KINETIS_USBOTG is not set
CONFIG_KINETIS_USBDCD=y
# CONFIG_KINETIS_LLWU is not set
# CONFIG_KINETIS_TSI is not set
Expand Down Expand Up @@ -283,7 +283,7 @@ CONFIG_KINETIS_PORTEINTS=y
#
# Kinetis SDHC Configuration
#
# CONFIG_KINETIS_SDHC_DMA is not set
CONFIG_KINETIS_SDHC_DMA=y
# CONFIG_KINETIS_SDHC_WIDTH_D1_ONLY is not set
# CONFIG_KINETIS_SDHC_ABSFREQ is not set

Expand Down Expand Up @@ -615,7 +615,7 @@ CONFIG_MMCSD_MMCSUPPORT=y
CONFIG_MMCSD_HAVECARDDETECT=y
# CONFIG_MMCSD_SPI is not set
CONFIG_ARCH_HAVE_SDIO=y
# CONFIG_SDIO_DMA is not set
CONFIG_SDIO_DMA=y
# CONFIG_ARCH_HAVE_SDIOWAIT_WRCOMPLETE is not set
CONFIG_MMCSD_SDIO=y
# CONFIG_SDIO_PREFLIGHT is not set
Expand Down

0 comments on commit 6215117

Please sign in to comment.