<?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>I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121015/i2c-communication-issue-with-npm1300-on-custom-board-nrf54l15</link><description>Hello, 
 I’m working with a custom board using the nRF54L15 and the latest Nordic SDK, and I’m facing an issue while trying to communicate with an nPM1300 over I2C. 
 Here’s what I’ve observed: 
 
 
 On the logic analyzer, I can see that the SDA line</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 May 2025 17:56:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121015/i2c-communication-issue-with-npm1300-on-custom-board-nrf54l15" /><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/535189?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 17:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eca5abe4-8b34-4d05-9119-710dd40e487a</guid><dc:creator>Adam W</dc:creator><description>&lt;p&gt;That was it. Thank you for help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/534470?ContentTypeID=1</link><pubDate>Thu, 08 May 2025 12:50:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96d71e6c-4533-45b9-88e0-bcdfa4db60ef</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like you&amp;#39;re using TWIM instance TWIM20 that is limited to GPIOs in P1. For P0 use TWIM30:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1746708574245v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/534162?ContentTypeID=1</link><pubDate>Tue, 06 May 2025 17:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c77bcb-0080-40cb-b26e-dfa1ea73344b</guid><dc:creator>Adam W</dc:creator><description>&lt;p&gt;Here is trace from logic analyzer&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1746553359281v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;NRF i2c connection:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1746553572908v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;nPM1300 connections:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1746553540032v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Layout, SCL traces:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1746553880006v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;SDA traces:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1746553912769v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I desoldered sensor in bottom part of the board, so now only nPM1300 is connected to the i2c bus. I also tried connecting external module to i2c lines but with the same results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/533737?ContentTypeID=1</link><pubDate>Fri, 02 May 2025 10:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfa7cf92-97e9-451e-b521-cd05f5324be2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Adam,&amp;nbsp;&lt;br /&gt;Jared is away until Tuesday. I will try to help in the mean time.&amp;nbsp;&lt;br /&gt;Could you try to capture a logic analyzer trace ?&amp;nbsp;&amp;nbsp;&lt;br /&gt;Please also try to test with a different SDA and SCL pins so we can verify the I2C transaction.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In addition please send us the schematic and layout.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/533441?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 14:55:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94177bfa-feac-4052-8cdc-a476dc9bb9dc</guid><dc:creator>Adam W</dc:creator><description>&lt;p&gt;SDA is not shorted, i measured it with meter, and i can see SDA being pulled low by MCU at the start of transaction. Code in only trying to read register from nPM1300, so i doubt the mcu is doing flash erase.&amp;nbsp; Im testing on Custom board. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/533390?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 12:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86c40011-be81-4306-8e3e-f595e93d3ee9</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p&gt;From the description in the driver:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Whatever the frequency, completion_sync should have&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* been given by the event handler.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* If it hasn&amp;#39;t, it&amp;#39;s probably due to an hardware issue&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* on the I2C line, for example a short between SDA and&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* GND.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* This is issue has also been when trying to use the&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* I2C bus during MCU internal flash erase.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* In many situation, a retry is sufficient.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* However, some time the I2C device get stuck and need&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* help to recover.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* Therefore we always call i2c_nrfx_twim_recover_bus()&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* to make sure everything has been done to restore the&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* bus from this error.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Can you double check that the SDA line hasn&amp;#39;t been shorted or if you&amp;#39;re performing a flash erase? Are you testing on a custom board or development kit?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/533205?ContentTypeID=1</link><pubDate>Mon, 28 Apr 2025 13:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dce4a761-20a7-41c4-baa6-8f82be37b1fe</guid><dc:creator>Adam W</dc:creator><description>&lt;p&gt;latest, 2.9.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I2C Communication Issue with nPM1300 on Custom Board (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/533197?ContentTypeID=1</link><pubDate>Mon, 28 Apr 2025 13:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f346ee0a-326f-40e1-88e8-b2a869c96d7a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which version of NCS are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>