<?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>nrf21540 internal register read issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99369/nrf21540-internal-register-read-issues</link><description>Hi @ JONATHAN LL 
 Hope you are doing well. And thank you for your support in past questions. 
 I am using nrf21540DK, NCS version 2.3.0, and VSCODE studio as an IDE. 
 Currently, I am reading the internal registers of nrf21540 via the SPI interface.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 May 2023 13:23:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99369/nrf21540-internal-register-read-issues" /><item><title>RE: nrf21540 internal register read issues</title><link>https://devzone.nordicsemi.com/thread/424881?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 13:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adfd5f09-5251-4d21-997a-9fd13dbda625</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Thank you! No issue, as you told me that you were busy with some other tasks.&lt;/p&gt;
&lt;p&gt;In the future, I will create a new ticket for assistance &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; regards,&lt;/p&gt;
&lt;p&gt;Muhammad Usman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 internal register read issues</title><link>https://devzone.nordicsemi.com/thread/424763?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 09:20:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0914186-c1a4-4456-a1c6-b6506697f940</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Great! to see that you figured it out and sorry for not being able to get back to you sooner.&lt;br /&gt;&lt;br /&gt;Nice work!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 internal register read issues</title><link>https://devzone.nordicsemi.com/thread/424645?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 16:42:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5aa4375-8426-4606-9d2c-127a4970580d</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi JONATHAN LL&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope you are doing well! I tried and the issue was resolved. Now I am able to read the internal registers like part # etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The only change in the above code pasted is to comment the&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;//| SPI_MODE_CPOL&lt;br /&gt;//| SPI_MODE_CPHA&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;means make it 0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1683650426057v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;First is clock&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2nd is MOSI , 0x94 0x00 for reading part # command&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3rd one is MISO , 0x0C , part number received&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The last one is the CSN&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks for the help!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Muhammad Usman&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 internal register read issues</title><link>https://devzone.nordicsemi.com/thread/424203?ContentTypeID=1</link><pubDate>Mon, 08 May 2023 10:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6caf9ba5-11f4-4d7a-bab6-d4b3522e22e6</guid><dc:creator>Muhammad Usman</dc:creator><description>&lt;p&gt;Hi JONATHAN LL&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thank you for that, sure I will wait for that!&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Muhammad Usman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 internal register read issues</title><link>https://devzone.nordicsemi.com/thread/424062?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 15:32:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:105a4061-5637-4554-8e16-000b98a2d6a0</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Muhammad,&lt;br /&gt;&lt;br /&gt;Will have a look at this next week, have been occupied&amp;nbsp;with some urgent tasks. Thanks for your&amp;nbsp;patience.&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>