<?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>Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7855/some-gpio-pins-show-high-et-al</link><description>I just assembled my first nRF51822 board and I was able to program it using an IDAP-LINK and a blinky program compiled with the Eclipse/GCC toolchain flashed via SWDIO/SWDCLK. All good. 
 I noticed however, that the SWDIO and Pin 11 were both at 3V3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jun 2015 08:26:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7855/some-gpio-pins-show-high-et-al" /><item><title>RE: Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/thread/28006?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 08:26:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b859dd66-6359-43aa-9665-65b30b3244cf</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@onehorse: I&amp;#39;m glad that it&amp;#39;s not working for you. Hope you will have great time developing with the nRF51. Note that you can also use our SDK example for your mbed board. &lt;a href="https://devzone.nordicsemi.com/blogs/11/using-nrf51-sdk-with-the-nrf51822-mbed-kit/"&gt;Follow this blog&lt;/a&gt;. (Keil evalution version is free)&lt;/p&gt;
&lt;p&gt;I would suggest we close the case here ( please lick accept answer). If you have further question, please create a new case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/thread/28005?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 08:07:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5086ef76-a70a-483e-832d-8d714f30f5db</guid><dc:creator>onehorse</dc:creator><description>&lt;p&gt;I received the RedBearLab nRF51822 BLE Nano today and was easily able to blink the on-board led using mbed as you say. The nano mounts on an MK20 programmer that plugs into the pc via a USB connector. I&amp;#39;m happy to report I was also able to use the MK20 programmer to upload an mbed hex file to my custom board. My nRF51822 is now polling an MPU9250 9 DoF motion sensor via I2C, performing sensor fusion on the scaled data at 400 Hz, and reporting quaternions and Euler angles through an FTDI link to Serial on my laptop every second. Next step is to use the BLE engine to replace the Serial wire. Looks like this method works well and is a whole lot easier to use than the traditional tool chains (at least for me).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/thread/28004?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2015 07:34:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac5d23db-1d10-4e6e-a7d0-3b3cf3922090</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@onehorse: I don&amp;#39;t think you would need any programmer. I&amp;#39;m not very familiar with the Redbearlab kit but according to &lt;a href="http://redbearlab.com/getting-started-nrf51822/"&gt;this tutorial&lt;/a&gt;, you just have to plug it in the USB port and it will appear as mbed device. You can drag and drop a hex into it to program.
You can also use the Arduino IDE to program it via UART.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/thread/28003?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 19:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0842fc8e-90d1-4d9e-9478-ab57ef27f85d</guid><dc:creator>onehorse</dc:creator><description>&lt;p&gt;Hi Hung Boi,&lt;/p&gt;
&lt;p&gt;Sorry about the breach in protocol; I&amp;#39;m new here!&lt;/p&gt;
&lt;p&gt;I think P0.11 is by default RX so it should be at 3V3, so everything seems to be right with my first nRF51822 assembly.&lt;/p&gt;
&lt;p&gt;Now the hard part is learning how to program it. I will likely use mbed and a Segger J-Link. But I just received my RedBearLab Nano board and will try their Arduino IDE, and I also have an IDAP-LINK but I have not been able to get mbed to work with it. Lastly, I tried to install Eclipse and ARM GCC but can&amp;#39;t understand what I am doing well enough to make it work. I always seem to get to a step in the tutorial that doesn&amp;#39;t work for me. In particular, when I looked at the embsysreg target set, there was no Nordic listed as a vendor for the Cortex M0 board. Maybe it will all make sense in the end but i find just installing Eclipse quite confusing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/thread/28002?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2015 11:29:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c18c7831-39ee-498b-bfa6-b1c744e9b928</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@onehorse: Please put your comment in the comment box, instead of creating an answer ( you can split your comment to two if it&amp;#39;s too long.&lt;/p&gt;
&lt;p&gt;Could you let me know what you meant by RX?&lt;/p&gt;
&lt;p&gt;Could you try to set the P0.11 to output and set to low to check if it get low ? This is to check if it&amp;#39;s hardware connected to a pull up.&lt;/p&gt;
&lt;p&gt;Regarding the boards from 3rd party vendors, thanks for letting me know. I actually didn&amp;#39;t know that they have integrated nRF51 in to Arduino IDE as a add-on. On the Redbearlab&amp;#39;s board there is a FreeScale chip that does the programming on SWD interface.
But I am not sure how much sketches you can reuse to program on the nRF51 board. I guess Redbearlab guys should know about this better than me.
And I don&amp;#39;t think we going to provide an official add-on for Arduino from Nordic in a near future.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/thread/28001?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2015 16:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba2bb333-28b0-4cb1-b087-fb62b155a022</guid><dc:creator>onehorse</dc:creator><description>&lt;p&gt;Thanks for the answers!&lt;/p&gt;
&lt;p&gt;I meant P0.11. For some reason this pin is also HIGH on my board. I noticed on another nRF51822 module I bought that RX was also HIGH. Maybe pin P0.11 defaults to RX? I don&amp;#39;t really understand this.&lt;/p&gt;
&lt;p&gt;There are some ARM-based microcontrollers that have ported libraries such that an Arduino IDE can be used to program them. Most famously is the &lt;a href="http://www.pjrc.com/teensy"&gt;Teensy&lt;/a&gt; and &lt;a href="http://redbearlab.com/nrf51822/"&gt;RedBearLabs&lt;/a&gt; has a similar Arduino IDE for programming the nRF51822 nano board. Intel&amp;#39;s Edison (an X86 &amp;quot;micrcontroller&amp;quot;) also has an Arduino IDE that can be used for programming it in addition to the more traditional tool chain approach. I am simply asking if Nordic (or anyone else) has a plan to make the nRF5X SoCs programmable via an Arduino-like IDE?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try RedBear Labs Arduino IDE on my board to see if I can use it. I know the standard approach is to use mbed or a tool chain like Keil or Eclipse; I am using them, or trying to learn to use them. But the Arduino IDE is very easy to use and I already have dozens of Arduino C++ &amp;quot;sketches&amp;quot; that I wrote to control sensors and motors that I would like to be able to use without having to completely rewrite everything. At least this would be the benefit of an Arduino-like IDE to me and I suspect many others.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Some GPIO pins show HIGH et al.</title><link>https://devzone.nordicsemi.com/thread/28000?ContentTypeID=1</link><pubDate>Fri, 26 Jun 2015 12:57:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4407b56f-cacc-4a92-91c4-ddcb78c1d17a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@onehorse: Which pin 11 you wanted to mention ? is it Pin 0.11 (pin 17) or pin 11 physically on the chip (P0.07) ?
SWDIO pin is at 3v3 because it&amp;#39;s active low, and there is a pull-up resistor inside the chip for that pin.&lt;/p&gt;
&lt;p&gt;The exposed die pad under the chip (I assume QFN) should be connected to ground. Yes, you should solder it to ground.&lt;/p&gt;
&lt;p&gt;What do you mean by Adruino IDE available for nRF51 ? Currently we have some shield for arduino that has nRF51 on it. And the nRF51 DK has the same hardware form factor with the Arduino Uno, but the nRF51 is not Arduino.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>