<?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>SPI write issue in nrf52 EVK (S132)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64564/spi-write-issue-in-nrf52-evk-s132</link><description>Hi, 
 I have a SPI Peripheral connected with nrf52832 EVK to check working of SPI interface. 
 I am writing a 10 bytes of data to a specific address and read back from specific address. (loopback) 
 But this is not working fine. I am receiving some junk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jan 2022 20:51:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64564/spi-write-issue-in-nrf52-evk-s132" /><item><title>RE: SPI write issue in nrf52 EVK (S132)</title><link>https://devzone.nordicsemi.com/thread/350080?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 20:51:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e31faaa-8da1-4854-8bd0-796dc1f04cf6</guid><dc:creator>embeddedER</dc:creator><description>&lt;p&gt;Hi Meghana,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you make this work eventually? We are planning to use the same flash chip.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI write issue in nrf52 EVK (S132)</title><link>https://devzone.nordicsemi.com/thread/263778?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 09:45:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:858a71de-c587-4e7f-b5b1-ca5b7278fbf0</guid><dc:creator>meghana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes I&amp;#39;m referring nRF52832 DK and using same&amp;nbsp;DK to bring up the peripherals with ble_app_uart example code along with nrf_drv_spi(legacy) drivers and also I tried with the spi mode 3. But the issue is same as previous mail that i have already sent you.&lt;/p&gt;
&lt;p&gt;I am receiving junk values (some bytes are having proper data and some bytes are junk)&lt;/p&gt;
&lt;p&gt;kindly help us to solve the above issue..&lt;/p&gt;
&lt;p&gt;As u said in last mail i will check with&amp;nbsp;&lt;span&gt;nrfx_spim driver and will let u know the results of it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Note: Initially i worked with nRF52810 DK with the software&amp;nbsp;&lt;span&gt;ble_app_uart along with&lt;/span&gt;&amp;nbsp;same SPI IC (using nrf_drv_spi legacy drivers) Its working fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Meghana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI write issue in nrf52 EVK (S132)</title><link>https://devzone.nordicsemi.com/thread/263608?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 12:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:316e338d-659f-497d-b909-a7722a92eeeb</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Meghana,&lt;/p&gt;
[quote user=""]nrf52832 EVK[/quote]
&lt;p&gt;Are you here referring to the &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52-DK"&gt;nRF52832 DK&lt;/a&gt;? I am just asking to avoid making any wrong assumptions.&lt;/p&gt;
[quote user=""]Software used : nRF5_SDK_16.0.0_98a08e2\examples\ble_peripheral\ble_app_uart\pca10040\s132\ses[/quote]
&lt;p&gt;By this, I assume you mean that you are working out of the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/ble_sdk_app_nus_eval.html"&gt;ble_app_uart example&lt;/a&gt;, with the addition of the SPI code.&lt;br /&gt;Which SPI example have you used as you reference here?&lt;br /&gt;I would recommend that you make use of the nrfx_spim driver directly, since the nrf_drv_* drivers are legacy.&lt;br /&gt;&lt;br /&gt;Could you perform another test where you use SPI mode 3, instead of 0, and let me know what the results are?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>