Dusan Kodzopeljic
Dusan Kodzopeljic

Reputation: 27

Read / Write a USB Stick with STM32F103C8

I'm trying to read/write data to a USB flash drive.

I have read in the reference manual that STM32F103xx has a USB peripheral but can only act as a device in the communication. From what I understood, I need it to act as a host. Is there anyway to do this operation without USB to UART converters as I'm trying to be more efficient(in a financial sense).

I seem to find no clue on the internet regarding this particular MCU. If this can be done only with a UART converter, please show me where to look.

Thank you!

Upvotes: 0

Views: 1913

Answers (2)

کامیاب
کامیاب

Reputation: 1

You might consider using sdcard for your project

Upvotes: 0

Dusan Kodzopeljic
Dusan Kodzopeljic

Reputation: 27

As multiple people pointed out, STM32F103C8 can't be a host in the USB communication protocol, therefore the transfer of data cannot be done.

I made a mistake when I thought the USB to UART converter will solve the problem. The converter doesn't have a mass storage protocol implemented on it, therefore it cannot read the data.

See the comments for answers.

Upvotes: 0

Related Questions