I am using sensor subsystem ADC to capture some analog samples and I realized I can use QM_PRINTF function to print the samples to the serial terminal. However, I am curious how is this possible as sensor subsystem do not have any UART.
please follow this link: https://software.intel.com/en-us/articles/debug-usages-of-intel-system-studio-for-microcontroller-pr... Debug usages of Intel System Studio for Microcontroller – print debug message without using UART cable | Intel® Software
If you go to the datasheet you'll see that figure 1 shows the UART belongs to the peripheral block, not to any core in particular, in fact it is connected to the APB Fabric and therefore accessible to Processor Core and Sensor Subsystem. We recommend to drive the UART with Processor Core only and use the mailbox if you want to use it with the Sensor Subsystem (ARC). This is just a recommendation so you avoid conflicts while using a shared resource (UART in this case) by using the mailbox.