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

Fix DMX transmit #42

Merged
merged 1 commit into from
Feb 9, 2023
Merged

Fix DMX transmit #42

merged 1 commit into from
Feb 9, 2023

Conversation

someweisguy
Copy link
Owner

@someweisguy someweisguy commented Feb 9, 2023

This fixes a major issue introduced in PR#41 that caused DMX receive interrupts to fire when DMX was transmitting resulting in corrupted data and packet sizes.

Changes include setting the DMX UART to "normal" mode rather than "RS-485" mode. These modes are not well-documented in the ESP32 technical reference manual. It was found that setting the UART to RS-485 mode would cause DMX receive interrupts to fire due to its own DMX transmissions. This would result in major data corruption. Packets over the size of 130 bytes could not be reliably sent; data slots would be repeated and packet sizes would be significantly larger than desired.

@someweisguy someweisguy merged commit c90cfef into release/v3.0 Feb 9, 2023
@someweisguy someweisguy deleted the bugfix/dmx_tx branch February 9, 2023 04:16
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

Successfully merging this pull request may close these issues.

None yet

1 participant