AnsweredAssumed Answered

Newbie question on USB access

Question asked by Lyen.Rum on Dec 20, 2015
Hello,

I need to configure SD card (SDIO-FATFS) access from PC through USB and copy files. Which example of STM32_USB-FS-Device_Lib_V4.0.0 should I follow for STM32L ? Is it the "Mass_Storage" example? Should I need to configure anything more for USB connectivity than these lines of code?

int main(void)
{
  Set_System();
  Set_USBClock();
  USB_Interrupts_Config();
  USB_Init();
  while (bDeviceState != CONFIGURED);
  .........

}


Thank you.

Outcomes