GIPdA / ZetaRF

Arduino Library for SiLabs Low Current Sub-GHz Wireless Transceiver: Si4455 (ZETA modules), Si446x (DRF4463F modules)
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

433 MHz testing additions #2

Closed adamfowleruk closed 7 years ago

adamfowleruk commented 7 years ago

As promised! Updates for 433MHz operation. Files and readme changes Added:-

GIPdA commented 7 years ago

Thanks, just a thing before I merge it, about the MISO/MOSI reversal: are you sure you're using the correct pinout? I checked on the internet, and MISO is pin 12, MOSI is pin 11, as it should be. Which is the opposite of yours, and explains your issue with the SPI.

http://www.dominicdube.com/wp-content/uploads/ProMiniPinout.png

adamfowleruk commented 7 years ago

In my circuit Zeta SDO goes to Pro Mini MOSI and Zeta SDI goes to Pro Mini MISO. I used the same diagram you shared, and the Zeta PDF download datasheet.

GIPdA commented 7 years ago

Something's wrong... Is it a genuine pro mini?

Here is my wiring with a pro mini (not genuine but same pinout): zeta promini SDO to MISO (12), SDI to MOSI (11)...

adamfowleruk commented 7 years ago

Mine is wired up the same as yours (now!), BUT, the Pro Mini pinout I'm using shows the MISO and MOSI the other way around..... Just googled for other pin outs, and looks like it's a typo on my diagram! Very annoying. I'll throw that one away. So please remove my remarks about the Pro Mini having different wiring sometimes.

GIPdA commented 7 years ago

Nice, mystery solved :-)

I just merged your commit, thanks. I changed a bit the name of the define, to be consistent with the lib, it's 'ZETARF_FREQUENCY_433MHZ' now ;-)