<?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>current sensing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82541/current-sensing</link><description>Hello everyone, i&amp;#39;m trying to deal with the ACS714T sensor but i can&amp;#39;t find any samples or guide through internet the communication need to be done through ADC and SAADC HAL but i don&amp;#39;t know from where to begin with this i tried the ADC sample on the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Dec 2021 10:06:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82541/current-sensing" /><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/343351?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 10:06:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8f5fd97-7561-4d75-9a6c-3dfc5cfa3a65</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user="Rihab"] it compiled&amp;nbsp;[/quote]
&lt;p&gt;Great, I am happy to hear that!&lt;/p&gt;
[quote user="Rihab"]i need to get &lt;span&gt;the current and average values&lt;/span&gt;&amp;nbsp;from the acs714 sensor&amp;nbsp;&lt;br /&gt;do you know how to proceed to collect those values through ADC please&amp;nbsp;&lt;br /&gt;can help me with that please&amp;nbsp;&lt;br /&gt;do i need to add things to the prj.conf about the sensor ?[/quote]
&lt;p&gt;I have never worked with the acs714 personally, but from your description I assume that you are supposed to measure a voltage, and the process the measured value to get the current?&lt;br /&gt;If so, you could &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h185sjwm5882m1bcimiad82dnf4kcy0b"&gt;use the same setup as Simon describes in the tutorial you looked at earlier&lt;/a&gt;&amp;nbsp;where you make sure that the pin you would like to measure on the acs714 is connected to the&amp;nbsp;NRF_SAADC_INPUT_AIN0 pin on the NRF, or change the pin to match your connection.&lt;br /&gt;How do you need sampling to be triggered in your application? In the tutorial it just samples every 200 ms, but what are the requirements for your application?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342901?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 11:40:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee058577-9aec-4a22-b227-33b7674a2c81</guid><dc:creator>Rihab</dc:creator><description>&lt;p&gt;yeah, it compiled&amp;nbsp;&lt;br /&gt;i need to get &lt;span&gt;the current and average values&lt;/span&gt;&amp;nbsp;from the acs714 sensor&amp;nbsp;&lt;br /&gt;do you know how to proceed to collect those values through ADC please&amp;nbsp;&lt;br /&gt;can help me with that please&amp;nbsp;&lt;br /&gt;do i need to add things to the prj.conf about the sensor ?&lt;br /&gt;how can i proceed to get them displayed please&amp;nbsp;&lt;br /&gt;i appreciate your help very much&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342896?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 11:02:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05d27d81-7bac-4113-92d9-f50fe841910d</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Oh, my mistake, after closer inspection it seems the tutorial you are following does things a little bit differently - could you change your overlay file to contain just the following:&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/ {

    zephyr,user {

        /* adjust channel number according to pinmux in board.dts */

        io-channels = &amp;lt;&amp;amp;adc 1&amp;gt;;

    };

};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Let me know if it compiles with this change, or what the error log says if it does not.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342761?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 15:05:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:143d6b66-77f2-4872-b538-fdb8a332e40b</guid><dc:creator>Rihab</dc:creator><description>&lt;p&gt;here&amp;#39;s the output after the error&amp;nbsp;&lt;span&gt;&amp;quot; create_nordic_project.py failed(1)&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Creating solution adc.emProject
C:/Users/rzaafouri/ncs/v1.7.0/toolchain/opt/bin/cmake.exe -GNinja -DBOARD=nrf5340dk_nrf5340_cpuapp_ns -DBOARD_DIR=C:\Users\rzaafouri\ncs\v1.7.0\zephyr\boards\arm\nrf5340dk_nrf5340 -BC:\Users\rzaafouri\ncs\v1.7.0\zephyr\samples\drivers\adc\build_nrf5340dk_nrf5340_cpuapp_ns -SC:\Users\rzaafouri\ncs\v1.7.0\zephyr\samples\drivers\adc -DNCS_TOOLCHAIN_VERSION=1.7.0 -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:\Users\rzaafouri\ncs\v1.7.0\toolchain\segger_embedded_studio/html/configure_nordic_project_menuconfig.py
-- Application: C:/Users/rzaafouri/ncs/v1.7.0/zephyr/samples/drivers/adc
-- Zephyr version: 2.6.99 (C:/Users/rzaafouri/ncs/v1.7.0/zephyr), build: v2.6.99-ncs1
-- Found Python3: C:/Users/rzaafouri/ncs/v1.7.0/toolchain/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Found west (found suitable version &amp;quot;0.11.1&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf5340dk_nrf5340_cpuapp_ns
-- Cache files will be written to: C:/Users/rzaafouri/ncs/v1.7.0/zephyr/.cache
-- Found dtc: C:/Users/rzaafouri/ncs/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: gnuarmemb (C:/Users/rzaafouri/ncs/v1.7.0/toolchain/opt)
-- Found BOARD.dts: C:/Users/rzaafouri/ncs/v1.7.0/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_ns.dts
-- Found devicetree overlay: C:/Users/rzaafouri/ncs/v1.7.0/zephyr/samples/drivers/adc/boards/nrf5340dk_nrf5340_cpuapp_ns.overlay
-- Configuring incomplete, errors occurred!
Including boilerplate (Zephyr base): C:/Users/rzaafouri/ncs/v1.7.0/zephyr/cmake/app/boilerplate.cmake
-- Using NCS Toolchain 1.7.0 for building. (C:/Users/rzaafouri/ncs/v1.7.0/toolchain/cmake)
Error: nrf5340dk_nrf5340_cpuapp_ns.dts.pre.tmp:741.2-742.1 syntax error
FATAL ERROR: Unable to parse input tree
CMake Error at C:/Users/rzaafouri/ncs/v1.7.0/zephyr/cmake/dts.cmake:219 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/Users/rzaafouri/ncs/v1.7.0/zephyr/cmake/app/boilerplate.cmake:553 (include)
  C:/Users/rzaafouri/ncs/v1.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  C:/Users/rzaafouri/ncs/v1.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:5 (find_package)



error: cmake failed
create_nordic_project.py failed (1)&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342752?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 14:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a86f8020-9c24-4652-ac52-65f8a99a0ee2</guid><dc:creator>Rihab</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;i even created a new project with the same items within and with the config you recommended in previous comments but unfortunately always the same error&amp;nbsp;&lt;br /&gt;&amp;quot; create_nordic_project.py failed(1) and i can&amp;#39;t open the project&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342746?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 14:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e6e72aa-a44c-4134-a3c9-5d9919693185</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;I just looked over your overlay file. Please change your adc section to instead be:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;adc{  

        compatible = &amp;quot;nordic,nrf_saadc,nrf_adc&amp;quot;;

        status = &amp;quot;okay&amp;quot;;

};&lt;/pre&gt;&lt;br /&gt;I.e remove the compatible line and add a semicolon at the end.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342739?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 14:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4f9eb10-183a-4ad4-ab43-ab85db4e7ee5</guid><dc:creator>Rihab</dc:creator><description>&lt;p&gt;what can i do please to figure out this issue, i can no longer&amp;nbsp;open my project&amp;nbsp;&lt;br /&gt;can you help me please&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342736?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 13:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8da90a1-649b-4a0c-8023-b1dd93e14f9c</guid><dc:creator>Rihab</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;i did changed the overlay file name but it doesn&amp;#39;t work anymore&lt;br /&gt;it&amp;#39;s not even opening&amp;nbsp;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1639058362464v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342732?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 13:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4acff6f9-943a-4afc-8e35-dce38320812e</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;The tutorial you linked used NCS v1.4.0, but the board names has since changed, so you will need to rename the overlay file from&amp;nbsp;&lt;span&gt;nrf5340dk_nrf5340_cpuappns to nrf5340dk_nrf5340_cpuapp_ns for this to work with newer versions of the NCS SDK.&lt;br /&gt;Please try this, and let me know if the issue persists.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342724?ContentTypeID=1</link><pubDate>Thu, 09 Dec 2021 13:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da71178a-4389-46b9-8c58-ee5cee28ab2e</guid><dc:creator>Rihab</dc:creator><description>&lt;p&gt;Hello everyone,&lt;br /&gt;i created a new version of project based on ADC sample&amp;nbsp;&lt;br /&gt;on the NRF5340dk&amp;nbsp;&lt;br /&gt;but i think i&amp;#39;m missing something related to the overlay file&amp;nbsp;&lt;br /&gt;this is my project&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/p_5F00_adc.zip"&gt;devzone.nordicsemi.com/.../p_5F00_adc.zip&lt;/a&gt;&lt;br /&gt;i&amp;#39;m keeping getting the error of the device tree it says&amp;nbsp;&lt;strong&gt;#error &amp;quot;No suitable devicetree overlay specified&amp;quot;&lt;/strong&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;Rebuilding ‘C_COMPILER__app_’ from project ‘app/libapp.a’ from solution ‘build’ in configuration ‘Common’
2&amp;gt; Compiling ‘main.c’
2&amp;gt; C:\Users\rzaafouri\ncs\v1.7.0\toolchain\opt/bin/arm-none-eabi-gcc -DBUILD_VERSION=v2.6.99-ncs1 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,13570 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,13570 -DKERNEL -DNRF5340_XXAA_APPLICATION -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include -Izephyr/include/generated -IC:/Users/rzaafouri/ncs/v1.7.0/zephyr/soc/arm/nordic_nrf/nrf53 -IC:/Users/rzaafouri/ncs/v1.7.0/nrf/include -IC:/Users/rzaafouri/ncs/v1.7.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/Users/rzaafouri/ncs/v1.7.0/modules/hal/nordic/nrfx -IC:/Users/rzaafouri/ncs/v1.7.0/modules/hal/nordic/nrfx/drivers/include -IC:/Users/rzaafouri/ncs/v1.7.0/modules/hal/nordic/nrfx/mdk -IC:/Users/rzaafouri/ncs/v1.7.0/zephyr/modules/hal_nordic/nrfx/. -isystem C:/Users/rzaafouri/ncs/v1.7.0/zephyr/lib/libc/minimal/include -isystem c:/users/rzaafouri/ncs/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include -isystem c:/users/rzaafouri/ncs/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed -Os -imacros C:/Users/rzaafouri/ncs/v1.7.0/Projects/p_adc/build_nrf5340dk_nrf5340_cpuapp_ns/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -imacros C:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/Users/rzaafouri/ncs/v1.7.0/Projects/p_adc=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/Users/rzaafouri/ncs/v1.7.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/Users/rzaafouri/ncs/v1.7.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MF C:/Users/rzaafouri/ncs/v1.7.0/Projects/p_adc/build_nrf5340dk_nrf5340_cpuapp_ns/CMakeFiles\app.dir\src\main.c.obj.d -fno-diagnostics-show-caret -o CMakeFiles/app.dir/src/main.c.obj -c ../src/main.c
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:7:2:&#x1B;[m&#x1B;[K &#x1B;[01;31m&#x1B;[Kerror: &#x1B;[m&#x1B;[K#error &amp;quot;No suitable devicetree overlay specified&amp;quot;
2&amp;gt; In file included from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/arch/arm/aarch32/arch.h:20&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/arch/cpu.h:19&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/kernel_includes.h:33&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/kernel.h:17&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/zephyr.h:18&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[K../src/main.c:1&#x1B;[m&#x1B;[K:
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:81:17:&#x1B;[m&#x1B;[K &#x1B;[01;31m&#x1B;[Kerror: &#x1B;[m&#x1B;[K&amp;#39;&#x1B;[01m&#x1B;[KDT_N_S_zephyr_user_P_io_channels_LEN&#x1B;[m&#x1B;[K&amp;#39; undeclared here (not in a function)
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:2542:24:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin definition of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_CAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:560:36:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PROP&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:10:26:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PROP_LEN&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/sys/util_internal.h:84:26:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KUTIL_PRIMITIVE_CAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:2524:2:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KUTIL_CAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:2524:11:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_ROOT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:129:22:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PATH_INTERNAL&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:10:38:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PATH&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:31:28:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KADC_NUM_CHANNELS&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:81:17:&#x1B;[m&#x1B;[K &#x1B;[01;31m&#x1B;[Kerror: &#x1B;[m&#x1B;[K&amp;#39;&#x1B;[01m&#x1B;[KDT_N_S_zephyr_user_P_io_channels_IDX_0_VAL_input&#x1B;[m&#x1B;[K&amp;#39; undeclared here (not in a function)
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:2542:24:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin definition of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_CAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:1075:2:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PROP&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree/io-channels.h:274:2:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PHA_BY_IDX&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:32:2:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_IO_CHANNELS_INPUT_BY_IDX&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/sys/util_internal.h:84:26:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KUTIL_PRIMITIVE_CAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:2524:2:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KUTIL_CAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:2524:11:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_ROOT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/devicetree.h:129:22:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PATH_INTERNAL&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:32:30:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDT_PATH&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; In file included from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/toolchain/gcc.h:66&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/toolchain.h:43&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/kernel_includes.h:19&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/kernel.h:17&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/zephyr.h:18&#x1B;[m&#x1B;[K,
2&amp;gt;                  from &#x1B;[01m&#x1B;[K../src/main.c:1&#x1B;[m&#x1B;[K:
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:&#x1B;[m&#x1B;[K In function &amp;#39;&#x1B;[01m&#x1B;[Kmain&#x1B;[m&#x1B;[K&amp;#39;:
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:80:39:&#x1B;[m&#x1B;[K &#x1B;[01;31m&#x1B;[Kerror: &#x1B;[m&#x1B;[K&amp;#39;&#x1B;[01m&#x1B;[K__device_dts_ord_DT_N_S_zephyr_user_P_io_channels_IDX_0_PH_ORD&#x1B;[m&#x1B;[K&amp;#39; undeclared (first use in this function)
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/toolchain/common.h:124:26:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin definition of macro &amp;#39;&#x1B;[01m&#x1B;[K_DO_CONCAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:80:31:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[K_CONCAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:232:37:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDEVICE_NAME_GET&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:246:34:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDEVICE_DT_NAME_GET&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:61:33:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDEVICE_DT_GET&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:80:39:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Keach undeclared identifier is reported only once for each function it appears in
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/toolchain/common.h:124:26:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin definition of macro &amp;#39;&#x1B;[01m&#x1B;[K_DO_CONCAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:80:31:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[K_CONCAT&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:232:37:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDEVICE_NAME_GET&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[KC:/Users/rzaafouri/ncs/v1.7.0/zephyr/include/device.h:246:34:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDEVICE_DT_NAME_GET&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:61:33:&#x1B;[m&#x1B;[K &#x1B;[01;36m&#x1B;[Knote: &#x1B;[m&#x1B;[Kin expansion of macro &amp;#39;&#x1B;[01m&#x1B;[KDEVICE_DT_GET&#x1B;[m&#x1B;[K&amp;#39;
2&amp;gt; At top level:
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:38:16:&#x1B;[m&#x1B;[K &#x1B;[01;35m&#x1B;[Kwarning: &#x1B;[m&#x1B;[K&amp;#39;&#x1B;[01m&#x1B;[Ksample_buffer&#x1B;[m&#x1B;[K&amp;#39; defined but not used [&#x1B;[01;35m&#x1B;[K-Wunused-variable&#x1B;[m&#x1B;[K]
2&amp;gt; &#x1B;[01m&#x1B;[K../src/main.c:31:16:&#x1B;[m&#x1B;[K &#x1B;[01;35m&#x1B;[Kwarning: &#x1B;[m&#x1B;[K&amp;#39;&#x1B;[01m&#x1B;[Kchannel_ids&#x1B;[m&#x1B;[K&amp;#39; defined but not used [&#x1B;[01;35m&#x1B;[K-Wunused-variable&#x1B;[m&#x1B;[K]
Build failed&lt;/pre&gt;&lt;br /&gt;can you help me with this please&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: current sensing</title><link>https://devzone.nordicsemi.com/thread/342578?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 15:27:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84ab0e32-929d-40e5-8e02-25402035de18</guid><dc:creator>Rihab</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;i found this tutorial&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-2-ncs-v1-4-0#h185sjwm5882m1bcimiad82dnf4kcy0b"&gt;ADC conf&lt;/a&gt;&lt;br /&gt;i tried to make something similar but i don&amp;#39;t succeed to run it&amp;nbsp;&lt;br /&gt;i&amp;#39;m putting it below&amp;nbsp;&lt;br /&gt;please correct me&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/acs714-t.zip"&gt;devzone.nordicsemi.com/.../acs714-t.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>