<?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>zephyr, how to set concat-buf-size property in the &amp;quot;I2C_0&amp;quot; node</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90410/zephyr-how-to-set-concat-buf-size-property-in-the-i2c_0-node</link><description>Hello 
 NCS1.9.99, nRF5340, VScode 
 
 
 uint8_t read[130]=&amp;quot;&amp;quot;; 
 
 i2c_burst_write(i2c_dev, 0x1b, 0x00, read, 128); 
 
 error: 
 Need to use concatenation buffer and provided size is insufficient (1 + 128 &amp;gt; 16). Adjust the zephyr,concat-buf-size property</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Jul 2022 11:03:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90410/zephyr-how-to-set-concat-buf-size-property-in-the-i2c_0-node" /><item><title>RE: zephyr, how to set concat-buf-size property in the "I2C_0" node</title><link>https://devzone.nordicsemi.com/thread/378876?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 11:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b71a967-348a-4bf2-a46e-f4b0984265b0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;You can do that by creating an overlay file &amp;lt;board name&amp;gt;.overlay with the following content:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c0 {
	/*
	* Add other content
	*/
     zephyr,concat-buf-size = &amp;lt;1024&amp;gt;;	
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Of course if you want a different value, change 1024 with the desired value.&lt;/p&gt;
&lt;p&gt;Read more about this field here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1/dts/bindings/i2c/nordic,nrf-twim.yaml#L29-L42"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1/dts/bindings/i2c/nordic,nrf-twim.yaml#L29-L42&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>