I2C not working pro...
 
Notifications
Clear all

I2C not working properly

19 Posts
2 Users
0 Reactions
47 Views
 ryf
(@ryf)
Active Member
Joined: 5 days ago
Posts: 9
Topic starter  

I still don't get how to change the i2c Adress.

After setting: sudo i2cset -y 1 0x6b 0x00 0x50

what to do else / is there any "store to eprom" action needed?
When i read back the address, i receive 0x50, but the address does not change, even after reboot.


   
ReplyQuote
(@piadmin)
Member Admin
Joined: 6 years ago
Posts: 105
 

@ryf 

After that command it is automatic stored in the MCU EEPROM, without any action from your side.

It will restart the PIco and it will be visible as a new address base.

HOWEVER

You must correct the pico script to the new address, and reload it.

It is ultra easy, just  one change is needed on top.

Then restart the whole system (Raspberry Pi + PIco), and should see the LED blinking as before

Check with i2cdetect - y -1 to see what address are available

Keep me informed. 

My Best Regards

Pi Master


   
ReplyQuote
 ryf
(@ryf)
Active Member
Joined: 5 days ago
Posts: 9
Topic starter  

After Reboot i have 0x00 in this register and the addresses are still on 6x

--> see image attached.


   
ReplyQuote
(@piadmin)
Member Admin
Joined: 6 years ago
Posts: 105
 

@ryf 

After reboot, this register must be 0x00. Normally the PIco should re-boot itself after that command, and flashing 3 times with LEDs.

The provided results show me that the system accepted the command, but not run it.

I will setup workbench tomorrow evening, now is too late for that, here in Greece is 00:00.

I never received such bug report, so much check and see if it is yours mistake or mine.

Have a nice night, talk again tomorrow evening

My Best Regards

PiM

This post was modified 5 hours ago by PiAdmin

   
ReplyQuote
Page 2 / 2
Share: