Community
cancel
Showing results for 
Search instead for 
Did you mean: 
1,156 Views

Sensor Subsystem ADC and print to serial terminal

Hi,

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.

Thanks.

0 Kudos
2 Replies
AZimi
New Contributor II
83 Views

Hi,

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

83 Views

Hi,

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.

Cheers,

Alex

Reply