问题
I'm trying to support 9-bit UART using Android Things, When I try to set the data size to 9 I receive IO exception. The only configurations that works are 7 and 8 bits.
I know that is possible to make 9-bit emulation using the parity error interrupt, but on android things, I don't receive any handler of it.
I tried also to set it using the native library, same exception.
Is there a chance to have this interrupt?
I'm using Pico-Pi iMX7D.
I don't understand why there is no high-level support of it.
Thank you in advance
Moved to feature request here: https://issuetracker.google.com/issues/67995082
来源:https://stackoverflow.com/questions/46803849/android-things-5-1-9-bit-uart