<?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>Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87576/problem-of-communication-via-spi-between-nrf5340dk-and-ads1298</link><description>Hello everyone, 
 I&amp;#39;m working on a project right now and I want to use the ADS1298 analog to digital converter and configure it with NRF5340dk. Being a beginner I looked for libraries already developed for that, I didn&amp;#39;t find any! and I found a similar</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 May 2022 11:00:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87576/problem-of-communication-via-spi-between-nrf5340dk-and-ads1298" /><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366415?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 11:00:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4c0e82a-f61c-4d01-9d39-267ea6a87221</guid><dc:creator>@kar</dc:creator><description>&lt;p&gt;Indeed, I see that the functions k_queue_append and k_queue_remove do exactly the same thing as nrf_queue_push and nrf_queue_pop respectively. that&amp;#39;s what I need! It&amp;#39;s great!&lt;/p&gt;
&lt;p&gt;To conclude: &lt;br /&gt;1- The nRF5340 has a DPPI device and not PPI like the older nRF51/nRF52 series circuits. There is a separate driver for DPPI in nrfx, you can refer to this Zephyr example: &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1-1/samples/boards/nrf/nrfx/src/main.c."&gt;github.com/.../main.c.&lt;/a&gt;&lt;br /&gt;2- in karnel.h you can find all the functions equivalent to those defined in nrf_queue.h.&lt;/p&gt;
&lt;p&gt;thank you very much, for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366409?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 10:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a001397-b2c3-49ea-b947-6cf26317924f</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Does the queue API you linked to earlier have the functionality you need? ;)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/kernel/data_passing/queues.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/kernel/data_passing/queues.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I believe you only have to include kernel.h to use it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366404?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 09:51:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:666c5e80-b543-4d7f-a10b-9c87b76b9510</guid><dc:creator>@kar</dc:creator><description>&lt;p&gt;I use nRF connect SDK 1.7.0 in SEGGER Embedded Studio.&lt;br /&gt;Regarding PPI: after some research I found this: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85569/ppi-package-errors"&gt;devzone.nordicsemi.com/.../ppi-package-errors&lt;/a&gt;. &lt;br /&gt;so normally it&amp;#39;s ok for PPI.&lt;br /&gt;Now, as there is no nrf_queue.h (just like the ppi problem), I hope to find its equivalent too (nrfx_queue if it exists or....).&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What do you recommend?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you so much ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366387?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 08:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f50fc30f-40ea-4ff0-a95b-b22724644385</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;It looks like you&amp;#39;re still using the nRF5 SDK, there is no nrf_ppi.h in NCS.&lt;/p&gt;
&lt;p&gt;You won&amp;#39;t be able to use this SDK with your device, please switch to the nRF Connect SDK, I recommend using the nRF Connect extension in VSCode:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you&amp;#39;re up and running in the correct SDK, I believe the queue API is part of kernel.h in Zephyr.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366301?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 15:02:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ae4b66d-bbd3-4dbc-a636-032a322cae96</guid><dc:creator>@kar</dc:creator><description>&lt;p&gt;(sorry if I don&amp;#39;t understand quickly enough, this is the first time I&amp;#39;m using NRF and I&amp;#39;m not yet well adapted to its environment).&lt;/p&gt;
&lt;p&gt;I understand what you mean, I didn&amp;#39;t just copy and paste the code, I just try to add &lt;br /&gt;nrfx_ppi API (# include&amp;lt;nrfx_ppi.h&amp;gt;) to access the functions I need.&lt;/p&gt;
&lt;p&gt;for the queue module: &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/kernel/data_passing/queues.html."&gt;developer.nordicsemi.com/.../queues.html.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366288?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 14:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3e17e1c-8cc2-4564-a959-5aa8190861c4</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;For the PPI module please look through the nrfx PPI API and find the functions you need yourself.&lt;/p&gt;
&lt;p&gt;This is not the same API as the example was using, so you can&amp;#39;t just copy paste the code and expect it to work, you&amp;#39;ll have to find functions in the API to replace the functionality.&lt;/p&gt;
&lt;p&gt;What does the queue module do? There is probably something similar in Zephyr, but it might be called something else.&lt;/p&gt;
&lt;p&gt;-Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366280?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 13:55:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af22f9ae-8276-4a7f-a169-b3315b639204</guid><dc:creator>@kar</dc:creator><description>&lt;p&gt;thank you very much for your reply !&amp;nbsp;your help is very precious to me&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/index.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/index.html&lt;/a&gt;&amp;nbsp;I search for PPI driver I find nrfx_ppi.h and when I do this :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1651671563449v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;nrf_ppi.h oppens and&amp;nbsp; it shows me this errors :&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1651671653232v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and I can&amp;#39;t find the queue module !!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem of communication via SPI between nRF5340dk and ADS1298</title><link>https://devzone.nordicsemi.com/thread/366248?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 12:57:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e63c4cd-ad59-4b35-a040-fa1f3bb6cc37</guid><dc:creator>Einarh</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;This example you&amp;#39;re linking to seems to be written for the nRF5 SDK, but since you&amp;#39;re working with nRF5340 you&amp;#39;ll want to use the nRF Connect SDK (NCS) which uses Zephyr:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So to get the functionality you want up and running you&amp;#39;ll want to look into the APIs you need in Zephyr, which are luckily usually pretty easy to use:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/index.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/reference/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you have trouble getting started, and good luck on your project!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>