Hey Folks,
I'm using 2 USB Type C Sink 3 Click along with Raspberry pi 4 Board. Both the devices show the same I2C address (i.e., 0x41). How can I change the i2c address of one of the devices, so that I can use it in my project .
and also, how can I use these boards with Raspberry pi, need help on the python program to manually write the values to these 2 devices via I2C.
Regards,
Mohan Krishna N D
i2c devices : USB C Sink 3 Click
-
- Posts: 3
- Joined: 27 Mar 2024 11:05
i2c devices : USB C Sink 3 Click
Thanks and Regards,
Mohan Krishna N D
Mohan Krishna N D
- IvanJeremic
- mikroElektronika team
- Posts: 316
- Joined: 05 Sep 2022 14:32
Re: i2c devices : USB C Sink 3 Click
Hi,
You can find our example code for the USB-C Sink 3 click in the link below with its source where you can find the I2C address:
https://libstock.mikroe.com/projects/vi ... nk-3-click
You can also use the example as a reference when writing your own code for Raspberry.
Regards,
Ivan.
You can find our example code for the USB-C Sink 3 click in the link below with its source where you can find the I2C address:
https://libstock.mikroe.com/projects/vi ... nk-3-click
You can also use the example as a reference when writing your own code for Raspberry.
Regards,
Ivan.
-
- Posts: 3
- Joined: 27 Mar 2024 11:05
Re: i2c devices : USB C Sink 3 Click
Hey Ivan,
Thanks for the comment.
How can I change the I2C address of the click device. I ordered 2 mikroe clickboards ( USB PD Click 3 ) which were having a same I2C addresses.
I wanted to communicate with both the boards at the same time.
Can you please help me with this.
Thanks for the comment.
How can I change the I2C address of the click device. I ordered 2 mikroe clickboards ( USB PD Click 3 ) which were having a same I2C addresses.
I wanted to communicate with both the boards at the same time.
Can you please help me with this.
Thanks and Regards,
Mohan Krishna N D
Mohan Krishna N D
- IvanJeremic
- mikroElektronika team
- Posts: 316
- Joined: 05 Sep 2022 14:32
Re: i2c devices : USB C Sink 3 Click
Hi,
You change the I2C address while initializing the I2C.
The default I2C address is 0x41, you can look at the datasheet of the module in the link below:
https://download.mikroe.com/documents/d ... asheet.pdf
Regards,
Ivan.
You change the I2C address while initializing the I2C.
The default I2C address is 0x41, you can look at the datasheet of the module in the link below:
https://download.mikroe.com/documents/d ... asheet.pdf
Regards,
Ivan.
-
- Posts: 137
- Joined: 02 Jan 2020 19:00
Re: i2c devices : USB C Sink 3 Click
No way...mohankrish864@gmail.com wrote: ↑27 Mar 2024 11:34Hey Folks,
How can I change the i2c address of one of the devices, so that I can use it in my project .
Regards,
Mohan Krishna N D
-
- Posts: 3
- Joined: 27 Mar 2024 11:05
Re: i2c devices : USB C Sink 3 Click
This is incomplete information.IvanJeremic wrote: ↑12 Apr 2024 09:24Hi,
You change the I2C address while initializing the I2C.
The default I2C address is 0x41, you can look at the datasheet of the module in the link below:
https://download.mikroe.com/documents/d ... asheet.pdf
Regards,
Ivan.
Can you elaborate, what are you trying to say. By referring the documentation from your site and the datasheet which you have attached, I could say, there is no way to change I2C address of the device.
If you have the solution, can you please elaborate on that.
Regards,
Mohan
Thanks and Regards,
Mohan Krishna N D
Mohan Krishna N D