<?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>receive only 8 bit TWIS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32441/receive-only-8-bit-twis</link><description>Hi I have a problem with TWI (the slave part), that is, we can only receive on nrf52840 8 bit, there is someone who knows how to do so you can receive 16 bit, we have taken the code from here https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Mar 2018 13:29:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32441/receive-only-8-bit-twis" /><item><title>RE: receive only 8 bit TWIS</title><link>https://devzone.nordicsemi.com/thread/124777?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 13:29:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd119a16-8e07-4f16-8fa4-7a7c9e325c3f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using? Could you post the code you have used for TWIS? p_buff and size parameters passed to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/group__nrf__drv__twis.html#ga5c3148dbd7a795dfd10bbd2523150979"&gt;nrf_drv_twis_rx_prepare&lt;/a&gt;&amp;nbsp;should decide the number of bytes you can receive. Have you seen the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/twi_master_with_twis_slave_example.html?cp=4_0_7_4_5_34"&gt;TWIS example&lt;/a&gt; in the SDK?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>