<?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>SPIM Recevie data is allways 1bit right shift</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88312/spim-recevie-data-is-allways-1bit-right-shift</link><description>SDK : S140 17.1.0 
 CHIP : nRF52833 
 
 I try to write and read data by SPIM0. 
 Wirte works find but when read data oscilloscope like this. 
 
 
 But, receive buffer data is like this. 
 
 temp_rx_buf[0] = 0x87 is correct value. 1000 0111 
 Not 0100</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 30 May 2022 05:32:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88312/spim-recevie-data-is-allways-1bit-right-shift" /><item><title>RE: SPIM Recevie data is allways 1bit right shift</title><link>https://test-devzone.nordicsemi.com/thread/369868?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 05:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ca105f-77a7-4f74-b511-1b96eab08f69</guid><dc:creator>user112094</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I solved this problem to setting spim mode in spim configuration.&lt;br /&gt;NRF_SPIM_MODE_0 to&amp;nbsp;NRF_SPIM_MODE_1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIM Recevie data is allways 1bit right shift</title><link>https://test-devzone.nordicsemi.com/thread/369740?ContentTypeID=1</link><pubDate>Fri, 27 May 2022 09:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ce30e23-0054-4d6b-be2c-977bb9053bf6</guid><dc:creator>user14926</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is the SPIM0 configured using the same SPI mode (see Table 2 in&amp;nbsp;&lt;a title="Pin configuration" href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/spim.html?cp=4_1_0_5_22_2#concept_v4x_5w2_wr"&gt;Pin configuration&lt;/a&gt;), as supported by the SPI slave device you are interfacing?&lt;/p&gt;
&lt;p&gt;What slave device are you interfacing?&lt;/p&gt;
&lt;p&gt;Can you post your SPIM configuration and code for performing transactions?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>