start up the rn131-g wifly module

All things pertaining to wireless and RF links

Moderator: phalanx

Post Reply
cyrus23
Posts: 10
Joined: Sun Feb 06, 2011 5:42 am

start up the rn131-g wifly module

Post by cyrus23 » Sun Feb 06, 2011 6:02 am

Hi,

i have developed my own board with the wifly rn131-g module and have some problems to bring the module into service.

the module is connected via the uart with an ARM7 LPC2388 Microcontroller. after reading the user manual i send these three chars "$$$" an the module gave me this message back:

Auto-Assoc roving1 chan=0 mode=NONE FAILED<CR><LF>*RE

now the manual says the module should give this back : "CMD" to enter command mode and configure the module. then i tried to put the PIO[9] Pin on High with the 4 DIL switcher. after turning on the power supply and debugging again the module now sends me CMD back, but still some problems remain. when i try the "show net" or "scan" order i dont get valid messages back e.g. "show net" i only get "SSID=" and after that 0xFFFF. and "scan" i only get "Disablen.." and then 0xFFFF over the uart.

i am using the IDE "keil uVision" and the "Keil ULINK2 Debugger"

follower
Posts: 280
Joined: Sun Mar 14, 2010 11:58 pm

Re: start up the rn131-g wifly module

Post by follower » Sun Feb 06, 2011 7:08 am

It looks like you're getting only partial responses to your commands. Maybe there is a flow control, buffering or ground issue?

--Philip;

cyrus23
Posts: 10
Joined: Sun Feb 06, 2011 5:42 am

Re: start up the rn131-g wifly module

Post by cyrus23 » Sun Feb 06, 2011 7:28 am

hi,

i wanted to upload 2 screenshots from my schematic and layout but i couldnt attach any files, according to the faqs i have to ask for permission, well im still waiting for a response from the moderator

cyrus23
Posts: 10
Joined: Sun Feb 06, 2011 5:42 am

Re: start up the rn131-g wifly module

Post by cyrus23 » Mon Feb 07, 2011 1:37 am

is it important that the head of the module (where the antenna is) is not mounted on the board? because on my board it is

User avatar
phalanx
Non-SFE Guru
Posts: 1983
Joined: Sun Nov 30, 2003 8:57 am
Location: Candia, NH

Re: start up the rn131-g wifly module

Post by phalanx » Mon Feb 07, 2011 8:39 am

cyrus23 wrote:hi,

i wanted to upload 2 screenshots from my schematic and layout but i couldnt attach any files, according to the faqs i have to ask for permission, well im still waiting for a response from the moderator
You aren't allowed to upload files until your first post is approved. Since your first one was approved, you have had the ability to upload files. In addition to that, even from your first post you could have used the "IMG" BBcode tags to embed an image stored elsewhere on the internet.

-Bill

cyrus23
Posts: 10
Joined: Sun Feb 06, 2011 5:42 am

Re: start up the rn131-g wifly module

Post by cyrus23 » Mon Feb 07, 2011 8:43 am

thanks ^^ i upload them right now
Attachments
wlan schematic.JPG
wlan layout.JPG

follower
Posts: 280
Joined: Sun Mar 14, 2010 11:58 pm

Re: start up the rn131-g wifly module

Post by follower » Mon Feb 07, 2011 9:57 pm

cyrus23 wrote:is it important that the head of the module (where the antenna is) is not mounted on the board?
Check out page 6 onwards in the datasheet: http://www.rovingnetworks.com/Docs/WiFly-RN-131-DS.pdf (From http://www.rovingnetworks.com/wifly-gsx.php)

These two sections seem relevant:
When integrating the WiFly module with on board chip antenna make sure the area around the chip antenna end the module protrudes at least 6mm from the mother board PCB and any metal enclosure.
The 8.5 mm area under the antenna end of the module should be keep clear of metallic components, connectors, vias, traces and other materials that can interfere with the radio signal.
--Philip;

cyrus23
Posts: 10
Joined: Sun Feb 06, 2011 5:42 am

Re: start up the rn131-g wifly module

Post by cyrus23 » Tue Feb 08, 2011 4:06 am

thanks, i have located the problem why i only received pieces of characters and not the whole message from the module. i tried to catch and save the received characters with an interrupt and finally im getting everything

follower
Posts: 280
Joined: Sun Mar 14, 2010 11:58 pm

Re: start up the rn131-g wifly module

Post by follower » Tue Feb 08, 2011 5:21 am

Great, thanks for taking the time to let us know how you got it working.

--Philip;

Post Reply