<?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>nrf9160 SPI without CSn</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103921/nrf9160-spi-without-csn</link><description>Hi, 
 I have a question regarding the configuration and implementation of the SPI interface on nRF9160 using nRF Connect SDK 1.9.2. We are trying to connect Texas Instruments AMC3306M25DW ADC via SPI to nRF9160 to record the bit stream into memory. Since</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Sep 2023 10:54:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103921/nrf9160-spi-without-csn" /><item><title>RE: nrf9160 SPI without CSn</title><link>https://devzone.nordicsemi.com/thread/448319?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 10:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a76b3c70-e5ac-4845-b486-97874b1c4024</guid><dc:creator>e-va</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;this is our datasheet &lt;a id="" href="https://www.ti.com/lit/ds/symlink/amc3306m25.pdf"&gt;https://www.ti.com/lit/ds/symlink/amc3306m25.pdf&lt;/a&gt; it looks like the same that you linked in an earier comment.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI without CSn</title><link>https://devzone.nordicsemi.com/thread/448255?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 07:25:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b77eda1-d13a-4b44-ae2d-db03ac0d690a</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please share the datasheet for the device you are using so we can be sure that we are working with the same documentation. We need to make sure that the interface used is compatible with both your ADC and the peripheral interface you set up for the nRF9160.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI without CSn</title><link>https://devzone.nordicsemi.com/thread/447752?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 13:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3936db45-1caa-42ed-a26d-040c3ac7de8b</guid><dc:creator>e-va</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see how to use I2C for the interface defined in the ADC datasheet. SPI seems a perfect fit.&lt;/p&gt;
&lt;p&gt;We have found out in the meantime that we are in fact receiving data using the functions provided by the SDK, however the spi_transceive function does not return after the number of bytes defined in the buffer have been received. It will wait for the CS line to de-assert, which I think is not the intended behavior. Is there a way to receive from SPI only a limited amount of data, regardless of CS line state?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI without CSn</title><link>https://devzone.nordicsemi.com/thread/447654?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2023 08:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d7a6f94-c290-4d23-8d47-7515e615bbb2</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I got a second opinion from a colleague, and he pointed out that in the &lt;a href="https://www.ti.com/lit/ds/symlink/amc3306m25.pdf?ts=1695650698061&amp;amp;ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FAMC3306M25"&gt;datasheet&lt;/a&gt; for &lt;a href="https://www.ti.com/product/AMC3306M25#tech-docs"&gt;AMC3306M25&lt;/a&gt; there is no indication that the ADC supports SPI interface, but does support I2C/TWI interface.&lt;/p&gt;
&lt;p&gt;What you need to do is to add an &lt;strong&gt;I2C&lt;/strong&gt; node to your configuration.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I apologize for overlooking the mismatch in interface between your ticket and the datasheet.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI without CSn</title><link>https://devzone.nordicsemi.com/thread/447545?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 15:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d7f4b19-715b-4b78-af1d-73830989f08c</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello again, &lt;/p&gt;
&lt;p&gt;What is the reason for using NCS v1.9.2? The latest tagged release of NCS is currently v2.4.2. If you are in the starting phase of a project, you should consider to migrate to NCS v2.4.2. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;You can delete node properties by adding &lt;/strong&gt;&lt;code&gt;/delete-property/ name-of-unwanted-property;&lt;/code&gt;&lt;strong&gt; to the node configuration.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Is this configuration for the ADC or the nRF9160?&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;If it is for the nRF9160 side: &lt;/strong&gt;the configuration should be nrf-spim, because the nRF9160 would be the master and the ADC the slave. The SPI master will not need the CSn pin, so that issue is taken care of by switching to nrf-spim. Delete the miso-pin property as described above. &lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;strong&gt;If it is for the ADC: &lt;/strong&gt;Delete the unwanted properties as described above.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 SPI without CSn</title><link>https://devzone.nordicsemi.com/thread/446936?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2023 15:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7003cafd-759d-4d7f-85fc-05558c3426cc</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have been assigned this ticket, and will get back to you as soon as I can.&lt;/p&gt;
&lt;p&gt;Thank you for your patience.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>