My lead has asked me to design a USB interface for a solar power manager(SPM) and this interface will take data from SPM and send it on USB to a another Microcontroller based device for Data-Logging. My efforts were to use a STM32F042 for SPM as it is capable of supporting USB device interface. Earlier I have only worked with USB/UART bridges solely for PC interfacing which required a driver on host side to acknowledge incoming data, so am not sure if stm32f042 can be used or not for interfacing with Data-logger System on USB. Please guide