<?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>Error in Output after Building and Flashing on nRF5340-DK with NXP FRDM-STBC-AGM01 Shield</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102212/error-in-output-after-building-and-flashing-on-nrf5340-dk-with-nxp-frdm-stbc-agm01-shield</link><description>I have successfully compiled and uploaded the given code to an nRF5340-DK board equipped with an NXP FRDM-STBC-AGM01 shield. During the building process, I used the &amp;#39;nrf5340dk_nrf5340app&amp;#39; configuration. To access the gyroscope module, I incorporated the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jul 2023 13:33:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102212/error-in-output-after-building-and-flashing-on-nrf5340-dk-with-nxp-frdm-stbc-agm01-shield" /><item><title>RE: Error in Output after Building and Flashing on nRF5340-DK with NXP FRDM-STBC-AGM01 Shield</title><link>https://devzone.nordicsemi.com/thread/438544?ContentTypeID=1</link><pubDate>Thu, 27 Jul 2023 13:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b83f3c6-98fb-4c78-b121-4f4cf0f2295d</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I do not have this (FRDM-STBC-AGM01)&amp;nbsp;board with me to test, but I have few observations as per the information you have shared:&lt;/p&gt;
&lt;p&gt;1) What are the I2C pins in your DTS &amp;amp; overlay? &lt;br /&gt;I do not see pin information in your overlay.&lt;br /&gt;For example, below I share is a snippet from the compiled DTS of nrf52840 and we can see that the pins are assigned through zephyr PINCTRL Api. We can see that SDA and SCL pins are P0.26 and P0.27 respectively. So your DTS should match with your hardware pins 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/pastedimage1690464747680v1.png" alt=" " /&gt;&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/pastedimage1690464767074v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2) Similarly, on the schematic of the board, we can see that INT1-8700 is pin3 INT2-8700 is pin5 on your board that is connected to Auduino-Header pin3 and pin5 (P1.04 and P1.06 of the DK) respectively. But that is not the case in your DTS.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;3) Third would be making sure that i2c addresses are correct as per the datasheet.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in Output after Building and Flashing on nRF5340-DK with NXP FRDM-STBC-AGM01 Shield</title><link>https://devzone.nordicsemi.com/thread/438334?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 14:35:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3871abdf-4fcd-4e46-bf70-b59134a78750</guid><dc:creator>Cristian</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2020 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/dts-v1/;
#include &amp;lt;nordic/nrf5340_cpuapp_qkaa.dtsi&amp;gt;
#include &amp;quot;nrf5340_cpuapp_common.dts&amp;quot;

/ {
	model = &amp;quot;Nordic NRF5340 DK NRF5340 Application&amp;quot;;
	compatible = &amp;quot;nordic,nrf5340-dk-nrf5340-cpuapp&amp;quot;;

	chosen {
		zephyr,sram = &amp;amp;sram0_image;
		zephyr,flash = &amp;amp;flash0;
		zephyr,code-partition = &amp;amp;slot0_partition;
		zephyr,sram-secure-partition = &amp;amp;sram0_s;
		zephyr,sram-non-secure-partition = &amp;amp;sram0_ns;
	};
};


/*
 * Copyright (c) 2021 Ryan Holleran
 * SPDX-License-Identifier: Apache-2.0
 */

 / {
	aliases {
		magn0 = &amp;amp;fxos8700_1e_frdm_stbc_agm01;
		accel0 = &amp;amp;fxos8700_1e_frdm_stbc_agm01;
	};
};

&amp;amp;arduino_i2c {
	fxos8700_1e_frdm_stbc_agm01: fxos8700@1e {
		compatible = &amp;quot;nxp,fxos8700&amp;quot;;
		reg = &amp;lt;0x1e&amp;gt;;
		int1-gpios = &amp;lt;&amp;amp;arduino_header 8 GPIO_ACTIVE_LOW&amp;gt;;
		int2-gpios = &amp;lt;&amp;amp;arduino_header 10 GPIO_ACTIVE_LOW&amp;gt;;
	};

	fxas21002_frdm_stbc_agm01: fxas21002@20 {
		compatible = &amp;quot;nxp,fxas21002&amp;quot;;
		reg = &amp;lt;0x20&amp;gt;;
		int1-gpios = &amp;lt;&amp;amp;arduino_header 11 GPIO_ACTIVE_LOW&amp;gt;;
		int2-gpios = &amp;lt;&amp;amp;arduino_header 14 GPIO_ACTIVE_LOW&amp;gt;;
	};
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hello Noaem,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you for your prompt response earlier. I&amp;#39;m currently working on the project, and I&amp;#39;d like to share the DT code and a picture of the board with you. Your feedback and input would be highly appreciated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2023_2D00_07_2D00_26-at-16.50.45.jpeg" /&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2023_2D00_07_2D00_26-at-16.50.57.jpeg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in Output after Building and Flashing on nRF5340-DK with NXP FRDM-STBC-AGM01 Shield</title><link>https://devzone.nordicsemi.com/thread/438296?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 13:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63c9f4b5-55cc-45ee-8900-5a2c3457898f</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi Marco,&lt;/p&gt;
&lt;p&gt;Thank you for contacting DevZone at NordicSemi.&lt;/p&gt;
&lt;p&gt;How does your DTS/Overlay look like, and how is your shield connected to the DK?&lt;/p&gt;
&lt;p&gt;It will be nice if you could explain your pin connections and show hardware setup by attaching a snap.&lt;/p&gt;
&lt;p&gt;Looks like the device (nxp_fxas21002) is present in the DTS but is not ready.&lt;/p&gt;
&lt;p&gt;The error:&amp;nbsp;&lt;strong&gt;&amp;lt;err&amp;gt; i2c_nrfx_twim: Error 0x0BAE0001 occurred for message 0&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;is NACK (not acknowledged) error meaning device is not responding as it should.&lt;/p&gt;
&lt;p&gt;The error is discussed &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75770/i2c_nrfx_twi-error-0x0bae0001-occurred-for-message-0"&gt;here&lt;/a&gt;&amp;nbsp;as well.&lt;br /&gt;&lt;br /&gt;Please make sure your pin connections are correct, slave address is correct, and the device is powered up.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Naeem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>