The USB Data Logger template application shows how to record analog and digital data on an attached MicroSD card. To read the data on a PC, the application implements a composite USB device supporting the Human Interface Device (HID) and Mass Storage Class (MSC). The HID class enables the application to be controlled via a PC based application to start and stopp the recording of the data. These middleware components are used:
- USB for communication with the PC
- File System for data storage on the MicroSD card
For the USB communication with the PC, a USB CMSIS-Driver is required, whereas the MicroSD card is connected to the application via an SPI CMSIS-Driver.
This video explains some of the application's details: