USB on ESP32 proof of concept @espressif

User avatar
rudi ;-)
Posts: 1727
Joined: Fri Nov 13, 2015 3:25 pm

USB on ESP32 proof of concept @espressif

Postby rudi ;-) » Mon Feb 19, 2018 1:53 am

hi guys

in the past there was several speaking about this theme USB on ESP32.
also, that there is speaking about a proof of concept in espressif team.
is there a public saying to this possible and how success is the proof of concept.
can you talk about, better, can you show us this proof of concept by example code for testings?

i ask this not unfounded, i miss USB device on esp32 and i did in the past several work on this.
some things works - some things are not usefull. also i hoped for a LAB ESP USB host concept, but this is more more work.

since i found for me a cheap usefull DSP and saw, that this MCU has USB Host and USB Device ( USB Audio ) and is very cheap,
this ESP32 USB work paused and i would use then for design work with ESP32 and using USB this cheap MCU from now,
my favority is the QE32 Version.

if there is any USB work in the pipe at espressif, please let me know.
thank you

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ESP_Sprite
Posts: 9708
Joined: Thu Nov 26, 2015 4:08 am

Re: USB on ESP32 proof of concept @espressif

Postby ESP_Sprite » Mon Feb 19, 2018 6:43 am

Yes, we are keeping USB in mind; the current plan is to add hardware support for it in the next chip (as usual, however: no guarantees that we'll actually succeed in this.) The proof of concept you were talking about is mine: I still should clean it up and post it. At the moment it still is pretty shitty, as in it only enumerates at low-speed half of the time... but I'm not sure if I have time to improve on it.

User avatar
Vader_Mester
Posts: 300
Joined: Tue Dec 05, 2017 8:28 pm
Location: Hungary
Contact:

Re: USB on ESP32 proof of concept @espressif

Postby Vader_Mester » Mon Feb 19, 2018 8:21 am

This sounds very interesting! Looking forward to see the code.

Code: Select all

task_t coffeeTask()
{
	while(atWork){
		if(!xStreamBufferIsEmpty(mug)){
			coffeeDrink(mug);
		} else {
			xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
			xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
		}
	}
	vTaskDelete(NULL);
}

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 59 guests