Skip to main content
Associate III
Nov 21, 2026 4:31 AM UTC
Question

I2C falling time issue

Hello Team,

We have developed custom board using STM32N657 operating with 1.8V. We are configuring I2C2 and I2C4 at 400KHz. As per I2C specification fall time min value is 6.54ns but we are getting 3 to 4ns. We have measured with 4.7K and 10K pull up resistor value. We are measuring with 70% to 30% consideration as per specification.

Rise time is well within I2C specification.

Could you please suggest us any register settings to meet I2C specification?

Thanks

4 replies

TDK
Nov 21, 2026 3:10 PM UTC

Could you please suggest us any register settings to meet I2C specification?

Set the GPIO pin speed to lower values to decrease the drive strength and increase the fall time.

"If you feel a post has answered your question, please click ""Accept as Solution""."
AScha.3
Super User
Nov 21, 2026 3:16 PM UTC

Hi,

so you complain about : the pin switching too fast ?

What pin speed you set ?

For slow signals you should set it to low speed. (00) .Then check again.

And have some capacitive load (10...20PF) on the pin.

If you feel a post has answered your question, please click on " Best Answer ".
kadamAuthor
Associate III
Nov 21, 2026 3:28 PM UTC

Hello Team,

We have set value to low speed. But still we are observing fast fall time.

Thanks

TDK
Nov 21, 2026 3:40 PM UTC

Pin speed setting will have an effect. If it had no effect, you probably didn’t set it correctly or didn’t regenerate code or something.

"If you feel a post has answered your question, please click ""Accept as Solution""."