Android Things 5.1 - 9 bit UART

偶尔善良 提交于 2019-12-12 19:45:52

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!