ESP32 s3 super mini No SPI output #12248
GrayFox69
started this conversation in
Question - Community Help
Replies: 1 comment
|
The fundamental point you are missing here is to understand that in the Arduino-ESP32 core, the USB interface on ESP32-S3 is hard-wired to act as the Serial/REPL console by default, so it can’t be reused for PPP at the same time. If you want PPP over USB, you’ll need to disable USB CDC for logging and move the console to a UART, then use TinyUSB (USB-NET / CDC-ECM or RNDIS) instead. The Arduino core doesn’t expose this cleanly yet, so this is much easier in ESP-IDF, where CONFIG_ESP_CONSOLE_USB_CDC can be turned off and USB networking enabled explicitly. So this isn’t a hardware issue — it’s a limitation of the Arduino core’s USB stack. For PPP/USB networking, ESP-IDF is currently the practical path. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I created a custom DRV8912-Q board and wanted to controll it directly via ESP32 SPI. I wrote all the code and uploaded it checked that all of the wiers are correctly soldered and that the ESP32 board MUX pins for SPI are 10,11,12,13.
But when I checked with an osciloscope there was no change on any of the SPI wiers.
Here is the code:
And the custom board schematic where SPI pins are connected accordingly, NFault is latched high and connected to other ESP32 pins for fault detection and NSleep is latched high by the ESP32 I/O functions, it wakes up the 12 halfbridge chip.
I Have tried different pins and tweking the code to hell but nothing works, one other thing the terminal when connected to esp32 while powered on shows that its sending data and reading registers but the 12 h-bridge driver is not reacting and there is no voltage on the motor side pins.
P.S.
Sorry some of the parts, mainly sentences printed in terminal, are in Latvian
All reactions