<?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>NRF54L15 I2C Issue (I2C22)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122674/nrf54l15-i2c-issue-i2c22</link><description>Hello

I&amp;#39;m working on a custom electronics board with an nrf54L15 (QFAA). This MCU is interfaced with an EEPROM memory (24FC16T) via an I2C bus connected on P1.03(SCL) and P1.02(SDA). I&amp;#39;m trying to use I2C22 instance to communicate with the eeprom memory</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jul 2025 08:01:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122674/nrf54l15-i2c-issue-i2c22" /><item><title>RE: NRF54L15 I2C Issue (I2C22)</title><link>https://devzone.nordicsemi.com/thread/542038?ContentTypeID=1</link><pubDate>Thu, 10 Jul 2025 08:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4854b6e-8b84-4693-adf4-80b0ba0c5e87</guid><dc:creator>Thibaut LALUQUE</dc:creator><description>&lt;p&gt;&lt;span&gt;Abhijith, thanks for your reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I followed the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/114533/how-to-config-nfc-as-gpio-on-nrf54l15?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt;old DevZone thread&lt;/a&gt;&amp;nbsp;and it solved the problem !&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As explained in this thread, by default pins P1.02 and P1.03 are routed to NFC functions, and it&amp;#39;s necessary to add a directive in the device tree to specify that these pins must be used as standard GPIOs.&lt;/p&gt;
&lt;p&gt;This can be done by adding these lines in the device tree :&lt;/p&gt;
&lt;p&gt;&amp;amp;uicr {&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; nfct-pins-as-gpios;&lt;/p&gt;
&lt;p&gt;};&lt;/p&gt;
&lt;p&gt;To test on the&amp;nbsp;nrf54l15dk board,&amp;nbsp;according the hardware shemes, it&amp;#39;s necessary to mount 0ohm on R33/R34 and to unmount R21/R22.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thibaut&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54L15 I2C Issue (I2C22)</title><link>https://devzone.nordicsemi.com/thread/541743?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 08:44:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e621a9b2-73a7-4812-a979-fe163e084133</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for the update and the shared files.&lt;/p&gt;
&lt;p&gt;If you take a look at the &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf54l15_dk/page/UG/nRF54L15_DK/hw_desription/connector_if.html"&gt;nRF54L15DK datasheet&lt;/a&gt;, you&amp;#39;ll see that P1.02 and P1.03 are not connected to the GPIO headers by default, they are physically routed to the NFC antenna path. You need to configure them to be used as regular GPIOs. See this&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/114533/how-to-config-nfc-as-gpio-on-nrf54l15?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt; old DevZone thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54L15 I2C Issue (I2C22)</title><link>https://devzone.nordicsemi.com/thread/541461?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 12:41:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24f4afab-6312-4089-b0fd-570ad51eebbd</guid><dc:creator>Thibaut LALUQUE</dc:creator><description>&lt;p&gt;&lt;span&gt;Abhijith, t&lt;/span&gt;hanks for your reply.&lt;/p&gt;
&lt;p&gt;Here the log. Even with CONFIG_I2C_LOG_LEVEL_DBG=y they are nothing that appears in&amp;nbsp;logs about I2C&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v3.0.1-9eb5615da66b ***
*** Using Zephyr OS v4.0.99-77f865b8f8d0 ***

[00:00:06.613,090] &amp;lt;dbg&amp;gt; AniTrack: main: Test log debug level
[00:00:10.024,711] &amp;lt;inf&amp;gt; AniTrack: Testing ACC
[00:00:10.024,743] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: tx_bufs 0x200026e0 - rx_bufs 0x200026f0 - 1
[00:00:10.024,753] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: current_tx 0x200026d8 (1), current_rx 0x200026e8 (1), tx buf/len 0x200026d0/2, rx buf/len 0x200026d4/2
[00:00:10.024,793] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_tx: tx buf/len 0/0
[00:00:10.024,801] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_rx: rx buf/len 0/0
[00:00:10.024,808] &amp;lt;dbg&amp;gt; spi_nrfx_spim: finish_transaction: Transaction finished with status 0
[00:00:10.024,827] &amp;lt;inf&amp;gt; AniTrack: Requested WHO AM I, received : 69
[00:00:10.024,832] &amp;lt;inf&amp;gt; AniTrack: ACC is responding !
[00:00:10.024,837] &amp;lt;inf&amp;gt; AniTrack: Testing FLASH
[00:00:10.024,851] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: tx_bufs 0x200026e0 - rx_bufs 0x200026f0 - 1
[00:00:10.024,870] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: current_tx 0x200026d8 (1), current_rx 0x200026e8 (1), tx buf/len 0x200026d0/4, rx buf/len 0x200026d4/4
[00:00:10.024,924] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_tx: tx buf/len 0/0
[00:00:10.024,931] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_rx: rx buf/len 0/0
[00:00:10.024,938] &amp;lt;dbg&amp;gt; spi_nrfx_spim: finish_transaction: Transaction finished with status 0
[00:00:10.024,958] &amp;lt;inf&amp;gt; AniTrack: Requested WHO AM I, received : 44 37
[00:00:10.024,963] &amp;lt;inf&amp;gt; AniTrack: FLASH is responding !
[00:00:10.024,968] &amp;lt;inf&amp;gt; AniTrack: Testing EEPROM
[00:00:10.024,972] &amp;lt;inf&amp;gt; AniTrack: Writting EEPROM
[00:00:10.525,138] &amp;lt;inf&amp;gt; AniTrack: result : -5
[00:00:10.525,153] &amp;lt;wrn&amp;gt; AniTrack: Fail to write EEPROM
[00:00:10.936,546] &amp;lt;inf&amp;gt; AniTrack: Testing ACC
[00:00:10.936,556] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: tx_bufs 0x200026e0 - rx_bufs 0x200026f0 - 1
[00:00:10.936,565] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: current_tx 0x200026d8 (1), current_rx 0x200026e8 (1), tx buf/len 0x200026d0/2, rx buf/len 0x200026d4/2
[00:00:10.936,605] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_tx: tx buf/len 0/0
[00:00:10.936,613] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_rx: rx buf/len 0/0
[00:00:10.936,621] &amp;lt;dbg&amp;gt; spi_nrfx_spim: finish_transaction: Transaction finished with status 0
[00:00:10.936,639] &amp;lt;inf&amp;gt; AniTrack: Requested WHO AM I, received : 69
[00:00:10.936,644] &amp;lt;inf&amp;gt; AniTrack: ACC is responding !
[00:00:10.936,658] &amp;lt;inf&amp;gt; AniTrack: Testing FLASH
[00:00:10.936,667] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: tx_bufs 0x200026e0 - rx_bufs 0x200026f0 - 1
[00:00:10.936,676] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_buffers_setup: current_tx 0x200026d8 (1), current_rx 0x200026e8 (1), tx buf/len 0x200026d0/4, rx buf/len 0x200026d4/4
[00:00:10.936,729] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_tx: tx buf/len 0/0
[00:00:10.936,737] &amp;lt;dbg&amp;gt; spi_nrfx_spim: spi_context_update_rx: rx buf/len 0/0
[00:00:10.936,743] &amp;lt;dbg&amp;gt; spi_nrfx_spim: finish_transaction: Transaction finished with status 0
[00:00:10.936,763] &amp;lt;inf&amp;gt; AniTrack: Requested WHO AM I, received : 44 37
[00:00:10.936,768] &amp;lt;inf&amp;gt; AniTrack: FLASH is responding !
[00:00:10.936,773] &amp;lt;inf&amp;gt; AniTrack: Testing EEPROM
[00:00:10.936,777] &amp;lt;inf&amp;gt; AniTrack: Reading EEPROM
[00:00:11.436,946] &amp;lt;inf&amp;gt; AniTrack: result : -5
[00:00:11.436,962] &amp;lt;wrn&amp;gt; AniTrack: Fail to read EEPROM&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is a custom board. I also tried to run my code on the nrf54l15dk board and I get the same behavior. They are no I2C signals on&amp;nbsp;&lt;span&gt;P1.03(SCL) and P1.02(SDA).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please, find bellow the zephyr.dts file that was generated for my custom board.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8228.zephyr.dts"&gt;devzone.nordicsemi.com/.../8228.zephyr.dts&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thibaut&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF54L15 I2C Issue (I2C22)</title><link>https://devzone.nordicsemi.com/thread/541376?ContentTypeID=1</link><pubDate>Thu, 03 Jul 2025 18:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b574f42-5917-4a97-8a91-20e3e82043a4</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you share the complete log here? If you haven’t enabled debug-level logs, please try enabling them and then share the full output. See the configuration option &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_I2C_LOG_LEVEL_DBG"&gt;CONFIG_I2C_LOG_LEVEL_DBG&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Is this a custom board or a Development Kit (DK)? Also, could you share the &lt;code&gt;zephyr.dts&lt;/code&gt; file from the build folder?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>