pu2clr / RDA5807

Arduino Library for SINGLE-CHIP BROADCAST FM RADIO TUNER RDA5807
MIT License
94 stars 16 forks source link

RDA5807 seek issue #2

Closed debashis1989 closed 3 years ago

debashis1989 commented 3 years ago

Dear Ricardo, I am also facing the same issue, now the frequency change in vol up an down issue have resolved but rds and force mono button still have the same issue, it triggers seeking.

Thanks

pu2clr commented 3 years ago

I think I found the problem. The SEEK bit of the RDA register 2 is changing internally by the RDA device. The shadow register 2 (reg02) used by the library is not synchronizing with the internal RDA SEEK bit. So, when we call seek function (method), this bit is set to 1 by the library and it does not update the status when the RDA device set it back again to 0. Now Iโ€™m setting the reg02 SEEK bit to 0 in every command that use reg02, except the SEEK commands.
I think it can solve the problem. Unfortunately, I canโ€™t check it now. It will take some time to check it here. However, you can try it by downloading the last version of the library. If you get success, please, let me know. Thanks. Ricardo.

debashis1989 commented 3 years ago

Dear Ricardo, I tested now it's working fine. Thank you for your effort, deeply Appreciated ๐Ÿ™

pu2clr commented 3 years ago

Good to know. Thanks for helping me to improve the library. Ricardo.

On Wed, 16 Dec 2020 at 14:41 debashis1989 notifications@github.com wrote:

Dear Ricardo, I tested now it's working fine. Thank you for your effort, deeply Appreciated ๐Ÿ™

โ€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/2#issuecomment-746705682, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVSJNHSPYHPMIA4WN7IYX3SVDWN3ANCNFSM4U2FF6DQ .

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

debashis1989 commented 3 years ago

Most welcome