<?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>SPIM - MISO connection has very low level</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21985/spim---miso-connection-has-very-low-level</link><description>Hi, 
 i used the SPIM example to create a connection with my ads1256. on my breadboard it worked properly. now i switched to a layouted board and every SPI pin is working nicely EXCEPT for the Miso pin. Thing is when i measure the voltage level with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 May 2017 11:14:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21985/spim---miso-connection-has-very-low-level" /><item><title>RE: SPIM - MISO connection has very low level</title><link>https://devzone.nordicsemi.com/thread/86264?ContentTypeID=1</link><pubDate>Tue, 16 May 2017 11:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb3a73b3-685f-464c-9f27-82e0daa1c4af</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The SPI driver in the SDK (nrf_drv_spi.c) will configure the CS pin so that its active low, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/structnrf__drv__spi__config__t.html#a1f5f99c795ce50863cb244d771b756d0"&gt;this&lt;/a&gt; Infocenter page. Quoting the documentation:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Slave Select pin number: Set to NRF_DRV_SPI_PIN_NOT_USED if this signal is not needed. The driver supports only active low for this signal. If the signal should be active high, it must be controlled externally.&lt;/em&gt; So in your case you will have to use the GPIO abstraction(nrf_gpio.h) abstraction to control the CS pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM - MISO connection has very low level</title><link>https://devzone.nordicsemi.com/thread/86263?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 21:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bff67a68-893c-4a6e-88ec-72b4b337f5e6</guid><dc:creator>uC_newbie</dc:creator><description>&lt;p&gt;Hey Bjorn,&lt;/p&gt;
&lt;p&gt;thank you very much for your reply! i was able to resolve my issue and it was apparently due to the SPI-configuration pulling /CS up at points where the ADS1256 needed it to be low for a correct data transfer. i tied /CS permanently down to GND (as i only communicate with the ADS via SPI) and everything is working as intended. actually quite a malicious behaviour as it looked like a grounding issue.&lt;/p&gt;
&lt;p&gt;but im curious:
I used the SPIM example from the DK as a basis for my code. how does nrf52832 change the /CS during communication? when is chip select turned up? maybe i just have not understood the SPI protocol correctly yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM - MISO connection has very low level</title><link>https://devzone.nordicsemi.com/thread/86262?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 12:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d67ab02-7d3d-40a0-b1c5-3f755bb6b424</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;So the ADS1256 is a breakout board that you connect to a custom nRF51/52 board? Have you been developing on one of our DKs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM - MISO connection has very low level</title><link>https://devzone.nordicsemi.com/thread/86261?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 14:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:871b2c8e-606a-4294-aca5-8937d6d0c242</guid><dc:creator>uC_newbie</dc:creator><description>&lt;p&gt;Hi, thanks for your reply.&lt;/p&gt;
&lt;p&gt;i checked every ads1256 pin and all voltage levels are correct except for the MISO pin. because the observed phenomenon switches with the programming of the MISO pin i dont believe this is hardware related.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM - MISO connection has very low level</title><link>https://devzone.nordicsemi.com/thread/86260?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 11:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:643d5988-7c42-4e46-90ef-74616fc5dda5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;It sound like you have a power issue or that the MISO pin is pulled down through a short somewhere. Could you verify that the supply voltage to the ADS1256 and that there isnt any shorts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>