Forum: µC & Digital Electronics Can somebody help me with RFM12B?

von Konstantin Sirotkin (Guest)

Rate this post
0 useful
not useful

I am trying to hook up an RFM12B module to Atmega168 microcontroller 
using software SPI. Strange, but nothing works. I've double checked 

When I send a 0x0000 command (read status byte) I only get 0x0000 in 
return. I've been told I should get something like 0x4000.

Can somebody run my program on their hardware and see if it works?

von mahdi (Guest)

Rate this post
0 useful
not useful
i want to have 2 micros connected by rfm12b,but idont know how.(atmega 
help me plz.thanks

von reieg99 (Guest)

Rate this post
0 useful
not useful

on the WEB-Page:


you will find examples of using the modules with ATMEL controller.

The source code is written in C and can be downloaded from the web-page.

May be it is usefull for you to solve your problems.


PS: but the documentation is written in german :-(


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.