# Using both UART's simultaneously

**URL:** <https://forum.sierrawireless.com/t/using-both-uarts-simultaneously/4867>\
**Category:** Development tools\
**Created:** [February 7, 2011, 5:31am UTC](https://forum.sierrawireless.com/t/using-both-uarts-simultaneously/4867 "2011-02-07T05:31:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![manikandan.t](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@manikandan.t](https://forum.sierrawireless.com/u/manikandan.t)\
**Post date:** [February 7, 2011, 5:31am UTC](https://forum.sierrawireless.com/t/using-both-uarts-simultaneously/4867/1 "2011-02-07T05:31:37Z")

</div>

hi,

```
     Im using wireless CPU Q2686G. In my application im using both UART's for receiving data at the same time, data will be continuously received from both UART's. I am using FCM for UART2 to receive the continuous data and processing the received data happens.But while im using FCM with different handlers to recieve continous data through UART1 it does not happens and im not able to process the recieved data. 

```

Can anybody reply how to receive data from both UART’s at the same time using FCM?

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [February 7, 2011, 7:35am UTC](https://forum.sierrawireless.com/t/using-both-uarts-simultaneously/4867/2 "2011-02-07T07:35:55Z")

</div>

> [@manikandan.t](#):
>
> Can anybody reply how to receive data from both UART’s at the same time using FCM?

There should be no difference from using each UART separately.

Does your UART1 code work alone?

---

<div class="post-metadata">

**Author:** ![manikandan.t](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@manikandan.t](https://forum.sierrawireless.com/u/manikandan.t)\
**Post date:** [February 8, 2011, 6:17am UTC](https://forum.sierrawireless.com/t/using-both-uarts-simultaneously/4867/3 "2011-02-08T06:17:01Z")

</div>

hi awenil,

```
    If i am using each UART's separately in my code ( UART1 or UART0 )then there is no problem. But when i use subscribe them both in the code (UART0 and UART1) then i am able to receive data in only in UART1. 

```

can u reply how get data in both the UART’s at the same time?

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [February 8, 2011, 7:40am UTC](https://forum.sierrawireless.com/t/using-both-uarts-simultaneously/4867/4 "2011-02-08T07:40:37Z")

</div>

> [@Initially](#):
>
> I am using FCM for UART2 to receive the continuous data and processing the received data happens. But while im using FCM with different handlers to recieve continous data through UART1 it does not happens and im not able to process the recieved data.

> [@Now](#):
>
> If i am using each UART’s separately in my code ( UART1 or UART0 )

> [@](#):
>
> can u reply how get data in both the UART’s at the same time?

As I said before, I am aware of no special requirements for using both UARTs - so it must be a bug in your code, rather than a specific feature of Open-AT

In your posts you seem to be confusing UART0/1 and UART1/2 - maybe you have a similar mix-up in your code… ❓
