This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Some GPIO pins show HIGH et al.

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 for no apparent reason I can detect. Is it expected that these or any other GPIO pins will show HIGH for no apparent reason?

Also, I soldered the nRF51822 chip to the thermal pad. I don't do this for the nRF24L01+, but i can't find anywhere the "proper" way to mount the nRF51822 wrt the thermal pad. Is soldering it recommended?

Lastly, will there ever be an Arduino IDE available for the nRF51/2 chips?

Thanks!

Thanks.

Parents
  • Thanks for the answers!

    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't really understand this.

    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 Teensy and RedBearLabs has a similar Arduino IDE for programming the nRF51822 nano board. Intel's Edison (an X86 "micrcontroller") 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?

    I'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++ "sketches" 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.

  • Hi Hung Boi,

    Sorry about the breach in protocol; I'm new here!

    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.

    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'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'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.

Reply
  • Hi Hung Boi,

    Sorry about the breach in protocol; I'm new here!

    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.

    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'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'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.

Children
No Data
Related