mathertel / Radio

An Arduino library to control FM radio chips like SI4703, SI4705, RDA5807M, TEA5767.
http://mathertel.github.io/Radio
BSD 3-Clause "New" or "Revised" License
302 stars 92 forks source link

Always says the frequency is 189.30 on TestRDA5807M #55

Closed RickSeiden closed 1 year ago

RickSeiden commented 1 year ago

Hello,

I have tried two different microcontrollers (ESP-8266 and Feather 32u4 Bluefruit) with the standard setup. When I run the TestRDA5807M sample code, it says it's tuning it to 89.30, but when it shows the frequency, it's set to 189.30. I've tried other stations (such as 106.5 which is a huge station where I live) and it always shows 189.30.

I'm making no changes to the code other than the initial frequency on line 43.

My "standard setup" is to connect SDA, SCL, VCC and GND to the microcontrollers. I've tried 1k, 2.2k, 10k and no external pull-up resistors on SDA and SCL. I2C scans with no pull-ups and 1k pull-ups don't recognize the device, but both 2.2k and 10k pull-ups show a device on 0x10.

I'm at a loss for what I'm doing wrong. I'm aware this probably isn't enough information and I'm ready to offer whatever information I may have missed.

I'd consider myself a somewhat experienced person when it comes to general Arduino IDE programming and circuitry, but I know I'm not the most knowledgeable and probably missed some stuff along the way.

Thanks in advance. \

mathertel commented 1 year ago

I got this also some time back when I2C communication was not ok. Double check please.