I've been using a 2017 Macbook Air (Intel silicon) to connect to an Arduino via USB. The Arduino is embedded in a system which has a 5vdc power supply which powers the Arduino during normal operation. When I connect via USB to the laptop (to download a new sketch or monitor the system status), there is a potential conflict between the system's 5vdc supply and the 5vdc power from the USB. To handle this, I put a diode between the system's supply and the USB power pin. When the system is operating normally, the Arduino is powered from the system's 5vdc, with a 0.5v or so diode drop. When I connect the USB, the diode is turned off, since there's 5vdc at both terminals, and the Arduino is powered from the USB port. This has been working well.
However, I recently upgraded to an Apple-silicon Macbook Air. Now, if I connect the laptop to the Ardiuno, while the system is powered (from it's own 5vdc supply), the Macbook's USB port turns off; the 5vdc signal from the USB port to the Arduino is disabled, and the port is not seen from within the Arduino development environment (running on the Macbook). If I turn off the system's 5vdc supply, the USB connection works as expected. Evidently, the Macbook detects that there's power on the Arduino end of the USB connection and shuts the port off. This is unacceptable, as I need to be able to monitor the Arduino's status, without first powering it down and losing any volatile state.
I seek suggestions for how to deal with this. Is there a way to disable this USB port behavior from the Macbook's settings ? Would an isolator such as https://www.amazon.com/DEVMO-USB-AD...-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1 help ?
P.S. For more detail on this, a couple of threads at the Adafruit forums may be of interest: https://forums.adafruit.com/viewtopic.php?p=1008130#p1008130 and https://forums.adafruit.com/viewtopic.php?t=142737&hilit=usb
However, I recently upgraded to an Apple-silicon Macbook Air. Now, if I connect the laptop to the Ardiuno, while the system is powered (from it's own 5vdc supply), the Macbook's USB port turns off; the 5vdc signal from the USB port to the Arduino is disabled, and the port is not seen from within the Arduino development environment (running on the Macbook). If I turn off the system's 5vdc supply, the USB connection works as expected. Evidently, the Macbook detects that there's power on the Arduino end of the USB connection and shuts the port off. This is unacceptable, as I need to be able to monitor the Arduino's status, without first powering it down and losing any volatile state.
I seek suggestions for how to deal with this. Is there a way to disable this USB port behavior from the Macbook's settings ? Would an isolator such as https://www.amazon.com/DEVMO-USB-AD...-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1 help ?
P.S. For more detail on this, a couple of threads at the Adafruit forums may be of interest: https://forums.adafruit.com/viewtopic.php?p=1008130#p1008130 and https://forums.adafruit.com/viewtopic.php?t=142737&hilit=usb