You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering the exact same issue that another user encountered here: #563
I have an adafruit MCP2221A board that I am controlling via a small Python script. Everything works fine on windows. However, when running on the Pi 4, the entire python runtime hangs when importing board. The hang lasts indefinitely, but if I disconnect the MCP2221 while the issue is occurring, then I get an OSError: read error and the Python runtime exits
I have traced this hang down to a call to _hid_xfer on line 85, which is being called from gp_set_mode which is called from init in mcp2221.py
Note some important details:
-This MCP2221 has been converted to 5V logic level from the base 3.3V. I have a second board which is still at 3.3V, and this one works just fine on the Pi. It is only the board has been converted to 5V that fails (though both boards work fine on a windows machine)
-I went through the setup guide and all sanity checks pass. The board is identified properly if I list USB devices
Unfortunately for the project I am working on I require the 5V logic level (the DAC is being used to drive a power supply to dim some LEDs), so I need to get the 5V board working properly when connected to the RasPi 4.
Thanks
Description
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Board Name
Raspberry Pi 4
Steps
Hi,
I am encountering the exact same issue that another user encountered here: #563
I have an adafruit MCP2221A board that I am controlling via a small Python script. Everything works fine on windows. However, when running on the Pi 4, the entire python runtime hangs when importing board. The hang lasts indefinitely, but if I disconnect the MCP2221 while the issue is occurring, then I get an OSError: read error and the Python runtime exits
I have traced this hang down to a call to _hid_xfer on line 85, which is being called from gp_set_mode which is called from init in mcp2221.py
Note some important details:
-This MCP2221 has been converted to 5V logic level from the base 3.3V. I have a second board which is still at 3.3V, and this one works just fine on the Pi. It is only the board has been converted to 5V that fails (though both boards work fine on a windows machine)
-I went through the setup guide and all sanity checks pass. The board is identified properly if I list USB devices
Unfortunately for the project I am working on I require the 5V logic level (the DAC is being used to drive a power supply to dim some LEDs), so I need to get the 5V board working properly when connected to the RasPi 4.
Thanks
Description
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: