On 1/10/23 01:40, Amitesh Singh wrote:
> Hi Bob,

> I would be interested in your written code related to reading sd card.
> Please share if it's possible for you.
> I've had fun with libopencm3/bluepill while
> makingĀ https://github.com/amitesh-singh/FASTUSBasp
> <https://github.com/amitesh-singh/FASTUSBasp>
> 

One huge difference (among others) between the stm32f4 and stm32f1
devices is that the F4 have an integrated SDIO controller, where the F1
devices do not.   On the F1, you're pretty much restricted to using SPI
to access the SDcard.

(I've written code for both families; (the F4 code done properly using
DMA is actually quite a bit more involved).

If you want to see my F4 code see the module "sdiosubs.c" on Github at
https://github.com/Tubatstuff/Pertec-Interface-Tape-Controller

If you want to see some F1, code, I'll have to rummage around a bit.

Cheers,
--Chuck



_______________________________________________
libopencm3-devel mailing list
libopencm3-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to