GainSpan 1011M MQX MCF52259 integration questions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GainSpan 1011M MQX MCF52259 integration questions

Jump to solution
1,902 Views
ARQuattr
Contributor IV

I'm using the GS1011 WiFi module in a custom board and am having some trouble getting the hardware interface working.  On a MCF52259 tower setup it works fine (although so far I only tried it in SPI mode), but a custom board which is based on the same design has problems.  I'm trying to get either SPI or UART working.

UART:

I noticed the messages coming from the module were at 9600 baud, while the messages going to the module from the 52259 were at 115200.  I changed the configuration in the BSP so they would communicate properly at 9600 (although I would prefer 115200), so I'm not sure if this is a bug in the wifi patch or there is some other reason.  Once they were communicating however, when I tried web provisioning, after sending the username, password, SSID, IP, etc. to the module, it responds with "ERROR: INVALID INPUT".  Any idea what this means?

SPI:

When configured for SPI, I see the data out, clock, and CS coming from the 52259, but the module seems to ignore it (there is no data in or interrupt output from the module).  So the program stops right away when trying to get the module version and MAC. 

This is a off-the-shelf module I purchased for this board and didn't do any firmware changes or any other configuration.  Do I need to in order for it to behave like the one on the tower?

Thanks

0 Kudos
Reply
1 Solution
1,338 Views
DavidS
NXP Employee
NXP Employee

Hi Angelo,

I have the TWR-WIFI-G1011M module.

The trick is to match the WiFi firmware with the version of MQX you are running.

When I installed the MQX3.7 patch on top of an already installed MQX3.7 then the firmware and documents are in following path:

Freescale MQX3.7/GS

Regards,

David

View solution in original post

0 Kudos
Reply
3 Replies
1,338 Views
DavidS
NXP Employee
NXP Employee

Hi Angelo,

It has been a year or so since I tested the GainSpan hardware with MQX3.6 and MQX3.7 (not certain when GainSpan is planning on a MQX4.0) but I had each working OK.

My suggestion is to review the Documentation and Download tabs on the GainSpan Tower WiFi product page:

TWR-WIFI-G1011MI Product Summary Page

If you continue to have issue there is another post that GainSpan had replied to with linksto their customer support site.

Re: Taking questions on Wi-Fi for the Tower System

Regards,

David 

1,338 Views
ARQuattr
Contributor IV

Thanks David.  I managed to get access to some more of the Gainspan documentation and I found out that the modules are shipped with only a test program, which probably explains all or most of my issues.  Now I'm trying to figure out where to get the firmware files I need to upgrade the module with.

Were you testing with a tower board, or new modules?

Thanks

0 Kudos
Reply
1,339 Views
DavidS
NXP Employee
NXP Employee

Hi Angelo,

I have the TWR-WIFI-G1011M module.

The trick is to match the WiFi firmware with the version of MQX you are running.

When I installed the MQX3.7 patch on top of an already installed MQX3.7 then the firmware and documents are in following path:

Freescale MQX3.7/GS

Regards,

David

0 Kudos
Reply