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

Serial 9N1 mode - 9-bit writes work, but reads are still limited to 8-bit. #968

Closed
technobly opened this issue Apr 19, 2016 · 0 comments

Comments

@technobly
Copy link
Member

commented Apr 19, 2016

Serial 9N1 9-bit writes work, but reads are still limited to 8-bit. This is present in v0.5.0 (rc.1/rc.2/final) and will be fixed in v0.6.x.

See community thread for test cases and discussion.
https://community.particle.io/t/serial-using-9n1/22229

  • Review tests for 8-bit to ensure when opening up data to 16-bit wide, 8-bit mode does not see any random data in the upper byte.

Completeness:

  • Minimum test case added
  • Device, system and user firmware versions stated
  • Particle confirmed

@technobly technobly added the bug label Apr 19, 2016

@technobly technobly added this to the 0.6.x milestone Apr 19, 2016

avtolstoy added a commit that referenced this issue May 8, 2016
USART configuration fixes
- Cleaned up USART settings
- Adds support for 7E1, 7E2, 7O1, 7O2 modes
- Fixes 9-bit receiving. Issue #968
- Extra bits are masked out when receiving/transmitting data
- Extend tests to verify correct transmission
@avtolstoy avtolstoy referenced this issue May 8, 2016
7 of 7 tasks complete
technobly added a commit that referenced this issue Jun 10, 2016
USART configuration fixes
- Cleaned up USART settings
- Adds support for 7E1, 7E2, 7O1, 7O2 modes
- Fixes 9-bit receiving. Issue #968
- Extra bits are masked out when receiving/transmitting data
- Extend tests to verify correct transmission

@technobly technobly closed this Aug 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.