# WP7607 - UART1 doesn't work

**URL:** <https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465>\
**Category:** Uncategorized\
**Created:** [July 13, 2021, 7:52am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465 "2021-07-13T07:52:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 7:52am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/1 "2021-07-13T07:52:17Z")

</div>

Hello there! 🙂  
I hope you can help me…

I have developed a own simple modem with the WP7607 module.  
My designe with the WP7607 is almost completely working.  
There is just one problem…  
I can’t establish a connection over UART with the modul. There is just no response from the WP7607 when i send them AT-Commands.

Everything else what i need is working. \> SIM-Card detect, WAN connection … and also talking with the module over USB by use of AT-Commands!  
… just the UART1 isn’t working.

I have connect: UART1\_RX ; UART1\_TX ; UART1\_CTS ; UART1\_RTS (all come or go to a level-shifter [1,8V \>\< 5V])  
… UART1\_CTS and UART1\_RTS is connected togehter after the level-shifter.  
I don’t have connect: UART1\_DSR ; UART1\_DCD ; UART1\_DTR ; UART1\_RI (all floating)

I don’t understand where is the problem…  
Does i need to configure the UART1 over some AT-command at first?

Many thanks for your effort! 🙂  
Hope somebody has an interesting idea… 🙂

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 13, 2021, 8:04am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/2 "2021-07-13T08:04:17Z")

</div>

what is the AT!MAPUART? in USB AT command port?  
There should not be problem to use UART1 to enter AT command after setting AT!MAPUART.

You can see here:

> **[FX30S Factory Reset](https://forum.sierrawireless.com/t/fx30s-factory-reset/22253/22)**
>
> I don’t see problem with my WP76 on UART1 as AT command port: ati3 Manufacturer: Sierra Wireless, Incorporated Model: WP7605 Revision: SWI9X07Y\_02.28.03.05 000000 jenkins 2019/07/08 11:04:16 IMEI: 353532100020465 IMEI SV: 6 FSN:...

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 8:19am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/3 "2021-07-13T08:19:49Z")

</div>

Hey jyijyi,  
thanks for your fast respone! 🙂

I got following:

_OK_  
_at!mapuart?_

_!MAPUART: 1,16_

_OK_  
_ati3_

_Manufacturer: Sierra Wireless, Incorporated_  
_Model: WP7607-1_  
_Revision: SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21_  
_IMEI: 359780081347738_  
_IMEI SV: 5_  
_FSN: V2052185181010_  
_+GCAP: +CGSM_

_OK_

I gues the Firmware is very old, but currently i dont have the courage to update this, just cause the old original Firmware on this module (from 2018) isn’t available any more.

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 8:22am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/4 "2021-07-13T08:22:18Z")

</div>

also this:

_OK_  
_AT+IPR?_

_+IPR: 115200_

_OK_  
_Serial port speed is set to 115200._  
_ati8_

_Legato Ver: 18.06.3\_dc55d84226223a3798b01c1a272e9603_  
_Yocto Ver: SWI9X07Y\_02.18.06.00 2018-09-20\_16:17:38_  
_OS Ver: Linux version 3.18.44 (jenkins@jenkins) (gcc version 6.2.0 (GCC) ) #2 PREEMPT Thu Sep 20 16:20:02 UTC 2018_  
_LK Ver: SWI9X07Y\_02.18.06.00_  
_RootFS Ver: SWI9X07Y\_02.18.06.00 2018-09-20\_16:17:38_  
_UserFS Ver: unknown_  
_MCU Ver: 002.009_

_OK_

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 13, 2021, 8:45am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/5 "2021-07-13T08:45:25Z")

</div>

Can you try R13 as it has been proven to be working fine?

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 11:13am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/6 "2021-07-13T11:13:20Z")

</div>

I have flash R13 and R16 now but still no UART1…  
I guess there is still a little hardware problem, no problem with the UART it self…  
but possibly something like a bad powerup of the module or so…  
makes no sense to me, especially because the the other things are running

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 13, 2021, 11:28am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/7 "2021-07-13T11:28:02Z")

</div>

you can use oscilloscope to see if there is any signal.

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 11:40am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/8 "2021-07-13T11:40:41Z")

</div>

I have look at the Signals already… there where fine.  
[1,8V in idle \> UART typical]  
the module gets the data but sends nothing back.

Is there a AT-command to show and set if RTS/CTS on or off?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 13, 2021, 11:51am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/9 "2021-07-13T11:51:36Z")

</div>

you can use AT+IFC?

but i wonder how can you check if it does not respond to any AT command

BTW, maybe you need to try different baud rate

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 12:11pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/10 "2021-07-13T12:11:50Z")

</div>

OK! Thanks! I have try…  
_No flow control on Terminal Equipment(TE) side ie Host Device._  
_No flow control on Terminal Adapter(TA) side ie Modem._  
so should all be fine…

I have already try 9600, 19200, 57600, 115200 kbaud all with parity none and even.

I talk to the module over USB (whats is UART too).  
Does this mean, that the readout of the settings of the UART ( at!mapuart? and _AT+IPR?_) are just for the USB-UART or are these settings for all UARTs including UART1 ?

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 12:37pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/11 "2021-07-13T12:37:52Z")

</div>

I have done some interesign experiment…

On this side there is a nice overview of the AT!MAPUART command…

> [@AT!MAPUART strange behavior](https://mangoh.discourse.group/t/at-mapuart-strange-behavior/1912/14):
>
> Hi fefer, Can you please try this tutorial and see if it works: [4119370\_mangOH Green Tutorial - Arduino to AirVantage\_r1.pdf](https://mangoh.discourse.group/uploads/short-url/c6Gg400yCevAzgsuqYEBOFICmwK.pdf) (989.6 KB) Let me know if you have further questions. Thanks, Mirac

I have set UART1 (my problem UART) as output for the Linux Console (with AT!MAPUART= 16,1)

While bootup of the module, the module now shows his complete boot process in my terminal.  
(You can see here)  
[WP7607 Booting !MAPUART 1,16 Linux Console.txt](https://mangoh.discourse.group/uploads/short-url/o3AwcQbQGuqKB44isqQPoJ1udnB.txt) (14.2 KB)

So the transmitt hardware of the WP7607 is working perfectly.  
Iam also shure that, the receive hardware to the module is working.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 13, 2021, 1:04pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/12 "2021-07-13T13:04:44Z")

</div>

will you consider to enter AT command with console mode by “microcom /dev/ttyAT”?

BTW, have you tried enable flow control on your host side?

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 1:21pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/13 "2021-07-13T13:21:53Z")

</div>

sadly i dont have linux … microcom is ubunty right?  
but i can try tomorrow!

No i dont have try to anable flow control!  
can you tell me the right AT command?  
AT+IFC…?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 13, 2021, 1:22pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/14 "2021-07-13T13:22:58Z")

</div>

"microcom " is used in WP76 linux console!

When you open the UART in windows, you should be able to choose if you enable flow control, then you can try both option.

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 1:28pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/15 "2021-07-13T13:28:48Z")

</div>

one thing i have to correct… my problem UART is UART0 !  
UART1 is not connected…  
its confusing cause in the schematics everywhere there stands UART1 and UART2

ah ok… you talk about the flow control on the host side (windows) … yes i have try allready.

i go creazy with that problem… 😉

many many thanks for your effort till now jyijyi! 🙂

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 1:35pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/16 "2021-07-13T13:35:55Z")

</div>

I will try to use UART1 (UART2 in schematic) now!  
possibly this UART will work with AT-commands…

The first UART0 has also this DSR / DCD / DTR / RI Pins… (not shure what they so)  
and i’am not shure if there is some problem in my case…

I let you know after this test

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 13, 2021, 2:48pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/17 "2021-07-13T14:48:22Z")

</div>

no… sadly no good idea! UART1 (UART2 in schematic) is not settable as AT Command Interface!

What i have seen with the old UART0 is following…  
When i send some command like “AT” the first time, than the module response nothing.  
When i send shortly after that first command a second command, the module gives exactly the same back.  
I doesnt have to be a AT command… could also be something like “Hello1234”!  
… the module sends the same after the second try back to me…

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 13, 2021, 3:03pm UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/18 "2021-07-13T15:03:11Z")

</div>

Not quite really understand what you are talking about uart0 uart1 uart2 …

Are you using mangoh board?

If you can use uart2 as linux console, you can enter AT command by “microcom /dev/ttyAT”

---

<div class="post-metadata">

**Author:** ![philippthiel](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@philippthiel](https://mangoh.discourse.group/u/philippthiel)\
**Post date:** [July 14, 2021, 8:08am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/19 "2021-07-14T08:08:44Z")

</div>

No i dont use a mangho board. I have developed my own little pcb referring to the Mangho red board.  
The WP7607 has two hardware UART Pinouts.  
(a third software UART is over USB, what i use for tests to communicate with the module)  
This both hardware UARTs are in Software UART0 and UART1.  
But in Hardware is the labeled UART1 and UART2. (in the Mangho red schematic too)  
You can see here on Page 2 the WP7607 module.  
Pin2 - Pin9 is UART1 ; Pin96 - Pin99 is UART2

> **[MangoRed\_DV6\_final.pdf](https://mangoh.io/uploaded-documents/Reference/mangOH%20Red/Hardware/Schematics/MangoRed_DV6_final.pdf)**
>
> 1609.24 KB

And sadly UART2 ist able to configure to AT-command Interface.  
When i give the modeule the AT-command to set UART2 to AT-Inferface, it gives just “error” back.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [July 14, 2021, 8:41am UTC](https://mangoh.discourse.group/t/wp7607-uart1-doesnt-work/9465/20 "2021-07-14T08:41:57Z")

</div>

I don’t see problem to enter AT command in UART2 where it is set to be console mode:

```auto
Poky (Yocto Project Reference Distro) 2.5.2 swi-mdm9x28-wp /dev/ttyHSL1

swi-mdm9x28-wp login: root

root@swi-mdm9x28-wp:~# microcom /dev/ttyAT
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7609
Revision: SWI9X07Y_02.28.03.03 000000 jenkins 2019/05/21 03:33:04
IMEI: 359782080100399
IMEI SV: 6
FSN: WA803370010610
+GCAP: +CGSM

OK
at!gstatus?
!GSTATUS:
Current Time: 50 Temperature: 35
Modem Mitigate Level: 0 ModemProc Mitigate Level: 0
Reset Counter: 1 Mode: LOW POWER MODE

OK
at+cfun?
+CFUN: 0

OK
root@swi-mdm9x28-wp:~#

```
