This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SD/MMC 8-bits with Cortex-M4 (LPC4337)

Hello,

I'm working on a new design based on the Cortex-M4 LPC4337 (NXP)
On my board, there is a e-MMC Memory (MTFC4GMDEA-1M WT) with 8-bit data interface.
My µVision version is 4.74 and I'm using the driver SDIO_LPC43xx.c.
I'm selecting the Memory Card Drive 0 with the SD-Native Bus Mode.
But the finit() function is always failing.

Any suggestions? is the 8-bit interface the problem ?

regards,
Jean-Marc

Parents
  • Well you should still be able to read a schematic, and walk through the connectivity.

    Ensure all the pins are connected to the right/equivalent connections on the card. Confirm the pin designations on the LPC match the documentation for the chip. Confirm all the pins are configured correctly on the software side, that GPIO bank clocks are enabled, and pin modes/peripheral association are right. Check pull-up/down settings, or if external resistors are present, and of the correct value.

    Stick a scope or logic analyzer on the pins, review the signals.

    Download an SD/MMC specification, review that with respect to the commands / signals used.

    Evaluate on hardware where the interface works (dev board).

Reply
  • Well you should still be able to read a schematic, and walk through the connectivity.

    Ensure all the pins are connected to the right/equivalent connections on the card. Confirm the pin designations on the LPC match the documentation for the chip. Confirm all the pins are configured correctly on the software side, that GPIO bank clocks are enabled, and pin modes/peripheral association are right. Check pull-up/down settings, or if external resistors are present, and of the correct value.

    Stick a scope or logic analyzer on the pins, review the signals.

    Download an SD/MMC specification, review that with respect to the commands / signals used.

    Evaluate on hardware where the interface works (dev board).

Children