When using the Enrf24 library with Enegia these are the connections for the NRF24L01 module.


NRF24L01 MSP430 Stellaris
GND GND GND
VCC VCC VCC
CE P2.0 PE1
CSN P2.1 PE2
SCK P1.5 PD0
MOSI P1.7 PD3
MISO P1.6 PD2
IRQ P2.2 PE3

Energia IDE

I never really caught on to the Arduino craze, not because of any dislikes as such, but because I was familiar with Microchips PICMICRO range. I had the parts, the programmer, and the knowledge to program them in both asm and C, so I guess I have had no need for the Arduino platform.

It turns out that the Arduino IDE has been ported to both the Stellaris Launchpad, and the MSP430 Launchpad from Texas Instruments. and is called Energia. This is nice, since it is then quite easy to port the vast amount of sketches and libraries from the Arduino IDE to Energia IDE and the Texas Instruments Launchpads.

Getting it going on Gentoo Linux

First to run Energia, 32-bit java support is needed, so

app-emulation/emul-linux-x86-java

needs to be emerged. When running Energia you must make sure

emul-linux-x86-java-1.6

is selected as user VM with eselect. Create a file called /etc/udev/rules.d/62-stellarpad.rules with these contents:

ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="0660", GROUP="plugdev"

Reload udev and add yourself to the "plugdev" group, plug-in in the Launchpad and you should be good to go!

Generated on 2018-05-03 01:14:21.911463