Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9882 Discussions

Sensor Subsystem ADC and print to serial terminal

VincentChi_K_Intel
1,243 Views

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
170 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

Alejandro_Q_Intel
170 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