Skip to content

Pi5: i2c1: Max clock can only reach 650kHz despite being configured for 1MHz #5792

Closed
@JinShil

Description

@JinShil

Describe the bug

On the Pi 5, despite configuring the i2c1 device tree overlay for 1MHz, the clock can only reach 650kHz. See the following oscilloscope capture:

image

On the CM4, the same settings result in a true 1MHz clock signal.

Steps to reproduce the behaviour

  1. Add dtoverlay=i2c1,pins_2_3,baudrate=1000000 to config.txt file and reboot
  2. Write a C program using the <linux/i2c-dev.h> API
  3. Observe the clock signal on an oscilloscope

Device (s)

Pi5 (By the way, the GitHub bug report template does not include the Pi 5)

System

Bookworm kernel versions 6.1.63 and 6.6.5

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions