rf12_initialize hanging on NanodeRF SMT V7.2

I'm uploading sketchs to the NanodeRF V7.2 and it gets stuck in the rf12 initialization: rf12_initialize(MYNODE, freq, group).

The ethernet module works fine, but the RFM12B do not work.

Any suggestions where to start the investigation of the causes?

Thanks.

calypso_rae's picture

Re: rf12_initialize hanging on NanodeRF SMT V7.2

If something is wrong with the connections between the Atmel and the RFM12B, the sketch can freeze.  Maybe the processor is waiting for a reply that never appears.  I've not used a nanodeRF module myself, but have seen this effect on similar platforms. 

calves's picture

Re: rf12_initialize hanging on NanodeRF SMT V7.2

Thanks Robin.

I think you're right. The microcontroller is waiting for the response from the RFM12B that does not appear.
the sketch works correctly in my emontx, but on the NanodeRF do not work.

I bought the board already assembled, so it should not be connecting problems.

the difference between the emontx and nanodeRF is that some buffer has in the connections between the microcontroller and RFM12B on the nanodeRF board.

maybe this RFM12B does not work?

Robert Wall's picture

Re: rf12_initialize hanging on NanodeRF SMT V7.2

It would be worth carefully examining the board for assembly faults, if that fails to show a problem I suggest you contact the shop (if you bought it from there).

glyn.hudson's picture

Re: rf12_initialize hanging on NanodeRF SMT V7.2

Oh dear, this sounds like it could be a hardware issue. If you're still having issues and everything looks alright visually please get in touch with us via contact@megni.co.uk and we'll sort out a replacement.

All the best,

kenmc's picture

Re: rf12_initialize hanging on NanodeRF SMT V7.2

I built a few TinyTX sensors and one was behaving like this whereas another, using the same ATTiny as the first, was fine. Spent a while trying to figure out what happened, missed a solder connection on the RFM12b. Easily solved thankfully.

Yours might be different of course, but give the solder joints a good investigation

 

calypso_rae's picture

Re: rf12_initialize hanging on NanodeRF SMT V7.2

When fitting an RFM12B module, I find the 2mm pitch very difficult to work with.  Bridging solder between adjacent pads is all too easy, as is failing to get a good connection onto the base-board. 

I find that solder-wick braid is very useful here.  It can rapidly remove any excess solder, but the joint between the chip and the main board remains firm.  A 'spring-type' wooden clothes peg can be used to hold the chip firmly in the correct position before starting to solder.

But if the board comes pre-assembled, then it's all someone else's problem!

mharizanov's picture

Re: rf12_initialize hanging on NanodeRF SMT V7.2

can you try to swap the ENC26j60 and RFM2B initialization order code?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.