Skip to main content
bkwak
Associate
June 17, 2020
Solved

I can't control I2C4 for STMPIC1 from u-boot.

  • June 17, 2020
  • 1 reply
  • 1268 views

We made device tree for u-boot of stm32151c. But it can't work i2c4 for STPMIC1.

PZ4,PZ5 is correctly connected to STMPIC1 with pull-up resistance.

SDA,SCL has no signal.

Attached is a device tree file.

Please let me know what additional point to review.

u-boot log message.

************************************************************

U-Boot SPL 2018.11-stm32mp-r4 (Jun 17 2020 - 11:05:13 +0900)

Model: STMicroelectronics custom STM32CubeMX board

RAM: DDR3-DDR3L 16bits 533000Khz

stpmic1_read: failed to read register 0x27 : -110ddr power init failed

resetting ...

U-Boot SPL 2018.11-stm32mp-r4 (Jun 17 2020 - 11:05:13 +0900)

Model: STMicroelectronics custom STM32CubeMX board

RAM: DDR3-DDR3L 16bits 533000Khz

stpmic1_read: failed to read register 0x27 : -110ddr power init failed

resetting ...

************************************************************

This topic has been closed for replies.
Best answer by PatrickF

Hello, did you look at https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure ?

It recommend for I2C4 STPMIC node and "Pwr" to pick up from the TF-A device tree of the ST reference boards.

Btw, for better support, we recommend to use Trusted boot (TF-A and uBoot) and avoid using uBoot SPL Basic boot chain (see https://wiki.st.com/stm32mpu/wiki/Boot_chains_overview#Boot_chains_features_set).

1 reply

PatrickF
PatrickFBest answer
Technical Moderator
June 17, 2020

Hello, did you look at https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure ?

It recommend for I2C4 STPMIC node and "Pwr" to pick up from the TF-A device tree of the ST reference boards.

Btw, for better support, we recommend to use Trusted boot (TF-A and uBoot) and avoid using uBoot SPL Basic boot chain (see https://wiki.st.com/stm32mpu/wiki/Boot_chains_overview#Boot_chains_features_set).

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.NEW ! Sidekick STM32 AI agent, see here