I see that something called NIO is used to hook a UART up to stdin/stdout in the SDK. I would like to do something similar for other UARTs on my system so I can use standard read/write calls with them. I can't seem to find any information on NIO though. Is what I want to do feasible and if so, is there any documentation about NIO?
Thanks
Hi Kevin,
unfortunately not. We don´t have such documentation.
In case of any change, I will keep you informed.
Have a nice day!
Iva
anyone?
Hi Kevin
Same here, was looking into NIO recently to figure out how it works......unfortunately again there seems to be a lack of documentation for MQX.
Some info I can share with you....
If your using MQX Lite in a KSDK+ PE project you can use the debug console to component to setup a UART for stdout.
In which case, the MQX NIO sub system drivers are not used and the KSDK / PE drivers are used instead.
If your using MQX Standard in a KSDK + PE project the NIO drivers are used for stdout.
MQX Standard + MQX Lite are selected using the osa_abstraction layer component in PE. Also debug console can no longer be used to setup your com port
rather the osa component will configure the uart explicitly.
Regards
Jerome