<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>nRF Connect SDK v1.9.1 - spi and i2c - easy DMA</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88316/nrf-connect-sdk-v1-9-1---spi-and-i2c---easy-dma</link><description>Hi, I am trying to implement spi or i2c communication with a sensor using dma in master mode. can anyone give me some sample code on how to get spi/i2c peripheral over easy DMA. Or the existing drivers for SPI and I2C master are already using dma itself</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 27 May 2022 13:51:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88316/nrf-connect-sdk-v1-9-1---spi-and-i2c---easy-dma" /><item><title>RE: nRF Connect SDK v1.9.1 - spi and i2c - easy DMA</title><link>https://test-devzone.nordicsemi.com/thread/369806?ContentTypeID=1</link><pubDate>Fri, 27 May 2022 13:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b76c4a40-e2e8-4d40-8843-39e855de811e</guid><dc:creator>user90815</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please have a look at this guide: &lt;a href="https://test-devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/peripherals/posts/twi-ic2-implementation-with-nrfx-twis-driver"&gt;TWI/I2C implementation with nRFx TWIS Driver&lt;/a&gt;.&lt;/p&gt;
[quote user=""]Or the existing drivers for SPI and I2C master are already using dma itself?[/quote]
&lt;p&gt;Yes, the SPIM-driver and TWI&lt;span style="text-decoration:underline;"&gt;M&lt;/span&gt;-driver are both using easyDMA.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Serial Peripheral Interface Master with EasyDMA (SPIM) driver. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrfx/drivers/spim/index.html?highlight=spim"&gt;SPIM-driver documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Two Wire Interface Master with EasyDMA (TWIM) peripheral driver. &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrfx/drivers/twim/index.html?highlight=twim"&gt;TWIM-driver documentation&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
[quote user=""]how exactly they are implementing it?[/quote]
&lt;p&gt;Please have a brief look at the documentation. Which concepts would you like to learn more about?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>