S32G3 PMIC I2C Mapping

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32G3 PMIC I2C Mapping

跳至解决方案
1,504 次查看
timk2024
Contributor III

We are running into issues with a custom board based on the S32G3.

We are booting from an SD card and are able to verify that the SD card is loaded by toggling a GPIO pin via the DCD. The S32G3, however, resets itself after some time. We traced this to the S32G3 not petting the watchdog on the VR5510. Comparing the I2C lines on our board with the RDB3 eval board shows that there is no activity on ours while the RDB3 performs several operations with the VR5510. We noticed that the PMIC is connected to I2C4 on the RDB3, while on our board it is connected to I2C1.

Referencing the S32G3 Hardware Design guide (page 7) it is suggested that any I2C Instance can be used to control the PMIC. I have not been able to find documentation on how to switch the I2C Instance in the technical reference manual. How would we switch the PMIC interface from I2C4 to I2C1?

标记 (3)
0 项奖励
回复
1 解答
1,467 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which BSP are you working with?

Overall, the changes should be made under the DTB of ATF, in which under the i2c4 you should see the VR5510 being referenced. On your specific case, you should move it to the i2c1 node:

DanielAguirre_0-1723128351378.png

Please, let us know.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,468 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which BSP are you working with?

Overall, the changes should be made under the DTB of ATF, in which under the i2c4 you should see the VR5510 being referenced. On your specific case, you should move it to the i2c1 node:

DanielAguirre_0-1723128351378.png

Please, let us know.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1927646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32G3%20PMIC%20I2C%E6%98%A0%E5%B0%84%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1927646%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E4%BB%AC%E5%9C%A8%E4%BD%BF%E7%94%A8%E5%9F%BA%E4%BA%8E%20S32G3%20%E7%9A%84%E5%AE%9A%E5%88%B6%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