<?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>nRF52833 SDK 16.0.0 Problems initialization SPI Master</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88113/nrf52833-sdk-16-0-0-problems-initialization-spi-master</link><description>Hello everyone! 
 I am trying to add a SPI Master instance for my custom PCB, im using spi example as reference but im having a specific problem, and it is that the program dont pass the SPI initialization code line (not even return a error code). 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Fri, 20 May 2022 14:26:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88113/nrf52833-sdk-16-0-0-problems-initialization-spi-master" /><item><title>RE: nRF52833 SDK 16.0.0 Problems initialization SPI Master</title><link>https://test-devzone.nordicsemi.com/thread/368856?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 14:26:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fc05a50-cbd5-4604-9742-0edb2beba671</guid><dc:creator>user113084</dc:creator><description>&lt;p&gt;Hi Edvin TY for youy answer, i manage to solve the problem. It was that i migrate my project from nrf52832 to nrf52833, and i was missing a defining on the makefile, specifically i keep the define &amp;quot;-DNRF52&amp;quot; instead of &amp;quot;-DNRF52833&amp;quot;, that make that the whole port 1 of the mcu out of range for the code. So how my SPI pins are in the port 1 at the moment i try to initialize them it seem like everything crash. Hope this can help someone in the future.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 SDK 16.0.0 Problems initialization SPI Master</title><link>https://test-devzone.nordicsemi.com/thread/368829?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 12:12:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183ce726-e2a3-46fe-b333-dccc8f33422c</guid><dc:creator>user26071</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you tried stepping through your code? What happens when you execute line 12 in your snippet? Does it return? Using a debugger and actually checking what happens inside this function can be useful if it doesn&amp;#39;t return at all.&lt;/p&gt;
&lt;p&gt;Not knowing your HW or how the&amp;nbsp;turn_on_led() function works, I don&amp;#39;t know how to interpret that. You checked that calling&amp;nbsp;turn_on_led(RGB_LEDS_B) and then turn_on_led(RGB_LEDS_G) actually turns on the green LED even if the red was turned on first?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have a debugger that you can use to step through the code?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>