<?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 example: Application doesn&amp;#39;t toggle LED</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55558/spi-example-application-doesn-t-toggle-led</link><description>Hey guys, 
 I&amp;#39;m working with the Laird DVK-BL652 and the Nordic SDK v.14.2.0 with Eclipse (Kepler) and try the example &amp;quot;SPI Master&amp;quot;. I didn&amp;#39;t modify this example but after compiling and flashing the application doesn&amp;#39;t toggle LED... I think the application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2019 15:39:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55558/spi-example-application-doesn-t-toggle-led" /><item><title>RE: SPI example: Application doesn't toggle LED</title><link>https://devzone.nordicsemi.com/thread/225714?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 15:39:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42fe2166-9544-422e-a6ea-634758cd0bac</guid><dc:creator>Mojo</dc:creator><description>&lt;p&gt;There are to type of error indicator in Eclipse. &amp;nbsp;One is from the IDE indexer which parse the code. &amp;nbsp;This works well if you have a native Eclipse projet not makefile type. &amp;nbsp;The other errors are the actual project compilation errors which are in the build console when you build. &amp;nbsp;Those are the real errors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BTW. SES uses GCC compiler version 8 and stripped out C++ supports.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI example: Application doesn't toggle LED</title><link>https://devzone.nordicsemi.com/thread/225509?ContentTypeID=1</link><pubDate>Sun, 15 Dec 2019 17:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9b91c88-0308-4a20-a0cc-08e3c61f0dc5</guid><dc:creator>Christoph_I</dc:creator><description>&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span title=""&gt;Hey Mojo,&lt;/span&gt;&lt;br /&gt;&lt;span title=""&gt;I will stick to my version for now, but I will keep it on my mind.&lt;/span&gt; &lt;span class="" title=""&gt;What also helped was to switch from Eclipse Kepler to SES (Segger Embedded Studio).&lt;/span&gt; &lt;span class="" title=""&gt;As a result, many crazy errors have disappeared. &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Have a nice sunday evening.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="" title=""&gt;Christoph&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI example: Application doesn't toggle LED</title><link>https://devzone.nordicsemi.com/thread/225413?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 14:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:367b0fbe-e7b6-45f6-aec1-9263785f151e</guid><dc:creator>Mojo</dc:creator><description>&lt;p&gt;Well, things evolves very quickly in tech. &amp;nbsp;What we put on the web yesterday got out dated tomorrow. &amp;nbsp;SDK14 does not have full support of Bluetooth 5 yet. &amp;nbsp;Since you are just starting, it would be recommended to start with the latest SDK. &amp;nbsp;Because by the time you get used to it, you are already outdated. &amp;nbsp;So if you started with something already over 2 years old, you know.... &amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI example: Application doesn't toggle LED</title><link>https://devzone.nordicsemi.com/thread/225358?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 12:49:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08745148-7ee5-4a48-9195-8e9452781612</guid><dc:creator>Christoph_I</dc:creator><description>&lt;p&gt;Hey Amanda,&lt;/p&gt;
&lt;p&gt;I will create a new support case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have a nice weekend.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christoph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI example: Application doesn't toggle LED</title><link>https://devzone.nordicsemi.com/thread/225349?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 12:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2577a659-11cd-4cbb-a3c5-926075261a22</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The latest question is far away from the subject. Please create a new support case.&lt;/p&gt;
&lt;p&gt;Please also verify the answer to this subject.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI example: Application doesn't toggle LED</title><link>https://devzone.nordicsemi.com/thread/225317?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 09:55:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb03a008-4fe2-43a5-afd2-81f2884c66f3</guid><dc:creator>Christoph_I</dc:creator><description>&lt;p&gt;Hey Mojo,&lt;/p&gt;
&lt;p&gt;thanks for your answer. You are right. I don&amp;#39;t think the LED on the Nordic DevKit needs to be configured or something in this way. Now I have manually integrated a LED from the board into the program and it works. My LED blinks after each transaction.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Eclipse Kepler: I bought this board (DVK-BL652-SA &lt;a href="https://www.lairdconnect.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl652-series-bluetooth-v5-nfc"&gt;https://www.lairdconnect.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl652-series-bluetooth-v5-nfc&lt;/a&gt;) and on the manufacturers side is only this instruction (&lt;a href="https://www.mouser.de/datasheet/2/986/BL652_Dev_Kit_User_Guide-1591025.pdf"&gt;https://www.mouser.de/datasheet/2/986/BL652_Dev_Kit_User_Guide-1591025.pdf&lt;/a&gt;) which recommends Eclipse Kepler and Nordic SDK v.14.0.0. What do you think about it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SPI example:&lt;/p&gt;
&lt;p&gt;Do you know which register is adressed in the last line? I can&amp;#39;t find it in LIS3DH-Datasheet (accelerometer).&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;//MOD BLOCK FOR NEW REG&lt;br /&gt;&lt;br /&gt;static uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_config_buf1[] = {0x20,0x97};&amp;nbsp;&amp;nbsp; //CTRL_REG1: 9 = normal power mode (1.344kHz), Low-power Mode (5.376kHz); 7 = Z-,Y-,X-axis enable&lt;br /&gt;static uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_config_buf2[] = {0x23,0x88}; &amp;nbsp; //CTRL_REG4: 8 = output registers not updated until MSB and LSB reading; 8 = high-resolution output mode enabled&lt;br /&gt;static uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_config_buf3[] = {0x22,0x10};&amp;nbsp;&amp;nbsp; //CTRL_REG3: 1 = ZYXDA interrupt on INT1 enable&lt;br /&gt;static uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_config_buf4[] = {0x1F,0x80};&amp;nbsp;&amp;nbsp; //TEMP_CFG_REG: 8 = ADC enabled&lt;br /&gt;static uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_config_buf5[] = {0x23,0x88};&amp;nbsp;&amp;nbsp; //CTRL_REG4: 8 = output registers not updated until MSB and LSB reading; 8 = high-resolution output mode enabled&lt;br /&gt;static uint8_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; m_config_buf6[] = {0xA3,0x00};&amp;nbsp; //???&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Christoph&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI example: Application doesn't toggle LED</title><link>https://devzone.nordicsemi.com/thread/225221?ContentTypeID=1</link><pubDate>Thu, 12 Dec 2019 16:02:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:806a4336-bf65-491b-8717-4d0eed3a6c8e</guid><dc:creator>Mojo</dc:creator><description>&lt;p&gt;Are pins mapped to the correct IO ? The examples are made for the Nordic DevKit. &amp;nbsp;IO pins map might be different. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Eclipse Kepler is quite old too. &amp;nbsp;Follow this blog to get you updated with latest Eclipse and SDK 16.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html"&gt;https://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://embeddedsoftdev.blogspot.com/p/eclipse.html"&gt;https://embeddedsoftdev.blogspot.com/p/eclipse.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>