How to choose pull-up resistors for SCL and SDA in I2C with four PCAL6524EVs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to choose pull-up resistors for SCL and SDA in I2C with four PCAL6524EVs

Jump to solution
1,536 Views
AlfredXu
Contributor I

Hello

I want to use a MCU to control four PCAL6524EVs which has different address by setting their ADDR pins in one I2C connection. I read the datasheet but can't find the guide to choose the pull-up resistors for SCL and SDA. Is there any suggestion on how many ohms resistors I should use? The operation voltage is 3.3V.

Thank you 

AlfredXu

https://www.nxp.com/part/PCAL6524EV#/

0 Kudos
Reply
1 Solution
1,517 Views
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Alfred,

I hope all is great with you.

In my personal opinion, the correct pull-up resistance value is determined by the I2C line bus capacitance and I generally don’t expect issues with it unless I have an “extreme” number of devices on the I2C bus, the traces are long (more than 30cm) or I have fly wires attached to the circuit. In that case, you may use the following formulas to obtain the minimum and maximum pull-up values:

diazmarin09_0-1658337537324.png

diazmarin09_1-1658337545232.png

 

Where tr (rise time of both SDA and SCL signals) and Cb (capacitive load for each bus line) are in Table 10, VOL (LOW-level output voltage) is at the datasheet of each device and IOL is the  minimum sink current of 3 Ma for Standard-mode and Fast-mode, or 20 Ma for Fast-mode Plus.

Pull-up resistors of 4.7kΩ is a reasonable value for most of the users. Anyway, this value might change based on your design.

Using the PCAL6524EV-ARD as a reference, a 3.3kΩ and 3.3V are used.

 

diazmarin09_2-1658337553447.png

 

I hope this information helps.

Regards,

David

View solution in original post

0 Kudos
Reply
2 Replies
1,514 Views
AlfredXu
Contributor I

Hello,diazmarin09
Thank you for your answer, very helpful.

Best wishes

AlfredXu

0 Kudos
Reply
1,518 Views
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Alfred,

I hope all is great with you.

In my personal opinion, the correct pull-up resistance value is determined by the I2C line bus capacitance and I generally don’t expect issues with it unless I have an “extreme” number of devices on the I2C bus, the traces are long (more than 30cm) or I have fly wires attached to the circuit. In that case, you may use the following formulas to obtain the minimum and maximum pull-up values:

diazmarin09_0-1658337537324.png

diazmarin09_1-1658337545232.png

 

Where tr (rise time of both SDA and SCL signals) and Cb (capacitive load for each bus line) are in Table 10, VOL (LOW-level output voltage) is at the datasheet of each device and IOL is the  minimum sink current of 3 Ma for Standard-mode and Fast-mode, or 20 Ma for Fast-mode Plus.

Pull-up resistors of 4.7kΩ is a reasonable value for most of the users. Anyway, this value might change based on your design.

Using the PCAL6524EV-ARD as a reference, a 3.3kΩ and 3.3V are used.

 

diazmarin09_2-1658337553447.png

 

I hope this information helps.

Regards,

David

0 Kudos
Reply