Skip to main content
added 258 characters in body
Source Link

I have an esp32-S2 saola and I am trying to use it as a MIDI usb device. I am trying to use this github repository: https://github.com/chegewara/EspTinyUSB. I am able to run the code on the esp32s2 saola and I am connecting to a mac with a USB cable to pins 19 and 20 but don't get any MIDI input in my computer (mac), in fact my computer is not recognizing the device.

So I guess my actual question is about how to get the esp32s2 recognized as a USB device by the mac. Any clues of what might be happening? Or should connecting  to pins 19 and 20 be enough and I am dealing with a hardware bug?

For the usb cable I took a usb only-power cable apart and then rewired it so it was only data (two middle cables connected to pins 19 and 20). As it was not working I then connected also the usb's power and ground cables with no luck:

Soldered USB for esp32-S2

EDIT: This the documentation for the USB driver on the esp32-S2 and why I think the power cables might not be needed at all (which I tried but didn't work): https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/usb.html

I have an esp32-S2 saola and I am trying to use it as a MIDI usb device. I am trying to use this github repository: https://github.com/chegewara/EspTinyUSB. I am able to run the code on the esp32s2 saola and I am connecting to a mac with a USB cable to pins 19 and 20 but don't get any MIDI input in my computer (mac), in fact my computer is not recognizing the device.

So I guess my actual question is about how to get the esp32s2 recognized as a USB device by the mac. Any clues of what might be happening? Or should connecting  to pins 19 and 20 be enough and I am dealing with a hardware bug?

For the usb cable I took a usb only-power cable apart and then rewired it so it was only data (two middle cables connected to pins 19 and 20). As it was not working I then connected also the usb's power and ground cables with no luck:

Soldered USB for esp32-S2

I have an esp32-S2 saola and I am trying to use it as a MIDI usb device. I am trying to use this github repository: https://github.com/chegewara/EspTinyUSB. I am able to run the code on the esp32s2 saola and I am connecting to a mac with a USB cable to pins 19 and 20 but don't get any MIDI input in my computer (mac), in fact my computer is not recognizing the device.

So I guess my actual question is about how to get the esp32s2 recognized as a USB device by the mac. Any clues of what might be happening? Or should connecting  to pins 19 and 20 be enough and I am dealing with a hardware bug?

For the usb cable I took a usb only-power cable apart and then rewired it so it was only data (two middle cables connected to pins 19 and 20). As it was not working I then connected also the usb's power and ground cables with no luck:

Soldered USB for esp32-S2

EDIT: This the documentation for the USB driver on the esp32-S2 and why I think the power cables might not be needed at all (which I tried but didn't work): https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/usb.html

Source Link

How to get the esp32s2 recognized as USB device?

I have an esp32-S2 saola and I am trying to use it as a MIDI usb device. I am trying to use this github repository: https://github.com/chegewara/EspTinyUSB. I am able to run the code on the esp32s2 saola and I am connecting to a mac with a USB cable to pins 19 and 20 but don't get any MIDI input in my computer (mac), in fact my computer is not recognizing the device.

So I guess my actual question is about how to get the esp32s2 recognized as a USB device by the mac. Any clues of what might be happening? Or should connecting  to pins 19 and 20 be enough and I am dealing with a hardware bug?

For the usb cable I took a usb only-power cable apart and then rewired it so it was only data (two middle cables connected to pins 19 and 20). As it was not working I then connected also the usb's power and ground cables with no luck:

Soldered USB for esp32-S2