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

RAK4631 + RAK19001 - UART1 configuration on RUI3 framework #6

Open
dfernandes-wave opened this issue May 23, 2024 · 0 comments
Open

Comments

@dfernandes-wave
Copy link

dfernandes-wave commented May 23, 2024

Greetings! I am using the RAK4631 module on the RAK19001 WisBlock Dual IO Base Board with the RUI3 framework. I've been trying to use one of the available UART's interfaces to communicate with a M-BUS sensor. To do so, UART needs to be configured accordingly with the M-BUS requisites, meaning that I need to configure UART in order to have an Even Parity, otherwise I cannot communicate with the M-BUS sensor. For what I've seen the parity cannot be changed using the Serial1.begin() function (when using UART1), as it keeps a Non Parity configuration (the default SERIAL_8N1) although I have Serial1.begin(2400, SERIAL_8E1) on the setup. Is there any way to change the UART configurations on RUI3? Or it just can't be done?
I've tried to do the same using the arduino's framework and I was able to change the UART configuration and communicate with the M-BUS sensor, but I really wanted to use RUI3.
Hopefully I was clear explaining my issue.

Thanks in advance.

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