Wednesday, October 13, 2010

New products and library update

It's been a few months, but I've got a few new products to offer!

This is the breakout for the 24-pin version Nordic's nRF24LE1 microcontroller. It's just like the 32-pin variety, except it has 7 GPIO pins and 7 ADC inputs (plus a smaller footprint and lower cost).

Don't forget to check out the RP-SMA version, too!

For those interested in the SDKs, I have updated both the nRF24LE1 SDK and the cryptography SDK to version 2.0. This version includes adding the LGPL 2.1 license for those confused about what the license may be (hat tip to ksinkar for recommending it in a comment here).

With this release, there has also been a fairly major change in the compilation sequence. For those compiling/linking against the libraries, it is only a directory change, but with this change I have (hopefully) made it easier to compile both libraries for different compilers and different chip targets. For example, it should be able to add nRF24LU1 support into this library and add a different compile target now. The include directory is in the same place, but the lib directory has been moved to /_target_sdcc_nrf24le1/lib (you will have to update your link step to point to this directory instead of the old one).

Those are the only changes for the cryptography SDK, but the 2.0 release of the nRF24LE1 SDK also contains a few bug fixes plus support for timer 2. The timer 2 code is a bit experimental, so there will likely be a 2.1 release to fix any issues I find with it, and there's also a little remaining functionality I want to add.

For anyone interested, I am considering making an Arduino Uno board clone that contains the 48-pin version of the nRF24LE1. It has plenty of I/O and ADC inputs, the only problem is that it is *not* 5V-tolerant on either GPIO or ADC inputs, so I am contemplating either adding 5V-tolerant circuitry either to the main board or putting it on a shield that would plug into the main board. Any suggestions would certainly be appreciated!

Labels: , , ,


At June 26, 2011 at 10:09 PM , Blogger Cik Sara said...

I've trying to use the tutorial 1 for p18f452 into p18f4520. but i seems not working at all.. Do i need to change anything? Is the tutorial for p18f452 compatible to the p18f4520?
i've change the include file as well as the linker script to p18f4520. When compile, it is suceess.. But then, my uC do not show anything as it is not working at all.. could you help me?

At June 27, 2011 at 2:46 PM , Blogger brennen said...

I have never tested the code with the PIC18F4520, so I'm not too sure whether it will work or not. I would suggest comparing the registers that I write in the tutorial to see if there are any differences. Another place to look would be the clock/oscillator setup.

At July 11, 2011 at 12:06 AM , Blogger Cik Sara said...

By the way, i've change the PIC. I've used PIC18F452 as been told in the tutorial. But i could'nt get any output on my hyperterminal or telnet. Do you by any chance have setup anything that not being told in the tutoria;?

I'm sorry. This is my first time using microcontroller. Thus, there's a lot of thing i need to learn.

At July 13, 2011 at 10:47 AM , Blogger brennen said...

Check your crystal frequency. It must match the one in the tutorial (10 MHz, as I recall), or you won't get anything out on the UART to your serial port. You can change the code to support different crystal frequencies if you need to, however, but it's much easier to just get the code working with the same crystal I used if you have one.

At July 24, 2011 at 10:19 PM , Blogger Cik Sara said...

i've checked the connection. I've succeeded build the tutorial1 programming taking from your site. And i've used 10MHz crystal frequency. The nRF24l01 was connected to the PIC as shown in your tutorial. And the UART connection was making by using CP2102 via TX and RX legs. I've connect it to the computer and setting the hyperterminal as shown in your tutorial.But i get nothing shows on the screen? By the way, how do i supposed to setup the hyperterminal? And if all the step were correct, are they any ways to troubleshoot the problem?

At July 25, 2011 at 9:06 PM , Blogger brennen said...

Have you verified that the CP2102 is actually working? Disconnect the PIC from the CP2102 and short the CP2102's TX and RX pins. Then, open a serial terminal to the serial port that the CP2102 is mapped to. Type some characters, and verify that they show up in your terminal window.

If they don't show up, then you don't have your CP2102 working. If they do, then there's something wrong with either the wiring from the CP2102 to your PIC, the code that's on the chip, or the PIC itself.


Post a Comment

Subscribe to Post Comments [Atom]

<< Home