I have the following problem:
A micro controller with the possibility to talk with PC via several communication interfaces: RS232, USB are present. Ethernet is not available. The software is bare metal with optional embedded OS.
The hardware is not important as this is applicable to any microcontroller and physical communication interface.
Several communication channels are needed simultaneously:
- 1 for a simple console - debug purpose: uC <-> PC
- 1 for getting real time samples from the ADC to PC: uC -> PC
- 1 for sending real time samples from PC to DAC: PC -> uC
- 1 setting different parameters of the acquisition/conversion, start/stop, etc: uC <-> PC
Ideally only one physical interface should be used RS232 or USB (preferable).
Is there something already available to multiplex different channels on a single physical one ? message passing, remote procedure call.