I have integrated a Nano ESP32 into a circuit I designed. and I have difficulty communicating with the Arduino using the USB port on my Apple (Ventura 13.0 running IDE 2.3.2).
The pins that are connected into my circuit are listed below. On the left I list
i) the physical pin name on the Nano ESP32 board starting at 1 on the top left by the USB socket moving anti-clockwise to 30 at top right, then
ii) the Arduino name for that pin and finally
iii) a brief description of what the pin is connected to.
1 D13 SCK of an SPI device (MPS MA780)
2 3V3 Not connected (NC)
3 BOOT0 NC
4 to 9 inc A0 to A5 R-2R network resistors, 3K24 & 1K62 values
10 A6 Gate of a MOSFET via 1K resistor
11 to 13 inc NC
14 GND GND
15 Vin 12V from bench power supply
16 D0 NC
17 D1 NC
18 RST NC
19 GND GND
20 to 24 inc D2-D6 NC
25 D7 Input from IO pin of another ESP32 Nano (common GND)
26 to 27 D8-D9 NC
28 D10 Chip select of SPI device listed above
29 D11 COPI of SPI device
30 D12 CIPO of SPI device
Sometimes the serial communication works just fine, but I often have a complete lack of connection and am unable to select the correct port, since no appropriate port is listed. When I remove the Arduino from my circuit (it is connected by inserting the header pins on the Nano board into a receptacle in my circuit) and try to establish connection, normal service is resumed.
This is how the ports listing looks when the problem manifests. The Mac seems to be aware of the port, but it is not listed as an option to choose.
Apologies for the long post, but if anyone has any ideas of why the problem occurs, I would be very grateful!!