Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

tlc59116: Auto Increment register include IREF

$
0
0

Part Number:tlc59116

I was using the AutoIncrement mode to program all the registers in one I2C transaction. With two devices driven from the same master ( different addresses of course) I observed behaviour that indicated both devices were responding to the data sequence.

I identified the problem as due to the number of bytes I was writing in Auto-Increment mode. By sending more than 29 ( Control Register + 0 0000 thru 1 1011) bytes, the 'wrap around' meant I was rewriting the Mode0 and Mode1 bytes. This had very strange effects, since probing the I2C sequences did not directly reveal the problem.

Since data sheet defines the last register to be addressed before wrap around is 1 1011 ( 0x1B). This is the ALLCALLS register. However, I would expect to be able to write to the IREF in the same sequence. Is this by design, or do I need to address the IREF explicitly? ( Assuming I want  to change it from the default 0xFF).


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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