Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when clearing PCA0 counter #232

Open
mightymos opened this issue Nov 9, 2024 · 0 comments
Open

Bug when clearing PCA0 counter #232

mightymos opened this issue Nov 9, 2024 · 0 comments

Comments

@mightymos
Copy link

I have had some initial success porting RF-Bridge-EFM8BB1 over to the newer Sonoff boxes.
At the least I am able to decode packets from my own door sensor, perform sniffing, etc.
https://github.com/mightymos/RF-Bridge-OB38S003

As part of learning, as best I can tell there is a bug in RF-Bridge-EFM8BB1when clearing the PCA0H and PCA0L registers.
I believe the intent would be to clear the CR bit of PCA0CN0 prior to clearing the counter (i.e., to stop the counter).
However, the PCA0MD bit 6 is instead cleared, which is a reserved bit.

I am not sure what real world impact this has, or if this repo is accepting pull requests?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant