<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>TWI comunication to read/write register</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/86780/twi-comunication-to-read-write-register</link><description>Hi, 
 I&amp;#39;m using nRF52832 with BME688 Bosch sensor. I&amp;#39;m using APIs that are provided by Bosch, but I have to adapt them to nRF52832 microcontroller. 
 In particular, I&amp;#39;m not sure if the comunication with TWI is correct. 
 I write this two functions to</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 08 Apr 2022 13:09:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/86780/twi-comunication-to-read-write-register" /><item><title>RE: TWI comunication to read/write register</title><link>https://test-devzone.nordicsemi.com/thread/362618?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 13:09:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba4e0c04-626a-4d19-8def-bf827a0cdf17</guid><dc:creator>user2111</dc:creator><description>&lt;p&gt;Sounds to me that the next step is looking at the serial data with a logic analyzer.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI comunication to read/write register</title><link>https://test-devzone.nordicsemi.com/thread/362593?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 12:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc4b5a14-b418-4e7a-b749-488722c751ee</guid><dc:creator>user114346</dc:creator><description>&lt;p&gt;Hi, yes I started with twi scanner example, and I see that the sensor is correctly connected. Also, I use TWI to comunicate with other sensor (for these sensors the functions were already ready).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TWI comunication to read/write register</title><link>https://test-devzone.nordicsemi.com/thread/362591?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 12:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d7abcc-78be-44cf-8555-22b2d75f6c49</guid><dc:creator>user2111</dc:creator><description>&lt;p&gt;Anything can be wrong here, I would have started with a logic analyzer trace to see if there is NACK or ACK on the serial data. For instance you may start with the twi scanner example from the nRF5 SDK as a start to ensure that you have the correct twi address of the sensor. Make sure that there are e.g. 10kohm pull up resistors on the twi pins.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>