<?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>[esayDMA] SPI Communication btw nRF52 series and intanRHD(ADC)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111796/esaydma-spi-communication-btw-nrf52-series-and-intanrhd-adc</link><description>I am implementing SPI communication between the intanRHD2132 (ADC) and nRF52840. 
 I need to periodically send commands(READ, WRITE, etc.) to the IntanRHD2132(ADC) at regular intervals(TIME_TO_WAIT_US), with each command being 16 bits (2 bytes) in size</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jun 2024 15:18:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111796/esaydma-spi-communication-btw-nrf52-series-and-intanrhd-adc" /><item><title>RE: [esayDMA] SPI Communication btw nRF52 series and intanRHD(ADC)</title><link>https://devzone.nordicsemi.com/thread/489581?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 15:18:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47d4da6e-d4be-4951-8ff9-ed41aca7c200</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;you can use nrfx drivers, or use zephyr api and in the overlay specify spim&amp;nbsp;as a compatable property.&lt;/p&gt;
&lt;p&gt;we do have a lesson on interfacing a sensor with nrf spi peripheral:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/topic/exercise-1-10/"&gt;interfacing a sensor with spi&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [esayDMA] SPI Communication btw nRF52 series and intanRHD(ADC)</title><link>https://devzone.nordicsemi.com/thread/487822?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2024 05:01:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d8303c2-5845-421f-b0fc-19e209278860</guid><dc:creator>seongmincho</dc:creator><description>&lt;div class="flex-shrink-0 flex flex-col relative items-end"&gt;
&lt;div&gt;
&lt;div class="pt-0.5 juice:pt-0"&gt;
&lt;div class="gizmo-bot-avatar flex h-6 w-6 items-center justify-center overflow-hidden rounded-full juice:h-8 juice:w-8"&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;I missed the notification and just saw your reply now.&lt;/div&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;I mistakenly mentioned SPI, but I am actually using SPIM.&lt;/div&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;The key points of my question are as follows:&lt;/div&gt;
&lt;div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"&gt;- The code above is programmed to use SPIM (+easyDMA). I am wondering if I am using easyDMA correctly.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [esayDMA] SPI Communication btw nRF52 series and intanRHD(ADC)</title><link>https://devzone.nordicsemi.com/thread/487477?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 10:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab9c3765-c992-4962-8911-7377636de709</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote user=""]To improve the stability of execution, I aim to minimize delay by using easyDMA. Is the method I used (easyDMA) appropriate?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;as per the product specification, SPI is deprecated, and you should use spim which is spi master with easydma.&lt;/p&gt;
[quote user=""]When debugging the addresses of uint8_t tx_buf_array[68][2]; and uint8_t rx_buf_array[68][2];, I found that they are not contiguous[/quote]
&lt;p&gt;I think that part is done by the compiler, and you don&amp;#39;t have control over it.&lt;/p&gt;
[quote user=""]Also, is the method of assigning addresses to these variables correct (not implemented in the code)?[/quote]
&lt;p&gt;I did not get you, what do you mean? can you elaborate more?&lt;/p&gt;
[quote user=""]Are there any additional areas that need further optimization?[/quote]
&lt;p&gt;I would suggest going through the sample codes provided in the NCS and use them as per your use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>