<?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>LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109180/lis2dh12-device-is-not-ready-issue</link><description>Hi, 
 I have added .overlay file as below mentioned 
 
 And i have added my prj.config file as mentioned below. 
 
 And I am facing issue is Device LIS2DH is not ready with nrf52840dk. 
 So, can you please, help me with it. 
 
 Thanks &amp;amp; Regards, 
 Shaik</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Mar 2024 14:31:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109180/lis2dh12-device-is-not-ready-issue" /><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/475165?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 14:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b67b05e8-5a42-4ba3-aa77-a4b2bd4da31b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Jareena"]&lt;p&gt;I am getting this waveforms without connecting any pins and after connecting by pressing the reset button i am getting one clock like this below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7571.Screenshot-_2800_268_2900_.png" /&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That doesn&amp;#39;t look like a SCLK signal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One easy way to see if the overlay has been applied correctly is to build your application and open the Devicetree GUI. You should then be able to see that the SPI node has been assigned to the specified pins. For example, when I build the SPIM nonblocking sample, and open the devicetree GUI, I see this:&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/pastedimage1711031485238v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Can you try the same and confirm?&lt;/p&gt;
&lt;p&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: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/474983?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 05:33:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b170c50f-b745-4971-a706-ee69f41f7df2</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am getting this waveforms without connecting any pins and after connecting by pressing the reset button i am getting one clock like this below.&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/8105.Screenshot-_2800_268_2900_.png" /&gt;&lt;/p&gt;
&lt;p&gt;i think it will not work by connecting my spi SCLK, MISO, MOSI and CS pins are p1.15,p1.14,p1.13 and p1.12 pins as per my schematic these are configured in spi3 in .dts file by using these pins and p1.02 as interrupt pin i have configures then also it is showing device is not ready only pin configurations I am suspecting because if hardware fault of sensor then it will show device is not found but device lis2dh12 gets found but not ready. So, in my .overlay file configuration only I am suspecting.&lt;/p&gt;
&lt;p&gt;I got one thing here any GPIO pin can be used for spi and interrupt pin and it is based on your board configuration only nrf52840dk.So, can you please, suggest which pins i need to configure for spi and Interrupt pin except QSPI pins.&lt;/p&gt;
&lt;p&gt;If any mistakes did you find in my .overlay file can you please, suggest.&lt;/p&gt;
&lt;p&gt;If possible can you please share i2c .overlay file by this I can know my sensor is working.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Shaik Jareena.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/474547?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 10:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9331f887-5c3e-47e4-864e-874d68ed5b47</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you probe the SCLK, and then restart you program. Do you see any activity on the SCLK pin when the system initialize? Sometimes the driver tries to initialize the slave during init, if the slave doesn&amp;#39;t respond then it might result in your error message,&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: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/474396?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 15:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d30028b3-4d8e-4a81-977a-5000b462f703</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am connecting the pins as below mentioned in .overlay file, can you please, find this below.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8306.nrf52840dk_5F00_nrf52840.overlay"&gt;devzone.nordicsemi.com/.../8306.nrf52840dk_5F00_nrf52840.overlay&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you please, find connections between LIS2DH12 sensor and nRF52840 module connections.&lt;/p&gt;
&lt;p&gt;LIS2DH12 JP2 header pins-------------------------&amp;gt;nRF52840 pins&lt;/p&gt;
&lt;p&gt;JP1.1 PIN(VDD)-------------------------------------------------&amp;gt;VDD&lt;/p&gt;
&lt;p&gt;JP2.22PIN(SDO)------------------------------------------------&amp;gt;P0.20&lt;/p&gt;
&lt;p&gt;JP2.21PIN(SDI)--------------------------------------------------&amp;gt;P0.21&lt;/p&gt;
&lt;p&gt;JP2.20PIN(SCL)-------------------------------------------------&amp;gt;P0.19&lt;/p&gt;
&lt;p&gt;JP2.19PIN(CS)---------------------------------------------------&amp;gt;P1.12&lt;/p&gt;
&lt;p&gt;JP2.14PIN(INT1)-------------------------------------------------&amp;gt;P1.02&lt;/p&gt;
&lt;p&gt;JP2.13PIN(GND)-------------------------------------------------&amp;gt;GND&lt;/p&gt;
&lt;p&gt;After giving connections like this, I am getting this error as mentioned below marked in red color.&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/lis2dh-screenshot.png" /&gt;&lt;/p&gt;
&lt;p&gt;So, can you please help me with this, Your help is more appreciable.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Shaik Jareena.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/474262?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 10:15:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14b635cc-29af-4fbe-a7e6-9e72c75a4b11</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I provided the previous sample so that you can see how you should setup miso, sclk, and mosi using pinctrl. The CS pin is setup as a node by itself in the SPI node structure. I&amp;#39;m not sure what schematic you&amp;#39;re asking for. The&amp;nbsp;&lt;span&gt;LIS2DH12 is not embedded on the nRF52840 DK. What pins have you physically connected the&amp;nbsp;LIS2DH12 to the nRF52840 on?&lt;/span&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: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/474163?ContentTypeID=1</link><pubDate>Sat, 16 Mar 2024 06:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7d0fc5e-7e0e-454f-a46e-851c16d88135</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your response, I have one doubt about pin connections now I have to provide the pin connections according to the LIS2DH12 and nRF52840 pins. So, I have to change the pins If I am using JES2D16 reference sample but I do not have schematic of LIS2DH12+nRF52840 pin connections, I searched for it in Nordic website but i did not find it.&lt;/p&gt;
&lt;p&gt;If you have schematic of LIS2DH12+nRF52840 pin connections schematic, can you please, share with me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Shaik Jareena.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/474097?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 13:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1158aab-d97a-4339-b1d6-42724ddf736e</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have to use pin ctrl when you add the pins, for example in the JESD216 sample:&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/pastedimage1710508656509v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And the board file for nrf52840dk_nrf52840-pinctrl.dtsi&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/pastedimage1710508764744v3.png" alt=" " /&gt;&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><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473915?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 14:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02935e35-11e6-4b67-9965-7ba43bccbc2d</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am facing below mentioned errors. Can you please, help me with it.&lt;/p&gt;
&lt;p&gt;Building lis2dh&lt;br /&gt;C:\Windows\system32\cmd.exe /d /s /c &amp;quot;west build --build-dir c:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build c:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh&amp;quot;&lt;/p&gt;
&lt;p&gt;[0/1] Re-running CMake...&lt;br /&gt;Loading Zephyr default modules (Zephyr base (cached)).&lt;br /&gt;-- Application: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.5.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.4.99 (C:/ncs/v2.5.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: nrf52840dk_nrf52840&lt;br /&gt;-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.5.1/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts&lt;br /&gt;-- Found devicetree overlay: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/nrf52840dk_nrf52840.overlay&lt;br /&gt;-- Found devicetree overlay: nrf52840dk_nrf52840.overlay&lt;br /&gt;devicetree error: &amp;#39;sck-pin&amp;#39; appears in /soc/spi@40004000 in C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.pre, but is not declared in &amp;#39;properties:&amp;#39; in C:/ncs/v2.5.1/zephyr/dts/bindings\spi\nordic,nrf-spi.yaml&lt;br /&gt;-- In: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr, command: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe;C:/ncs/v2.5.1/zephyr/scripts/dts/gen_defines.py;--dts;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.pre;--dtc-flags;&amp;#39;-Wno-unique_unit_address_if_enabled&amp;#39;;--bindings-dirs;C:/ncs/v2.5.1/nrf/dts/bindings;C:/ncs/v2.5.1/zephyr/dts/bindings;--header-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/include/generated/devicetree_generated.h.new;--dts-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.new;--edt-pickle-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/edt.pickle;--vendor-prefixes;C:/ncs/v2.5.1/nrf/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;C:/ncs/v2.5.1/zephyr/dts/bindings/vendor-prefixes.txt&lt;br /&gt;CMake Error at C:/ncs/v2.5.1/zephyr/cmake/modules/dts.cmake:279 (message):&lt;br /&gt; gen_defines.py failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.5.1/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; C:/ncs/v2.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:8 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;See also &amp;quot;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/CMakeFiles/CMakeError.log&amp;quot;.&lt;br /&gt;ninja: error: rebuilding &amp;#39;build.ninja&amp;#39;: subcommand failed&lt;br /&gt;FAILED: build.ninja &lt;br /&gt;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe --regenerate-during-build -SC:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh -BC:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh\build&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh\build&amp;#39;&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;
&lt;p&gt;* Executing task: nRF Connect: Build [clean]: lis2dh/build (active)&lt;/p&gt;
&lt;p&gt;Building lis2dh&lt;br /&gt;C:\Windows\system32\cmd.exe /d /s /c &amp;quot;west build -t clean --build-dir c:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build&amp;quot;&lt;/p&gt;
&lt;p&gt;-- west build: running target clean&lt;br /&gt;[0/1] Re-running CMake...&lt;br /&gt;Loading Zephyr default modules (Zephyr base (cached)).&lt;br /&gt;-- Application: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.5.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.4.99 (C:/ncs/v2.5.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: nrf52840dk_nrf52840&lt;br /&gt;-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.5.1/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts&lt;br /&gt;-- Found devicetree overlay: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/nrf52840dk_nrf52840.overlay&lt;br /&gt;-- Found devicetree overlay: nrf52840dk_nrf52840.overlay&lt;br /&gt;devicetree error: &amp;#39;sck-pin&amp;#39; appears in /soc/spi@40004000 in C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.pre, but is not declared in &amp;#39;properties:&amp;#39; in C:/ncs/v2.5.1/zephyr/dts/bindings\spi\nordic,nrf-spi.yaml&lt;br /&gt;-- In: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr, command: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe;C:/ncs/v2.5.1/zephyr/scripts/dts/gen_defines.py;--dts;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.pre;--dtc-flags;&amp;#39;-Wno-unique_unit_address_if_enabled&amp;#39;;--bindings-dirs;C:/ncs/v2.5.1/nrf/dts/bindings;C:/ncs/v2.5.1/zephyr/dts/bindings;--header-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/include/generated/devicetree_generated.h.new;--dts-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.new;--edt-pickle-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/edt.pickle;--vendor-prefixes;C:/ncs/v2.5.1/nrf/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;C:/ncs/v2.5.1/zephyr/dts/bindings/vendor-prefixes.txt&lt;br /&gt;CMake Error at C:/ncs/v2.5.1/zephyr/cmake/modules/dts.cmake:279 (message):&lt;br /&gt; gen_defines.py failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.5.1/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; C:/ncs/v2.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:8 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;See also &amp;quot;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/CMakeFiles/CMakeError.log&amp;quot;.&lt;br /&gt;FAILED: build.ninja &lt;br /&gt;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe --regenerate-during-build -SC:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh -BC:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh\build&lt;br /&gt;ninja: error: rebuilding &amp;#39;build.ninja&amp;#39;: subcommand failed&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh\build&amp;#39; --target clean&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it.&lt;/p&gt;
&lt;p&gt;* Executing task: nRF Connect: Build: lis2dh/build (active)&lt;/p&gt;
&lt;p&gt;Building lis2dh&lt;br /&gt;C:\Windows\system32\cmd.exe /d /s /c &amp;quot;west build --build-dir c:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build c:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh&amp;quot;&lt;/p&gt;
&lt;p&gt;[0/1] Re-running CMake...&lt;br /&gt;Loading Zephyr default modules (Zephyr base (cached)).&lt;br /&gt;-- Application: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh&lt;br /&gt;-- CMake version: 3.20.5&lt;br /&gt;-- Cache files will be written to: C:/ncs/v2.5.1/zephyr/.cache&lt;br /&gt;-- Zephyr version: 3.4.99 (C:/ncs/v2.5.1/zephyr)&lt;br /&gt;-- Found west (found suitable version &amp;quot;1.1.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)&lt;br /&gt;-- Board: nrf52840dk_nrf52840&lt;br /&gt;-- Found host-tools: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found toolchain: zephyr 0.16.1 (C:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk)&lt;br /&gt;-- Found BOARD.dts: C:/ncs/v2.5.1/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts&lt;br /&gt;-- Found devicetree overlay: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/nrf52840dk_nrf52840.overlay&lt;br /&gt;-- Found devicetree overlay: nrf52840dk_nrf52840.overlay&lt;br /&gt;devicetree error: &amp;#39;sck-pin&amp;#39; appears in /soc/spi@40004000 in C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.pre, but is not declared in &amp;#39;properties:&amp;#39; in C:/ncs/v2.5.1/zephyr/dts/bindings\spi\nordic,nrf-spi.yaml&lt;br /&gt;-- In: C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr, command: C:/ncs/toolchains/c57af46cb7/opt/bin/python.exe;C:/ncs/v2.5.1/zephyr/scripts/dts/gen_defines.py;--dts;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.pre;--dtc-flags;&amp;#39;-Wno-unique_unit_address_if_enabled&amp;#39;;--bindings-dirs;C:/ncs/v2.5.1/nrf/dts/bindings;C:/ncs/v2.5.1/zephyr/dts/bindings;--header-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/include/generated/devicetree_generated.h.new;--dts-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/zephyr.dts.new;--edt-pickle-out;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/zephyr/edt.pickle;--vendor-prefixes;C:/ncs/v2.5.1/nrf/dts/bindings/vendor-prefixes.txt;--vendor-prefixes;C:/ncs/v2.5.1/zephyr/dts/bindings/vendor-prefixes.txt&lt;br /&gt;CMake Error at C:/ncs/v2.5.1/zephyr/cmake/modules/dts.cmake:279 (message):&lt;br /&gt; gen_defines.py failed with return code: 1&lt;br /&gt;Call Stack (most recent call first):&lt;br /&gt; C:/ncs/v2.5.1/zephyr/cmake/modules/zephyr_default.cmake:129 (include)&lt;br /&gt; C:/ncs/v2.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)&lt;br /&gt; C:/ncs/v2.5.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)&lt;br /&gt; CMakeLists.txt:8 (find_package)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;-- Configuring incomplete, errors occurred!&lt;br /&gt;See also &amp;quot;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/CMakeFiles/CMakeOutput.log&amp;quot;.&lt;br /&gt;See also &amp;quot;C:/ncs/v2.5.1/zephyr/samples/sensor/lis2dh/build/CMakeFiles/CMakeError.log&amp;quot;.&lt;br /&gt;FAILED: build.ninja &lt;br /&gt;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.exe --regenerate-during-build -SC:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh -BC:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh\build&lt;br /&gt;ninja: error: rebuilding &amp;#39;build.ninja&amp;#39;: subcommand failed&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\c57af46cb7\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\ncs\v2.5.1\zephyr\samples\sensor\lis2dh\build&amp;#39;&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Shaik Jareena.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473909?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 14:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55b00fe1-9ae7-4a08-913e-4babdb803df7</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;What build error do you get?&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: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473837?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 11:04:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdac7ec6-763a-42aa-811d-a8beb65e843e</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I forgot to mention that when I am adding like this below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
    status = &amp;quot;okay&amp;quot;;
    compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
    sck-pin = &amp;lt;0x23&amp;gt;;
    mosi-pin = &amp;lt;0x24&amp;gt;;
    miso-pin = &amp;lt;0x25&amp;gt;;
    cs-gpios = &amp;lt;&amp;amp;gpio1 1 GPIO_ACTIVE_LOW&amp;gt;;
    
    acc_lis2dh_spi: lis2dh@0 {
        compatible = &amp;quot;st,lis2dh&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        spi-max-frequency = &amp;lt;10000000&amp;gt;;
        irq-gpios = &amp;lt;&amp;amp;gpio1 2 1&amp;gt;;
        label = &amp;quot;LIS2DH&amp;quot;;
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am facing cmake errors and i am not able to build even&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;[{
	&amp;quot;resource&amp;quot;: &amp;quot;/c:/ncs/v2.5.1/zephyr/cmake/modules/dts.cmake&amp;quot;,
	&amp;quot;owner&amp;quot;: &amp;quot;nrf-connect&amp;quot;,
	&amp;quot;severity&amp;quot;: 8,
	&amp;quot;message&amp;quot;: &amp;quot;CMake Error at C:/ncs/v2.5.1/zephyr/cmake/modules/dts.cmake:279 (message):&amp;quot;,
	&amp;quot;source&amp;quot;: &amp;quot;cmake&amp;quot;,
	&amp;quot;startLineNumber&amp;quot;: 279,
	&amp;quot;startColumn&amp;quot;: 1,
	&amp;quot;endLineNumber&amp;quot;: 279,
	&amp;quot;endColumn&amp;quot;: 2147483647
}]&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So, If i solve this only I can build my lis2dh12 application. So, can you please provide the correct .overlay file for nrf52840.&lt;/p&gt;
&lt;p&gt;Your help is more Appreciable.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Shaik Jareena.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473828?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2024 10:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b1bbce2-e76e-45e2-995a-ece35fbf79f0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you probe the SCLK, do you see any clock activity when you start the program?&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: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473679?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2024 14:07:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:792fd1d7-6048-433c-afc1-7f6ab6572d64</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have added this pins like below mentioned and can you please, find this below.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi1 {
    status = &amp;quot;okay&amp;quot;;
    compatible = &amp;quot;nordic,nrf-spi&amp;quot;;
    sck-pin = &amp;lt;0x23&amp;gt;;
    mosi-pin = &amp;lt;0x24&amp;gt;;
    miso-pin = &amp;lt;0x25&amp;gt;;
    cs-gpios = &amp;lt;&amp;amp;gpio1 1 GPIO_ACTIVE_LOW&amp;gt;;
    
    acc_lis2dh_spi: lis2dh@0 {
        compatible = &amp;quot;st,lis2dh&amp;quot;;
        reg = &amp;lt;0&amp;gt;;
        spi-max-frequency = &amp;lt;10000000&amp;gt;;
        irq-gpios = &amp;lt;&amp;amp;gpio1 2 1&amp;gt;;
        label = &amp;quot;LIS2DH&amp;quot;;
    };
};&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;And after this also, I am facing same issue device is not ready issue.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks &amp;amp; Regards,&lt;/div&gt;
&lt;div&gt;Shaik Jareena.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473603?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2024 11:04:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ed102f-bca4-41db-9409-6001ed6e49da</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Where do you specify the SPI pins such as SCLK, CS, MOSI, MISO?&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: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473549?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2024 06:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deaf959e-dad5-4220-a7fe-63216953f53b</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, can you please, open this ticket by mistakenly it was closed when i want to checking for the answer. So, can you please kindly open this ticket.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Shiak Jareena.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LIS2DH12 device is not ready issue</title><link>https://devzone.nordicsemi.com/thread/473543?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2024 05:10:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d5397c1-0cae-4220-bf98-cb485e8ae0bb</guid><dc:creator>Jareena</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I forgot to mention i am working with nrf connect sdk v2.5.1 , I do not have much more time. So, can you please, give response as early as possible.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Shaik Jareena.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>