<?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>Sending 8192 bytes through twi using nRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78032/sending-8192-bytes-through-twi-using-nrf52832</link><description>I am using MDBT42Q nRF52832 custom board , SDK v15.3 in SEGGER Embedded studio in Ubuntu (20.04 LTS) system. I want to configure BMI270 I MU (Accelerometer)sensor . 
 I am using TWI(I2C)interface for communication. 
 First I am getting Chip id correctly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jan 2024 12:57:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78032/sending-8192-bytes-through-twi-using-nrf52832" /><item><title>RE: Sending 8192 bytes through twi using nRF52832</title><link>https://devzone.nordicsemi.com/thread/462688?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 12:57:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bfcaae7-b3db-4c04-adb9-2e06041f988f</guid><dc:creator>RAJ@LOGI</dc:creator><description>&lt;p&gt;Hello I am also facing Same issue with BMI270 but only with SPI protocol. Not able to send config file of 8192 bytes. Need help for same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending 8192 bytes through twi using nRF52832</title><link>https://devzone.nordicsemi.com/thread/451882?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 06:39:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:941720ff-b3ab-483f-a434-89090c10493b</guid><dc:creator>s.dp</dc:creator><description>&lt;p&gt;I had tried myself...unable to transfer more than 255 bytes...i need to transfer more than 255 bytes for configuring BMI270...give some example code..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending 8192 bytes through twi using nRF52832</title><link>https://devzone.nordicsemi.com/thread/451876?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 05:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b61a6e3-58a6-40a1-9552-2032414feb0b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="s.dp"]hi i need a example for more then 255 data tx[/quote]
&lt;p&gt;Have you tried to implement this yourself with the suggestions in my post?&lt;/p&gt;
&lt;p&gt;Please create a new ticket where you describe what you have done already and the problems you are facing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending 8192 bytes through twi using nRF52832</title><link>https://devzone.nordicsemi.com/thread/451875?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 05:52:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1892fdf1-1a5b-42c3-ac3e-fbe0f220d985</guid><dc:creator>s.dp</dc:creator><description>&lt;p&gt;hi i need a example for more then 255 data tx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending 8192 bytes through twi using nRF52832</title><link>https://devzone.nordicsemi.com/thread/322477?ContentTypeID=1</link><pubDate>Thu, 29 Jul 2021 13:18:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e5db6b3-53ca-4c2b-9d20-fe905bfda4db</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF52832 has a limitation of 255-byte length (8-bits) in the MAXCNT registers for serial peripherals like TWIM, SPIM, UARTE, SPIS, etc. This limitation was brought into the nrf_drv_twi driver as a uint8_t length argument to transfer functions, when this driver was first introduced, as this supports both TWIM and (legacy) TWI peripherals.&lt;/p&gt;
&lt;p&gt;The TWI peripheral can support longer transfers, but this requires you to update the data pointer for each byte that will be transferred. This will give you lots of interrupts and higher current consumption.&lt;/p&gt;
&lt;p&gt;The simples solution for using the TWI peripheral for longer transfers would be to &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/nrfx_migration_user_guide.html#getting_started_replace_nrf_drv_options_migrate"&gt;migrate&lt;/a&gt;&amp;nbsp;to the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrfx__twi.html"&gt;nrfx_twi driver&lt;/a&gt;, which supports size_t length parameters (32-bits).&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>