Skip to content

drivers: i2c: dw_i2c: i2c read time out on certain type of DW_I2C #98588

@ycsin

Description

@ycsin

Describe the bug

The designware's i2c hardware supports blocking Master commands after reset:
Image

Image

Depending on the hardware configuration, the current DW_I2C driver might be unable to run any TX transaction.

Regression

  • This is a regression.

Steps to reproduce

  1. Compile and run the i2c shell on device with IC_TX_CMD_BLOCK_DEFAULT=1
  2. Perform a i2c read ... command
  3. The command would fail due to timeout

Relevant log output

N/A

Impact

Showstopper – Prevents release or major functionality; system unusable.

Environment

  • Custom Toolchain
  • Zephyr v3.7.0 (current main has the same issue)

Additional Context

No response

Metadata

Metadata

Assignees

Labels

area: I2CbugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions