cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie question on USB access

rumlyen
Associate II
Posted on December 20, 2015 at 06:03

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.
0 REPLIES 0