How to start UART communication on UART1 port ie pin(8,10) on mangOH red using WP7502?


#21

@jyijyi

I could see the output via usb port (UART2) now how can i modify this to get the output from CN307?


#22

maybe you can try to put the UART console to UART1 by AT!MAPUART=16,1 and reset.
This can verify if there is hardware issue.
Honestly I have never tried on UART1, so no real experience on this.


#23

@jyijyi

I used AT!MAPUART=16,1 and got this upon using AT!MAPUART?

!MAPUART: 16,0

what should I do next?


#24

this is to route the console to UART1. After reboot, there should be some kernel log coming out from UART1, can you see it?


SerialportCommunication
#25

Okay now I got UART1 in console mode.


#26

I don’ see problem with WP750x with mangoH Red board.
After shorting pin 8 and in 10 of CN307, I run the following application (attached).
I can read back those data.


Jan 6 01:06:27 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 30 | wrote 6
Jan 6 01:06:27 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 57 | read 6 bytes == ATI3^M
Jan 6 01:06:28 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 30 | wrote 11
Jan 6 01:06:29 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 57 | read 11 bytes == AT+CMGF=1^M
Jan 6 01:06:30 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 30 | wrote 20
Jan 6 01:06:30 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 57 | read 20 bytes == AT+CMGS=“97576275”^M
Jan 6 01:06:31 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 30 | wrote 34
Jan 6 01:06:31 | atcmd[15181]/ATcmd_Test2Component T=main | ATcmd_Test2.c at_command() 57 | read 34 bytes == This is test SMS from ATcmd_Test2^Z
*****ATcmd_Test2.rar (96.7 KB)


#27

No I can’t see any kernel log. Where is cn307 please guide me
Thankyou
Subrahmaniam


#28

I can’t understand the problem which port should I connect DM/at/. And guide me to resolve this issue


#29

you can find CN307 easily if you look at the MangOH red board.