vr5510 i2c

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

vr5510 i2c

1,794 次查看
jiajun
Contributor III

Hi,

Recently I am debugging the VR5510, and I have some questions.

In "Multi-output PMIC with SMPS and LDO"Section 23 of the document,we can see the I2C message format and communications format

jiajun_0-1724758997440.png

jiajun_1-1724759098170.png

Then I sent my own debugging commands following the communication format,I read a size of 8 bytes

jiajun_2-1724759155548.png

So,here's my question:

1. Am I reading the data correctly?

2. By message format,should be reading 2 bytes of data,so is the data I grabbed from the third to the eighth valid, and if so, please tell me what he represents

My environments:

S32G-VNP-RBD3, S32DS 3.5 

S32G-VNP-RDB3 VR5100 S32G3 

 

0 项奖励
回复
3 回复数

1,760 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi,

1. Based on the waveform, it appears you are following the correct I2C sequence for writing a register address and then reading from it. You issue a write to set the register address (0x01 - M_MODE) and then you issue a read command, which is correctly acknowledged by the device. The read sequence also shows that each byte is acknowledged by the master, which is a good sign.

2. Why are you reading 8 bytes? Only 2 bytes should be read as specified in the datasheet. The M_MODE register as well as other registers are 2 bytes wide.

It is always a good practice to read at first the M_DEVICEID register.

BRs, Tomas

0 项奖励
回复

1,766 次查看
jiajun
Contributor III
Hi,
In S32G,is there an example demonstrating control of the VR5510
0 项奖励
回复

1,757 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi,

It should be provided under the S32G RTD packages. 

We also offer the VR5510 generic SW driver with examples, you can download it from:

https://www.nxp.com/products/power-management/pmics-and-sbcs/pmics/multi-channel-9-pmic-for-s32g-pro...

Screenshot 2024-08-28 093725.png

BRs, Tomas

0 项奖励
回复