To use STM32 USB as a host to interface any Mass Storage Device, for eg- flash drive, or a SD card, we need to use USB as a Mass Storage Class (MSC)..
card
STM32 USB MSC
we will cover how to use USB Mass Storage Class (MSC) in STM32. There will be two parts to this tutorial. In the first part we will allocate the RAM as msc
How to LOG Sensors data into SD card
We will read the data from Potentiometre, which is connected via ADC, also read from DHT11 temperature sensor, and we will write this data to the SD card
Interface SD CARD with SDIO in STM32
We will start by setting up the CubeMx first. So select the SDIO and than select 4 bit bus, and leave everything else unchanged.