Hello, I'm trying to use a SI4703 breakout board with an Arduino Leonardo but cant get it working. I've tried many libraries out there (Sparkfun, SI's, another one I can't remember) but with all libraries I get the same problem. First of all I tweaked the code to match Leonardo's Pin so I have this connections:
| Breakout | | Leonardo | | - | - | | SDIO | | D2 | | SCLK | | D3 | | RST | | D4 | | Vdd | | 3.3V | | GND | | GND |
I also changed the sketch to include
On my Serial Monitor I see the setup's output but I cannot control the chip (with the commands shown) and the monitor freezes until I restart the board.
After some digging into code I think I found out that the software stucks on the chip init phase when trying to read the registers. Do you have any idea on what's going on? Here's my breakout:
and for code I used SI's library after changing Wire.recieve() -> Wire.read() and Wire.send() -> Wire.write().