I'm trying to use another Pico as a PWMWorker, but I got these errors in log. I flashed the pwmworker firmware, connected GPIO 26, GPIO 27 (added 2 resistors (2.7Kohm) for SCL and SDA also) to main Pico i2c1. PWM pico is powered with USB cable.
What could be wrong here?
Thanks
===========================================
PinscapePico v0.1.15, build 202506261003
0000/01/01 00:00:00 Info: Flash JEDEC ID recognized as Winbond W25Q16JV-IQ/JQ, capacity 2097152 bytes
0000/01/01 00:00:00 Info: SFDP basic parameters table found, capacity entry found [4:7]{ ff ff ff 00 }, 2097152 bytes
0000/01/01 00:00:00 Info: Flash file system mounted; 270336 bytes allocated to 5 files
0000/01/01 00:00:00 Debug: File "config.json" opened for read, 34457 us
0000/01/01 00:00:00 Config: Config file loaded OK; parsed JSON memory usage: 11,984 bytes
0000/01/01 00:00:00 Info: I2C0 bus reset OK, 0 clocks sent
0000/01/01 00:00:00 Config: I2C0 configured on SDA=GP20, SCL=GP21; speed: 400000; DMA channels: TX 0, RX 1
0000/01/01 00:00:00 Info: I2C1 bus reset OK, 0 clocks sent
0000/01/01 00:00:00 Config: I2C1 configured on SDA=GP2, SCL=GP3; speed: 400000; DMA channels: TX 2, RX 3
0000/01/01 00:00:00 Config: workerPico[0] configured on I2C1 addr 0x30
0000/01/01 00:00:00 Error: WorkerPico[0]: I2C error requesting register reset (CTRL0_RESET_REGS)
0000/01/01 00:00:00 Error: WorkerPico[784]: I2C error reading device ID registers
0000/01/01 00:00:00 Error: WorkerPico[784]: I2C error setting PWM frequency
0000/01/01 00:00:00 Error: WorkerPico[0], I2C1 address 0x30: device initialization failedrkerPico[0]
0000/01/01 00:00:00 Info: LIS3DH: WHO_AM_I (reg 0x0F)=0x33 (OK)
0000/01/01 00:00:00 Config: LIS3DH device initialization OK; I2C0 address 0x19, interrupt GP17, dynamic range +/- 2g
0000/01/01 00:00:00 Config: Pico ADC configured; 1 channel, GPIO 28,
0000/01/01 00:00:00 Config: Open Pinball Device HID configured
0000/01/01 00:00:00 Config: USB CDC console enabled, output buffer size 8192, history size 256
0000/01/01 00:00:00 Config: Button 0: Pushbutton created, action Key(0xE0), source GP15, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 1: Pushbutton created, action Key(0xE1), source GP14, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 2: Pushbutton created, action Key(0x22), source GP13, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 3: Pushbutton created, action Key(0x1E), source GP12, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 4: Pushbutton created, action Key(0x1F), source GP11, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 5: Pushbutton created, action Key(0x29), source GP10, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 6: Pushbutton created, action Key(0x1B), source GP9, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 7: Pushbutton created, action Key(0xE5), source GP19, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 8: Pushbutton created, action Key(0x28), source GP22, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Button 9: Pushbutton created, action Key(0x15), source GP16, shift(mask 00, bits 00)
0000/01/01 00:00:00 Config: Output[1]: device GP18 [Digital], time limit 50000, reduced power 0, cooling 0
0000/01/01 00:00:00 Error: WorkerPico[0]: I2C error writing CONFn for port 16
0000/01/01 00:00:00 Error: WorkerPico[0]: I2C error writing LIMITn, TIMELIMITn for port 16
0000/01/01 00:00:00 Config: Output[2]: device WorkerPico[0] OUT16, time limit 50000, reduced power 0, cooling 0
0000/01/01 00:00:00 Config: Nudge device: LIS3DH selected as accelerometer input
0000/01/01 00:00:00 Debug: File "lis3dh.acc" opened for read, 134 us
0000/01/01 00:00:00 Config: Nudge input configured on LIS3DH; nudge x = device +X, y = +Y, z = +Z
0000/01/01 00:00:00 Config: Plunger: Potentiomter(Pico on-board ADC channel 0) sensor source selected
0000/01/01 00:00:00 Info: Pico ADC configured; clock div 95.00, DMA channels 4,5, round-robin mask 0x04
0000/01/01 00:00:00 Debug: File "PotPlunger.cal" opened for read, 124 us
0000/01/01 00:00:00 Config: Plunger configured, sensor data source is Potentiomter(Pico on-board ADC channel 0)
0000/01/01 00:00:00 Debug: Keyboard rollover error
0000/01/01 00:00:00 Info: Kb LED 01
Edited by parallaxx, 29 June 2025 - 09:00 PM.