imho the example schematic from hoperf data sheet has miso/mosi names transposed on the module so be wary.
mosi is master out slave in and pic is the master
imho the example schematic from hoperf data sheet has miso/mosi names transposed on the module so be wary.
mosi is master out slave in and pic is the master
Warning I'm not a teacher
yes i have noticed. I will use the trusted 18F26K22 you have suggested for my project last time.
Is there any quick way to check whether the RFM module is powered up? Like to send a signal from the Master (PIC18F26K22) and at G0 of the modules port to connect and LED indicator. How may i know that the module is powered up?
Last edited by astanapane; - 30th August 2018 at 11:12.
I did the simplest configuration connection between the PIC and the RFM69HCW.
Both of the boards are exactly the same. One will be the TX and the other will be the RX.
Still in a very early stage, and keep reading the SPI protocol.
Is there any quick way to check whether the RFM module is powered up?
read a register on the module . write a new value to that register read the register again and confirm the new value
looking at your picture there are two wires missing on each module , that's never going to work
Warning I'm not a teacher
SPI is not RS232. Sure Richard spot it. You need to revise your connections.
Also, your caps around the crystal, what values are?
Ioannis
Hi Richard and Ioannis, sorry for the bad quality of the picture.
Connections i believe are ok. But two wires werent visible on the first pic.
Capacitors are 22p and crystal is at 16Mhz. This combination seems to work just fine on my previous circuits.
on that subject why even use a crystalAlso, your caps around the crystal, what values are?
wrong , did you even look at the schematic I provided ?Connections i believe are ok. But two wires weren't visible on the first pic.
there are 5 connections needed
Warning I'm not a teacher
I'm confused about the SPI connection.
In the manual of the PIC18F26K22 this is how do they have it Master and Slave.
The MOSI from Master goes to MISO on slave and the MISO from master goes to MOSI on slave. Which it seems for me to be the right connection.
But everywhere else on the NET i find it as following. MISO on Master goes to MISO on slave and MOSI on Master goes to MOSI on slave.
https://www.google.gr/search?q=spi+c...w=1422&bih=701
Last edited by astanapane; - 31st August 2018 at 11:47.
Bookmarks