These are chat archives for nebrius/raspi-io
@nebrius Any reason I'd be getting:
Error: EIO: i/o error, write at Error (native) at Object.fs.writeSync (fs.js:780:20) at Bus.i2cWriteSync (/home/pi/dev/dome-bot/node_modules/i2c-bus/i2c-bus.js:340:13) at I2C.writeSync (/home/pi/dev/dome-bot/node_modules/raspi-i2c/lib/index.js:332:34) at Raspi.i2cWrite (/home/pi/dev/dome-bot/node_modules/raspi-io/lib/index.js:559:19) at Strip.Controllers.I2CBACKPACK.show.value (/home/pi/dev/dome-bot/node_modules/node-pixel/lib/pixel.js:281:26) at Timeout._repeat (/home/pi/dev/dome-bot/bot.js:117:18) at Timeout.wrapper [as _onTimeout] (timers.js:417:11) at tryOnTimeout (timers.js:224:11) at Timer.listOnTimeout (timers.js:198:5)
On some I2C writes. Oddly it's not happening all the time.
Raspio is doing direct I2C work with 2 items on the I2C bus (a nodepixel backpack and a new HCSR04 Array backpack I'm building). In addition I have a USB Uno which has some sensors etc of it's own and it driving a servo.
@fivdi should be - either of the backpacks should be plenty fast enough and I've never seen any issues with them individually on an RPi previously.
It's consistently either
at I2C.writeSync or
at I2C.readSync that seems to cause the issue and if I up the speed data read / write to very high levels it occurs more frequently.