Page 1 of 1

Can ESP32 recognize as USB mass Storage?

Posted: Thu Mar 28, 2019 2:18 am
by nzh912
i wish to use ESP32 as an USB mass storage, may i know any idea or suggestion how to archive this ?

Re: Can ESP32 recognize as USB mass Storage?

Posted: Thu Mar 28, 2019 2:36 am
by ESP_Sprite
As the ESP32 does not support USB natively out-of-the-box, I'd suggest finding a chip that can act as an USB host that's e.g. connected over SPI.

Re: Can ESP32 recognize as USB mass Storage?

Posted: Thu Mar 28, 2019 12:38 pm
by Deouss
ESP_Sprite wrote: As the ESP32 does not support USB natively out-of-the-box, I'd suggest finding a chip that can act as an USB host that's e.g. connected over SPI.

Could you or someone suggest such chip/IC ?
I know older usb-flash devices use serial sata-to-usb IC and might be similar to SD card interface in ESP

Re: Can ESP32 recognize as USB mass Storage?

Posted: Thu Mar 28, 2019 3:29 pm
by martinayotte
Deouss wrote:
Thu Mar 28, 2019 12:38 pm
Could you or someone suggest such chip/IC ?
There are boards on the market that use MAX3421 as USB HOST adaptor.

Re: Can ESP32 recognize as USB mass Storage?

Posted: Thu Mar 28, 2019 3:50 pm
by Deouss
martinayotte wrote: There are boards on the market that use MAX3421 as USB HOST adaptor.

Found it) They are selling full module shields
usb host spi on ali

Thanks!

Re: Can ESP32 recognize as USB mass Storage?

Posted: Fri Mar 29, 2019 3:25 am
by nzh912
ESP_Sprite wrote:
Thu Mar 28, 2019 2:36 am
As the ESP32 does not support USB natively out-of-the-box, I'd suggest finding a chip that can act as an USB host that's e.g. connected over SPI.
Thank you ! :D :D

Re: Can ESP32 recognize as USB mass Storage?

Posted: Mon Oct 25, 2021 11:37 am
by mlinaje
With ESP-Sx (S2 and S3) is possible since they have native USB support. No extra HW required