<?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>HOST(nRF52840) returns unexpected NACK with I2C BlockRead</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44657/host-nrf52840-returns-unexpected-nack-with-i2c-blockread</link><description>I would like to do I2C BlockRead using nRF52. 
 devzone.nordicsemi.com/.../i2c-block-read When I looked at it, I found that it was not possible to receive variable length data. For that reason I modified nrfx_twim.c as follows. 
 ====================</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Mar 2019 14:06:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44657/host-nrf52840-returns-unexpected-nack-with-i2c-blockread" /><item><title>RE: HOST(nRF52840) returns unexpected NACK with I2C BlockRead</title><link>https://devzone.nordicsemi.com/thread/175369?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 14:06:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:045a69a3-8aa2-4f4e-9635-e4bef40b05a1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hei Keita,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I assume you were modifying this:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/i2c/i2c_nrfx_twim.c"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/i2c/i2c_nrfx_twim.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Not the one in our github?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give some explanation on the modification in&amp;nbsp;twim_xfer() ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume you will have the length of the read to be in the first byte from slave ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: HOST(nRF52840) returns unexpected NACK with I2C BlockRead</title><link>https://devzone.nordicsemi.com/thread/175226?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 03:58:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f2e4693-63d9-4f02-8641-1f28942ac549</guid><dc:creator>Keita.MOGAKI</dc:creator><description>&lt;p&gt;Addendum : I am using Zephyr for OS. &lt;br /&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr"&gt;https://github.com/zephyrproject-rtos/zephyr&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;And the target code is below.&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/nrfx_twim.c"&gt;https://github.com/NordicSemiconductor/nrfx/blob/master/drivers/src/nrfx_twim.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>