MC34VR500 PMIC register read or write protocol via I2C

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC34VR500 PMIC register read or write protocol via I2C

656 Views
habibfarahani1
Contributor I

I am using a MC34VR500 PMIC in my current QorIQ based HW.  The interface layer is I2C.  Does anyone know how to read or write registers to this part? PMIC I2C MC34VR500 #QorIQls1024A

0 Kudos
2 Replies

507 Views
Pavel
NXP Employee
NXP Employee

NXP SDK for i.mx contains drivers for PMIC using. See attached file.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

507 Views
habibfarahani1
Contributor I

A little bit more info:  It seems that i2c_c2k.c bundled in barebox does not issue a restart condition needed for PMIC to place the contents of a register.  However, upon issuing a restart the bus hangs  after the first clock cycle (rather than 9) with SCL and SDA being held low. According to Register Manual:

"NOTE: To restart transmission as soon as possible, set the STP bit to 1 to clear the bus
error and the STA bit to 1 to re-start transmission at the same time: transmission
will then re-start as soon as the bus becomes available."

0 Kudos