The problem of FC41D station mode

Dear Sir

  1. I’d like to use FC41D in station mode. The test using the demo board was fine
  2. There were no errors when using a designed PCB board with FC41D and max3232 serial converter and it worked well in station mode with my phone when I sent commands from ATs. See the list of commands below.

(Normal operation case)
AT+QECHO=1
OK

AT+QSTAAPINFO=DLive_B269,D123D4B456 ← the wifi repeater’s name and pw
OK

+QSTASTAT:WLAN_CONNECTED
+QSTASTAT:GOT_IP
AT+QGETIP=station

+QGETIP:ip:192.168.200.100,gate:192.168.200.251,mask:255.255.255.0,dns:182.172.255.180
OK

AT+QIOPEN=1,“TCP LISTENER”,“192.168.200.183”,7000,2022,1 <— success get the IP
OK
+QIOPEN: 1,0

+QIURC: “incoming”,11,1,“192.168.200.158”,54294
+QIURC: “recv”,11,11
123458632 <— receive data from my mobile phone. data communication operates well.

3.However, after connecting the FC41D to the serial port on the MEGA128A and sending some of the following commands by step by step, it worked incorrectly and didn’t get the IP address.

(Abormal operation case)
AT+QECHO=1
OK

AT+QSTAAPINFO=DLive_B269,D123D4B456 ← the wifi repeater’s name and pw
OK

+QSTASTAT:WLAN_CONNECTED
+QSTASTAT:GOT_IP
AT+QGETIP=station
+
OK
55.180 <–???
EN=1,“TCP LISTENER”,“192.168.200.183”,7000,2022,1

??? = error, why it did not get the IP such as
+QGETIP:ip:192.168.200.100,gate:192.168.200.251,mask:255.255.255.0,dns:182.172.255.180

  1. The mega128a and FC41D have the same power of 3.3V, the CEN(FC41D) reset period is approximately 150ms after power-on, and the WKIN(FC41D) input was set to low level.

5.I don’t know where is problem. I’d like to know what I can do for further steps to fix this. Please let me know if you have any ideas or comments.

Thank you.

HONG

hi @ecrchong
I see when you are connected with mega128a , you are getting the IP address and connected to WIFI router but the urc missed the initial output and you can only see like “55.180”.
May I ask if the issue is persistent at your end ?