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

SI4703 #46

Closed AndreyUshak closed 1 year ago

AndreyUshak commented 3 years ago

Hi, I ran an example on the ESP32 ScanRadio.ino but only noise is heard, when scanning, it catches nothing. my settings

ifdef ESP32

int resetPin =19; // rst int SDIO = 21; //sda int SCLK = 22; //scl int STC = 18; //gpio2

endif //ESP32

SI4703 radio(resetPin,SDIO);

in setup

ifdef ESP32

Wire.begin(SDIO, SCLK);

endif

the library from SparkFun works well. Advise what can be done, the library is good because universal, thank you.

AndreyUshak commented 3 years ago

ScanRadio.ino

Radio...>init() Write Fail:2 Write Fail:2

setBand(1) setFrequency(10370) Write Fail:2 _waitEnd() Seek limit hit Write Fail:2

I'm using the library now https://github.com/dmitryelj/Si4703-Arduino-Sketch-For-RDS-Spy started immediately without problems, RDA5807 on esp32 your library is working fine.

mathertel commented 1 year ago

ESP32, Scanradio and starting Wire was fixed in 3.0.1 Wire->begin must not be called before reset sequence.

Thanks for pointing me to RDS-Spy