<?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>Reading ADXL355 via SPI with the nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109650/reading-adxl355-via-spi-with-the-nrf52840</link><description>Hello, 
 I want to read the data from an accelerometer ADXL355. I tried to follow a little bit the process of how is being done in the lesson 5 exercise 1 of the nRF intermediate course. 
 For now, I just wanted to develop the read_reg and write_reg functions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Apr 2024 11:42:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109650/reading-adxl355-via-spi-with-the-nrf52840" /><item><title>RE: Reading ADXL355 via SPI with the nrf52840</title><link>https://devzone.nordicsemi.com/thread/477087?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 11:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75f6a496-f37c-493d-8bdd-c39a3f631d8b</guid><dc:creator>Adrian1504</dc:creator><description>&lt;p&gt;Thank you so much! I tried it, and it is still not compiling. I guess I have to modify the _core and _spi files from the ADXL355 driver. I am getting an error with the #include&amp;lt;linux&amp;gt; files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading ADXL355 via SPI with the nrf52840</title><link>https://devzone.nordicsemi.com/thread/476400?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2024 17:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51d421b6-41bc-4680-a982-69119c4c4d1d</guid><dc:creator>mk102</dc:creator><description>&lt;p&gt;Hi Adrian,&lt;br /&gt;&lt;br /&gt;It does look like all the necessary files are present.&amp;nbsp;&lt;br /&gt;- You can add the .h and .c files under the src folder, and add them to CMakeLists.txt. (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/configuring_app/cmake/index.html"&gt;link&lt;/a&gt;)&lt;br /&gt;- .yaml file goes under &amp;quot;dts/bindings&amp;quot; folder. (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94489/custom-devicetree-binding-file-is-not-found-when-placed-in"&gt;link&lt;/a&gt;)&lt;br /&gt;-&amp;nbsp;As per overlay.dts, I usually do it in a slightly different way and&amp;nbsp;am not sure if his above implementation made for Raspberry Pi&amp;nbsp;&amp;amp; Linux combination works or not. You can do it in a simpler way, just go through some .overlay files for nrf platform&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.6-branch/samples/sensor/bme68x_iaq/boards/nrf9160dk_nrf9160_ns.overlay"&gt;link1&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94489/custom-devicetree-binding-file-is-not-found-when-placed-in"&gt;link2&lt;/a&gt;&amp;nbsp;etc.,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading ADXL355 via SPI with the nrf52840</title><link>https://devzone.nordicsemi.com/thread/476388?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2024 09:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:045642c8-745f-4cb9-be3c-afac081f21af</guid><dc:creator>Adrian1504</dc:creator><description>&lt;p&gt;Hi!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you so much for the information. I read what you included. I think it will be super helpful.&lt;/p&gt;
&lt;p&gt;I found this repository:&amp;nbsp;&lt;a id="" href="https://github.com/puranjaymohan/GSoC-2021-DOC/tree/master/src"&gt;https://github.com/puranjaymohan/GSoC-2021-DOC/tree/master/src&lt;/a&gt;&lt;br /&gt;I think here are all the files that I need right? So i would just need to include this files into my project to have the drivers, and the binding?&lt;/p&gt;
&lt;p&gt;Otherwise, how can I copy the binding from the 345 for example and work it? Is there a folder which I can enter to copy the file?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Again, thank you for the information!&lt;br /&gt;Best regards, Adrian Lopez&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading ADXL355 via SPI with the nrf52840</title><link>https://devzone.nordicsemi.com/thread/475790?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 00:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25662fda-f9d6-4d74-93ce-a2be34e16b25</guid><dc:creator>mk102</dc:creator><description>&lt;p&gt;Hi Adrian,&lt;br /&gt;&lt;br /&gt;ADXL355 isn&amp;#39;t in the list of devices&amp;nbsp;already included in Zephyr&amp;#39;s device tree bindings.&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/bindings.html#dt-vendor-adi"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/build/dts/api/bindings.html#dt-vendor-adi&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;Therefore, I am afraid that you have to create the bindings yourselves.&amp;nbsp;&lt;br /&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/troubleshooting-the-devicetree/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/troubleshooting-the-devicetree/&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;If ADXL355 interface is similar to 345, 362, 367 etc., maybe you can&amp;nbsp;use them as reference.&lt;br /&gt;&lt;br /&gt;As for samples that read data from accelerometer without using SPI, I assume the &amp;quot;device drivers&amp;quot; are already implemented and are hidden away.&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-7-device-driver-model/topic/device-driver-model-2/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-7-device-driver-model/topic/device-driver-model-2/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>