Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 89450

Forum Post: RE: TPL1401: Writing TPL1401 registers

$
0
0
Hi Katlynne, Thank you for your answer, today checking my code I realized I was using two i2c_write calls to send command byte + MSB + LSB, each call was 1 byte and 2 byte. Since Renesas OS controls first 8 bits I wasn't realizing everytime I was calling i2c_write method I was sending all over again device address. I tried sending all 3 bytes in the same call and I was able to write GENERAL_CONFIG register. Guess this solves the issue, thank you for your time!

Viewing all articles
Browse latest Browse all 89450

Trending Articles



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