Re: STM32 SDIO support
Ole Reinhardt <ole.reinhardt-L1vi/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.ethernut |
|---|---|
| Message-ID | <[email protected]> |
Hi Uwe, Am 07.10.2015 11:07, schrieb Uwe Bonnes: >>>>>> "Ole" == Ole Reinhardt <ole.reinhardt-L1vi/[email protected]> writes: > No, I did not start. Things that kept me from starting: > - other work :-) > - I think we don't have a clean SDIO interface, if we have a defined SDIO > interface at all. That's true. Wo do not yet have any API that does an SDIO interface abstraction. But on the LPCs I just use SDIO to communicate with SD-Cards. I first would try to write a SDIO interface driver for STM32 as well and then try to create a new generic API, so that we write generic SDIO client drivers, e.g. for SD Cards etc. > - there is no app/sdio challenging and demonstrating basic functionality of > a SDIO driver to allow driver development and verification. The SD Card driver for the LPC is splittet in two parts. One for the SDIO interface (lpc177x_8x_mci.c) and one for the SD Card block device implementation (lpc177x_8x_mmcard_sdio.c). Currently this is still very much lpc specific (taken from the LPC sources). But should be a good starting point for a general implementation. > So please, go on. If you need help with the basic STM32 infracturture, like > pin multiplexing or DMA, please let me know. SDIO is special w.r.t. DMA, as > SDIO determines the number of transfers while in all other cases the number > is set by the program. The STM32 DMA interface may not cope with that > feature. I will keep you up to date. Best regards, Ole -- kernel concepts GmbH Tel: +49-271-771091-14 Sieghuetter Hauptweg 48 Mob: +49-177-7420433 D-57072 Siegen http://www.embedded-it.de http://www.kernelconcepts.de _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion