-
Notifications
You must be signed in to change notification settings - Fork 95
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
[question] Data timing #33
Comments
750μs - 500μs+250μs - to check 1->0, 0->1 bit transition |
@ihormelnyk thanks! I still don't understand where the 250μs is coming from. I assume it's based on the 100+150μs transition period, but from how I understand the specification, the 100μs is how much shorter than 500μs a transition may be. So a valid half bit period is 400μs to 650μs, isn't that right? |
So I was looking at it also just to understand it. |
Hi!
I was reading through the library code, trying to comprehend the timing it applies, specifically the usage of 750μs here and here.
If I understand the code and the OpenTherm specification correctly, shouldn't that be 650μs (500μs nominal plus an additional 150μs for the maximum transition period)?
Also, strictly speaking, shouldn't a timeout occur after 1150μs instead of 1000μs as it does now?
Reason I'm asking is because I'm trying to track down some issues with invalid messages being received from my thermostat. I'll try and see if changing the timing fixes them, but just wondering if I understand the code correctly 😊
The text was updated successfully, but these errors were encountered: