Hi all,
I'm trying to build a very simple broadcast system using RFM69HW controlled by FPGAs. I am using the packet mode, fixed length (4 bytes) with sync word and CRC. The system aparently works: if I look at the flags I can see how the FIFO is filled, the packet is sent, and the receiver recives the 4 bytes. I can read from the receiver's FIFO and I can see how the FIFO is emptied as expected. The problem is that what I'm receiving is 0x00, and I'm sending words with ones and zeros so.
I have simplified a bit more the test, so I have written the FIFO while in standby and then I have tried to read it again. You can find attached some oscillograms about my test. Channel 1 (yellow) is NSS, and Channel 2 (green) is MOSI or MISO, depending on the picture. I dont have a third channel to show you the clock, but if you need more details I could try to find a better oscilloscope somewhere ::) . You can see in Writing_FIFO_MOSI.PNG that Im trying to write '11111100' into the FIFO (0x00). Then Im trying to read from the FIFO (Reading_FIFO_MOSI.PNG), but Im getting a '00000000' (Reading_FIFO_MISO.PNG). But if I look at the flags, everything is working perfectly.
Could you please help me? Do you see what Im doing wrong?
If you need more information, just let me know.
Thank you!
Regards.