Help needed with PF5020 I2C slave address for reading device ID

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Help needed with PF5020 I2C slave address for reading device ID

170件の閲覧回数
Shivani_Elavena
Contributor II

I am currently working on interfacing the PF5020 PMIC via I2C to read its device ID. I have tried using the following slave addresses to communicate with the device but have not received any response:

  • 0x08

  • 0x08 << 1 (which is 0x10)

  • 0x10

  • 0x11

Could you please confirm the correct 7-bit slave address for the PF5020? Also, if there are any specific steps or register addresses I should use to read the device ID, that information would be highly appreciated.

Thank you in advance for your support.

Best regards,

[shivani]

タグ(1)
0 件の賞賛
返信
1 返信

134件の閲覧回数
ErikaC
NXP TechSupport
NXP TechSupport

Hello,

In order to read from a slave:

  1. The master must first instruct the slave, which register it wishes to read from. The master starting off the transmission by sending the slave address with the R/W bit equal to logic 0 (signifying a write), followed by the register address it wishes to read from.
  2. Once the slave acknowledges this register address, the master will send a START condition again, followed by the slave address with the R/W bit set to logic 1 (signifying a read). This time, the slave acknowledges the read request, and the
    master releases the SDA bus, but continues supplying the clock to the slave. During this part of the transaction, the master becomes the master-receiver, and the slave becomes the slave-transmitter.
  3. The master continues sending out the clock pulses, but releases the SDA line, so that the slave can transmit data. At the end of every data byte, the master sends an ACK to the slave, letting the slave know that it is ready for more data.
  4. Once the master has received the number of bytes it is expecting, it sends a NACK, signaling to the slave to halt communications and release the bus.
  5. The master then finishes the communication with a STOP condition.

ErikaC_0-1753722832151.png

Please refer to application note AN13107 PF series PMIC I2C-bus communication overview

Hope this helps!

0 件の賞賛
返信