Community
cancel
Showing results for 
Search instead for 
Did you mean: 
wwelc1
New Contributor II
1,313 Views

UART1 and UART2 on Edison

Jump to solution

Is there a specific way to configure Edison to use both UART1 and UART2 at the same time from Arduino IDE?

Accoding to this post, Serial2.begin() will open communication with UART2. What is not clear to me is what happens when I issue Serial.begin(). Doesit open communication with Serial/OTG and Serial1/UART1 simultaneously?

1 Solution
Pablo_M_Intel
Employee
63 Views

Hi welcomesorrow,

Given that they are different ports, Serial.begin() will not have any effect over Serial1/UART1, if you want to make use of UART1 you'll need to use Serial1.begin and the same applies if you're going to use UART2. About using UART2, I would also suggest you to check this post /thread/57591 https://communities.intel.com/thread/57591.

Regards,

PabloM_Intel

View solution in original post

2 Replies
Pablo_M_Intel
Employee
64 Views

Hi welcomesorrow,

Given that they are different ports, Serial.begin() will not have any effect over Serial1/UART1, if you want to make use of UART1 you'll need to use Serial1.begin and the same applies if you're going to use UART2. About using UART2, I would also suggest you to check this post /thread/57591 https://communities.intel.com/thread/57591.

Regards,

PabloM_Intel

View solution in original post

wwelc1
New Contributor II
63 Views
Reply