<?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>Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45265/trouble-twi-i2c-stops-at-the-function-of-i2c_reg_read_byte-on-nrf9160-dk-why</link><description>I&amp;#39;m trying to have nRF9160 DK communicate with an external accelerometer. 
 nRF9160 stop working at the function of i2c_reg_read_byte in the code below. 
 Does anybody give any advice? 
 
 
 
 
 
 UPDATE:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Sep 2020 09:19:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45265/trouble-twi-i2c-stops-at-the-function-of-i2c_reg_read_byte-on-nrf9160-dk-why" /><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/271269?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2020 09:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcf46b17-1e8e-4338-a53f-7bace937d6a9</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Please make a separate ticket for this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/271113?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 13:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcc6245c-33b5-470a-8f70-9faf1734fd2f</guid><dc:creator>ChandraSR K</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I tried the code the works for you. but i am getting below error&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1600867277582v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/236946?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 15:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73fa4a82-610d-4057-ab30-c74c4fe95413</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;This works for me&lt;/p&gt;
&lt;p&gt;Windows10&lt;br /&gt;nrf v1.2.0&lt;/p&gt;
&lt;p&gt;main.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;drivers/i2c.h&amp;gt;
#include &amp;lt;device.h&amp;gt;

#define I2C_ACCEL_ADDR (0x32 &amp;gt;&amp;gt; 1)
#define ACCEL_REG_WHO_AM_I 0x0F

struct device *i2c_2;

u8_t configure_accelerometer() {

    if (i2c_reg_write_byte(i2c_2, I2C_ACCEL_ADDR, 0x20, 0x2F) != 0) { // CTRL_REG1 (20h), Enable x,y,z axis, 10Hz, normal mode
            return -1;
    }
    if (i2c_reg_write_byte(i2c_2, I2C_ACCEL_ADDR, 0x21, 0x01) != 0) { // CTRL_REG2 (21h), High-pass filter enabled for AOI function on Interrupt 1.
            return -1;
    }
    if (i2c_reg_write_byte(i2c_2, I2C_ACCEL_ADDR, 0x22, 0x40) != 0) { // CTRL_REG3 (23h), IA1 interrupt on INT1 pin enable
            return -1;
    }
    if (i2c_reg_write_byte(i2c_2, I2C_ACCEL_ADDR, 0x30, 0x2A) != 0) { // INT1_CFG (30h), Enable interrupt generation on X,Y,Z high event or on direction recognition
            return -1;
    }
    if (i2c_reg_write_byte(i2c_2, I2C_ACCEL_ADDR, 0x32, 0x08) != 0) { // INT1_THS (32h), 1 LSb = 16 mg, threshold = 128mg
            return -1;
    }
    if (i2c_reg_write_byte(i2c_2, I2C_ACCEL_ADDR, 0x33, 0x00) != 0) { // INT1_DURATION (33h), Set the minimum duration of the Interrupt 1 event to be recognized
            return -1;
    }

    return 0;
}

void main(void)
{
    u8_t rx_buf[1];
    int8_t ret;

    i2c_2 = device_get_binding(&amp;quot;I2C_2&amp;quot;);
    if (!i2c_2) {
        sys_reboot(0);
    }

    if(configure_accelerometer() != 0) {
        sys_reboot(0);
    }

    u8_t reg = ACCEL_REG_WHO_AM_I;

    while (1) {
        printk(&amp;quot;loop head\r\n&amp;quot;);
        ret = i2c_burst_read(i2c_2, I2C_ACCEL_ADDR, reg, rx_buf, sizeof(rx_buf));
        if(ret == 0){ /* success */
            printk( &amp;quot;Read:  register = 0x%02X, value = 0x%02X\r\n&amp;quot;, reg, rx_buf[0]);
        } else { /* ret = -EIO */
            printk( &amp;quot;i2c_burst_read fail!, register = 0x%02X, ret = %d\r\n&amp;quot;, reg, ret);
        }

        k_sleep(3000);
    }            
}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# General
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_AT_HOST_LIBRARY=n
CONFIG_SERIAL=y

# I2C
CONFIG_I2C=y
CONFIG_I2C_NRFX=y
CONFIG_I2C_2=y
CONFIG_I2C_2_NRF_TWIM=y

# Rebooot
CONFIG_REBOOT=y

# SEGGER RTT for Dev
CONFIG_PRINTK=y
CONFIG_CONSOLE=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y
CONFIG_USE_SEGGER_RTT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;nrf9160_pca10090ns.overlay&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
	status = &amp;quot;okay&amp;quot;;
	sda-pin = &amp;lt;15&amp;gt;;
	scl-pin = &amp;lt;16&amp;gt;;
	clock-frequency = &amp;lt;100000&amp;gt;; 
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/236896?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2020 14:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a564ece2-abd1-423c-a88d-08222db70cd2</guid><dc:creator>Jagruti</dc:creator><description>&lt;p&gt;Hello Yusuke,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m also trying to communicate&amp;nbsp;nRF9160 DK with an external&amp;nbsp;&lt;/span&gt;&lt;span&gt;accelerometer using I2C. I want to read the accelerometer and gyroscope values. I tried your code. When I don&amp;#39;t connect the accelerometer,&amp;nbsp;Error on i2c_read() is displayed which is correct. But when I connect the accelerometer nothing prints. The program stops there. After &amp;quot;loop head&amp;quot; nothing is printed on the terminal. Did you face the same problem? Do you know how to print the accelerometer values?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/179295?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 15:49:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c7b96e5-2e51-4ef2-bef7-621b2b78064c</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I created a new project and implemented almost same code. Then it works. I don&amp;#39;t really figure out what was wrong. Anyway, this works.&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;nrf9160.h&amp;gt;
#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;misc/printk.h&amp;gt;
#include &amp;lt;i2c.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;math.h&amp;gt;

#define I2C_ACCEL_WRITE_ADDR 0x32
#define I2C_ACCEL_READ_ADDR 0x33

struct device *i2c_accel;
uint8_t WhoAmI = 0u;

uint8_t init_accelerometer(){
    i2c_accel = device_get_binding(&amp;quot;I2C_1&amp;quot;);
    if (!i2c_accel) {
		printk(&amp;quot;error\r\n&amp;quot;);
        return -1;
	} else  {
                i2c_configure(i2c_accel, I2C_SPEED_SET(I2C_SPEED_STANDARD));
        return 0;
    }
}

void main(void)
{
        printk(&amp;quot;Hello, World!\r\n&amp;quot;);
        init_accelerometer();

	while (1) {
                printk(&amp;quot;loop head\r\n&amp;quot;);

                if (i2c_reg_read_byte(i2c_accel, I2C_ACCEL_READ_ADDR &amp;gt;&amp;gt; 1, 0x0F, &amp;amp;WhoAmI) != 0) {
                        printk(&amp;quot;Error on i2c_read()\n&amp;quot;);
                } else {
                        printk(&amp;quot;no error\r\n&amp;quot;);
                }

                printk(&amp;quot;WhoAmI = %u\r\n&amp;quot;, WhoAmI);
                printk(&amp;quot;enter sleep\r\n&amp;quot;);
                k_sleep(3000);
	}
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;lt;prj.conf&amp;gt;
CONFIG_TRUSTED_EXECUTION_SECURE=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_I2C=y
CONFIG_I2C_NRFX=y
CONFIG_I2C_1=y
CONFIG_I2C_INIT_PRIORITY=60
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;overlay file&amp;gt;
/* needed to get the NRF_UARTE2 defined */
&amp;amp;uart2 {
	current-speed = &amp;lt;1000000&amp;gt;;
	status = &amp;quot;ok&amp;quot;;
	tx-pin = &amp;lt;18&amp;gt;;
	rx-pin = &amp;lt;17&amp;gt;;
	rts-pin = &amp;lt;19&amp;gt;;
	cts-pin = &amp;lt;21&amp;gt;;
};

&amp;amp;i2c1 {
	status = &amp;quot;ok&amp;quot;;
	sda-pin = &amp;lt;10&amp;gt;;
	scl-pin = &amp;lt;11&amp;gt;;
	clock-frequency = &amp;lt;100000&amp;gt;; 
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/179094?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 03:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5a4b781-ccc1-4439-b582-339dd2c88d87</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Nope I do not have nRF9160&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/179082?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 00:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ac828b4-be77-4a9a-8d18-5f39b82874b4</guid><dc:creator>Yusuke</dc:creator><description>&lt;div dir="ltr"&gt;I will inspect the code this weekend. By the way, can you reproduce the symptom on your nRF9160? Even If no I2C device is connected, &amp;quot;Error on i2c_read()&amp;quot; should be displayed if I2C works correctly.&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;/div&gt;
&lt;div&gt;I&amp;#39;m using nRF91, not nRF52.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/178790?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 20:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fae7da2-0e7a-4019-a202-41421847982e</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Also, before nrfx_twim_xfer() is executed, use your JTAG debugger to show all the values in&amp;nbsp;nrfx_twim_xfer_desc_t data structure.&lt;/p&gt;
&lt;p&gt;Paste that data structure contents in this forum, so we can all help you with this issue.&lt;/p&gt;
&lt;p&gt;Info info info ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/178789?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 20:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31b40a60-4441-4915-a5f4-777809e1dae8</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Keep going ....&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;#39;res&amp;#39; tells you the result status. What is the value of &amp;#39;res&amp;#39; ?&lt;/p&gt;
&lt;p&gt;And when you look in the nRF52 documentation what does that value of &amp;#39;res&amp;#39; indicate as a possible reason for the failure ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/178658?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 12:17:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43ab640f-1707-4b1f-9038-57dd9cc9d9bd</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;lt;i2c.h&amp;gt;

static inline int _impl_i2c_transfer(struct device *dev,
				     struct i2c_msg *msgs, u8_t num_msgs,
				     u16_t addr)
{
	const struct i2c_driver_api *api =
		(const struct i2c_driver_api *)dev-&amp;gt;driver_api;

	return api-&amp;gt;transfer(dev, msgs, num_msgs, addr);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;After the debugger reaches &amp;quot;return api-&amp;gt;transfer&amp;quot;, I2C seems to be stacked.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I step into&amp;nbsp;&lt;span&gt;&amp;quot;return api-&amp;gt;transfer&amp;quot;,&amp;nbsp; debugging stops at a line of &amp;quot;&lt;/span&gt;if (res != NRFX_SUCCESS)&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;lt;i2c_nrfx_twim.c&amp;gt;

static int i2c_nrfx_twim_transfer(struct device *dev, struct i2c_msg *msgs,
				  u8_t num_msgs, u16_t addr)
{
	for (size_t i = 0; i &amp;lt; num_msgs; i++) {
		if (I2C_MSG_ADDR_10_BITS &amp;amp; msgs[i].flags) {
			return -ENOTSUP;
		}

		nrfx_twim_xfer_desc_t cur_xfer = {
			.p_primary_buf  = msgs[i].buf,
			.primary_length = msgs[i].len,
			.address	= addr,
			.type		= (msgs[i].flags &amp;amp; I2C_MSG_READ) ?
					  NRFX_TWIM_XFER_RX : NRFX_TWIM_XFER_TX
		};

		nrfx_err_t res = nrfx_twim_xfer(&amp;amp;get_dev_config(dev)-&amp;gt;twim,
					       &amp;amp;cur_xfer,
					       (msgs[i].flags &amp;amp; I2C_MSG_STOP) ?
					       0 : NRFX_TWIM_FLAG_TX_NO_STOP);
		if (res != NRFX_SUCCESS) { // STOP HERE
			if (res == NRFX_ERROR_BUSY) {
				return -EBUSY;
			} else {
				return -EIO;
			}
		}

		k_sem_take(&amp;amp;(get_dev_data(dev)-&amp;gt;sync), K_FOREVER);
		res = get_dev_data(dev)-&amp;gt;res;
		if (res != NRFX_SUCCESS) {
			LOG_ERR(&amp;quot;Error %d occurred for message %d&amp;quot;, res, i);
			return -EIO;
		}
	}

	return 0;
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/178501?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2019 18:49:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:608136c3-66a7-4c31-a2f0-6e88103e5069</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;You are just showing us code only.&lt;/p&gt;
&lt;p&gt;That does not help us help you.&lt;/p&gt;
&lt;p&gt;With your JTAG debugger, you should be able to show the exact line of code that is giving you some problem.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Maybe to restate your question:&amp;nbsp;&lt;span style="text-decoration:underline;"&gt;nRF9160 stop working at the function of&amp;nbsp;i2c_reg_read_byte in the code below.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For others to help you, you have to say exactly what is not working. &amp;quot;stop working&amp;quot; is not sufficient to help you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/177944?ContentTypeID=1</link><pubDate>Sat, 23 Mar 2019 13:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:071c4f2b-b276-450f-a678-6bb4c177f1a5</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;mtsunstrum!. Thank you for your comment.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I took&amp;nbsp;&lt;span&gt;i2c_reg_read_byte from zephyr driver.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://docs.zephyrproject.org/latest/api/io_interfaces.html"&gt;docs.zephyrproject.org/.../io_interfaces.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the definition is below.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;/**
 * @brief Read internal register of an I2C device.
 *
 * This routine reads the value of an 8-bit internal register of an I2C
 * device synchronously.
 *
 * @param dev Pointer to the device structure for the driver instance.
 * @param dev_addr Address of the I2C device for reading.
 * @param reg_addr Address of the internal register being read.
 * @param value Memory pool that stores the retrieved register value.
 *
 * @retval 0 If successful.
 * @retval -EIO General input / output error.
 */
static inline int i2c_reg_read_byte(struct device *dev, u16_t dev_addr,
				    u8_t reg_addr, u8_t *value)
{
	return i2c_burst_read(dev, dev_addr, reg_addr, value, 1);
}&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trouble: TWI(I2C) stops at the function of i2c_reg_read_byte On nRF9160 DK. Why?</title><link>https://devzone.nordicsemi.com/thread/177924?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 20:51:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4e8bc91-a74a-440a-808e-f1745a6f3d1d</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Do you have the source code for&amp;nbsp;i2c_reg_read_byte() ?&lt;/p&gt;
&lt;p&gt;If yes, you should be able to see the line(s) of code where it is stuck inside of&amp;nbsp;i2c_reg_read_byte()&lt;/p&gt;
&lt;p&gt;That would help us to help you further.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks, Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>