Skip to content

ESP32-P4 v1.0 Silicon idf 5.5 (master) i2c communications issue. (IDFGH-14623) #15374

Closed
@csalinasonline

Description

@csalinasonline

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

ESP32-P4 v1.0 Silicon idf 5.5 (master) i2c communications issue.

General issue report
I am using esp-idf 5.5 via master branch (https://github.com/espressif/esp-idf.git).

I have new ESP32-P4 v1.0 Silicon.
Before I had v0.1 Silicon. Working on a prototype that mirrors most of the hardware on ESP32-P4-eval board.
I am also using example project 'i2c_basic' in sdk (esp-idf/examples/peripherals/i2c/i2c_basic)

Since changing to ESP32-P4 v1.0 Silicon I have issues with i2c communications this new chip.
I get this error:
I (104) example: I2C initialized successfully
E (204) i2c.master: s_i2c_synchronous_transaction(924): I2C transaction failed
E (264) i2c.master: clear bus failed.
E (264) i2c.master: i2c_master_transmit_receive(1227): I2C transaction failed
ESP_ERROR_CHECK failed: esp_err_t 0x103 (ESP_ERR_INVALID_STATE) at 0x4000be60
--- 0x4000be60: app_main at /home/xxx/esp/esp-idf-master-xxx/examples/peripherals/i2c/i2c_basic/main/i2c_basic_example_main.c:84 (discriminator 1)

But ESP32-P4 v0.1 Silicon works fine?
I (94) main_task: Calling app_main()
I (94) example: I2C initialized successfully
I (94) example: WHO_AM_I = 0
I (94) example: I2C de-initialized successfully

Please look at my attached log files, old (p4_Silicon_v0.1_i2c_basic_debug_log.txt) vs new (p4_Silicon_v1.0_i2c_basic_debug_log.txt) silicon log, and sdkconfig below.

Please advise.

p4_Silicon_v0.1_i2c_basic_debug_log.txt

p4_Silicon_v1.0_i2c_basic_debug_log.txt

sdkconfig.txt

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions