<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Accessing 16-bit registers through i2c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119239/accessing-16-bit-registers-through-i2c</link><description>Hello, I am currently working with VEML6035 light sensor and so far i had a hard time working with its 16-bit registers. 
 The code that i wrote: 
 
 overlay file: 
 
 I can&amp;#39;t get that to work. Returns error 251 on write/read. Is that a proper way of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Feb 2025 12:09:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119239/accessing-16-bit-registers-through-i2c" /><item><title>RE: Accessing 16-bit registers through i2c</title><link>https://devzone.nordicsemi.com/thread/524325?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 12:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b88ed195-f153-405f-9e46-73abfcb2c6c1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;To debug i2c issues, do take an logic analyzer trace so you can observe the data, and compare with the figure you showed. This will tell much about the problem, e.g. is there pull-up, is the address right, is read/write set, is the 16-bit address correct MSB/LSB, is the data ACK or NACK, is start and restart correct etc.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>