# UART2 settings

**URL:** <https://forum.sierrawireless.com/t/uart2-settings/810>\
**Category:** General\
**Created:** [October 25, 2006, 12:19pm UTC](https://forum.sierrawireless.com/t/uart2-settings/810 "2006-10-25T12:19:04Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkampers](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bkampers](https://forum.sierrawireless.com/u/bkampers)\
**Post date:** [October 25, 2006, 12:19pm UTC](https://forum.sierrawireless.com/t/uart2-settings/810/1 "2006-10-25T12:19:04Z")

</div>

Hello,

I am trying to configure the UART2 port on a Q2406B board. With the AT cmmands ICF, IFC and IPR I can congigure and check the settings of UART1. With the OpenAT function adl\_atCmdCreate I can use these commands tho configure UART2 (when I use ADL\_AT\_PORT\_TYPE(ADL\_AT\_UART2, FALSE) as second parameter). But I cannot find a way to check the settings of UART2.

Can anyone help?

Thanks,

Bart

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [October 25, 2006, 1:32pm UTC](https://forum.sierrawireless.com/t/uart2-settings/810/2 "2006-10-25T13:32:42Z")

</div>

Hi Bart,

so which setting are you interested in to check?

I think you should be able to get the current settings with AT+ICF?, AT+IFC? and AT+IPR?

Best Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![bkampers](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bkampers](https://forum.sierrawireless.com/u/bkampers)\
**Post date:** [October 25, 2006, 3:18pm UTC](https://forum.sierrawireless.com/t/uart2-settings/810/3 "2006-10-25T15:18:55Z")

</div>

Hello Jan,

I would like to check all three of them. When I use the commands you mentioned I get the state of UART1 only. I want to check UART2.

Hope you have an idea for that.

Kind regards,

Bart

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [October 25, 2006, 3:58pm UTC](https://forum.sierrawireless.com/t/uart2-settings/810/4 "2006-10-25T15:58:36Z")

</div>

Hi Bart,

when using the ADL\_AT\_PORT\_TYPE(ADL\_AT\_UART2,…) you should get the values for UART2. Does that not work? Did you save the values with AT&W - also using the ADL\_AT\_PORT\_TYPE macro?

And which version of the core firmware are you using? (You can check this with the ATI3 command…)

Best Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![bkampers](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bkampers](https://forum.sierrawireless.com/u/bkampers)\
**Post date:** [October 26, 2006, 8:14am UTC](https://forum.sierrawireless.com/t/uart2-settings/810/5 "2006-10-26T08:14:18Z")

</div>

Hello Jan,

This works fine but in an Embedded Application only. I was wondering if there is a way to check the settings “by hand” by typing AT commands in Hyper Terminal.

Thanks,

Bart.

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [October 26, 2006, 9:28am UTC](https://forum.sierrawireless.com/t/uart2-settings/810/6 "2006-10-26T09:28:46Z")

</div>

Hi Bart,

I see… The problem you are facing is that setting or reading the configuration in Hyperterminal only works for the port connected to the Hyperterminal. So if you connect the module’s UART 2 with the PC you will be able to set / read this configuration but not the configuration of UART 1 of the module.

This is the observation I made, and I think this is still true for current OpenAT versions…

Best Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![bkampers](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bkampers](https://forum.sierrawireless.com/u/bkampers)\
**Post date:** [October 26, 2006, 11:56am UTC](https://forum.sierrawireless.com/t/uart2-settings/810/7 "2006-10-26T11:56:12Z")

</div>

Jan,

Thanks for your answers.

Regards…

---

<div class="post-metadata">

**Author:** ![Ralf\_Ebert](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Ralf\_Ebert](https://forum.sierrawireless.com/u/Ralf_Ebert)\
**Post date:** [October 27, 2006, 6:26am UTC](https://forum.sierrawireless.com/t/uart2-settings/810/8 "2006-10-27T06:26:20Z")

</div>

Hi Jan,

is it possible to send AT-Commands over UART2? How must the Q2406 be configured to do this? In my system I see the WIND messages (for example) at UART1 and UART2, but I get no response to any AT command sent over UART2 …

Best regards,  
Ralf

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [October 27, 2006, 7:02am UTC](https://forum.sierrawireless.com/t/uart2-settings/810/9 "2006-10-27T07:02:10Z")

</div>

Hi Ralf,

Is an application running? If not, I would assume that the UART 2 is in AT mode and it should work to enter at commands and get the responses there! Which version of OpenAT are you using?

Best Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![Ralf\_Ebert](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Ralf\_Ebert](https://forum.sierrawireless.com/u/Ralf_Ebert)\
**Post date:** [October 27, 2006, 8:59am UTC](https://forum.sierrawireless.com/t/uart2-settings/810/10 "2006-10-27T08:59:05Z")

</div>

Hi Jan,

no, there was no application running. I’m using OpenAT v3.10, the answer of ati3 ist 655\_09gg.Q2406B 2015268 111705 17:01.

Best regards,  
Ralf

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [October 27, 2006, 9:22am UTC](https://forum.sierrawireless.com/t/uart2-settings/810/11 "2006-10-27T09:22:14Z")

</div>

Hi Ralf,

hmmm… that’s strange… I was using OpenAT 3.03 and it definitely worked… The port seems to be activated, otherwise it would not see the indications, and baudrate and other port settings seem to be OK, too - otherwise you wouldn’t be able to read the output…

I can’t think of any other settings that need to be set… I think it should work just fine with your setup.

Maybe check the connection of UART 2 RX. Maybe the module doesn’t receive what you are sending?

Best Regards,  
Jan

---

<div class="post-metadata">

**Author:** ![Ralf\_Ebert](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@Ralf\_Ebert](https://forum.sierrawireless.com/u/Ralf_Ebert)\
**Post date:** [October 27, 2006, 2:41pm UTC](https://forum.sierrawireless.com/t/uart2-settings/810/12 "2006-10-27T14:41:40Z")

</div>

Hi Jan,

maybe my q2406b is configured wrong because I use the UART2 to communicate with an external device while I develop my application normally

Best regards  
Ralf
