Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

UCD9090: i2c/PMBus programming

$
0
0

Part Number:UCD9090

Yihe

You helped me when i had trouble with initialization this device. Thank you so much. May i get one other question?

The device id is read . Flash is read. But  i had difficulties in writing data. May i ask you if it correct sequence of actions? 

A. clean write protect

1. start

2. send device address | write

3. send

0xe2 - command

0x05 - data size

0x04, 0x00, 0x00, 0x01, 0x04 - command data value

4. repeat start

5. send device address | write

6. send

0xe3 - command

0x04 - data size

0x00, 0x00,0x88, 0x20 - command data value

stop

B. write to flash

the same sequence as above except data size - data.

-------------------------

i receive NACK when i try to send data size on step 6. 

Thank you

dmitry


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>