Folks, i noticed a strange behavior of the MCC118 with my Pi Zero 2W. Upon installation of the library, it reported "Expected I2C bus (i2c-3) not found." (Note, i2c and spi were enabled with raspi-config.) Trying to run sudo single_value_read resulted in "Error: There was a timeout while obtaining a resource lock". After some experiments, I executed sudo daqhats_read_eeproms, it successfully read the eeprom and subsequent sudo single_value_read produced adequate voltage readings. After turning the Pi (and the hat) off, then turning back on after several days, same problem: sudo single_value_read resulted in "Error: There was a timeout while obtaining a resource lock". Calling sudo daqhats_read_eeproms produced expected results, but the sudo single_value_read still no-go. After rebooting sudo single_value_read is working. After brief turning off and on - still working. It seems that it is somehow failing after being off for a while. Not sure what's going on...
Question
Servelop
Folks, i noticed a strange behavior of the MCC118 with my Pi Zero 2W. Upon installation of the library, it reported "Expected I2C bus (i2c-3) not found." (Note, i2c and spi were enabled with raspi-config.) Trying to run sudo single_value_read resulted in "Error: There was a timeout while obtaining a resource lock". After some experiments, I executed sudo daqhats_read_eeproms, it successfully read the eeprom and subsequent sudo single_value_read produced adequate voltage readings. After turning the Pi (and the hat) off, then turning back on after several days, same problem: sudo single_value_read resulted in "Error: There was a timeout while obtaining a resource lock". Calling sudo daqhats_read_eeproms produced expected results, but the sudo single_value_read still no-go. After rebooting sudo single_value_read is working. After brief turning off and on - still working. It seems that it is somehow failing after being off for a while. Not sure what's going on...
Alex.
fix typos ad grammar
Link to comment
Share on other sites
12 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now