Getting Started with the 88W8801 on i.MX RT

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

Getting Started with the 88W8801 on i.MX RT

146 Views
mjbcswitzerland
Specialist V

Hi All

I have just received an embedded artist EAR00386 board with NXP WiFi module 88W8801.
Embedded Artists has patched the SDK so that there is a demo showing it in operation on their i.MX RT 1062 board - this builds, loads and runs.

However I don't find any information about how it is operating - for example, the wifi module's data sheets only give details about the SDIO interface's electrical specification.

Looking how the code starts I see that it first downloads a binary file to the interface (about 256k in size) - wlan_fw_bin[] in sd8801_wlan.h, which is the one for this particular module.
Later I see that it can send commands, like

#define HostCmd_CMD_MAC_CONTROL 0x0028

 (defined in mlan_fw.h)

Are there any details about the operation of the FW loaded and its interface apart from the SDK code base itself?

Regards

Mark

0 Kudos
3 Replies

133 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

All the documentation regarding the wireless applications is available in your SDK bundle.
Please take a look to it in the following directory docs\wireless.

Regards,

Daniel.

0 Kudos

113 Views
mjbcswitzerland
Specialist V

Hello Daniel

Many thanks - the project import didn't add any wifi documents but I have found the folder in the SDK installation ZIP file.

However, apart from a high level guide to what the demonstrations do and an API document [WiFi driver reference manual] (which is generated by doxygen from the project code - and therefore doesn't add any more information than found in the code itself) I didn't find anything that describes how things actually work.

For example, the downloaded binary function is not mentioned anywhere (apart from the fact that it is loaded during the initialisation) and, using a reference command to set the MAC address the API describes the call as

mjbcswitzerland_0-1717726213759.png

whereas looking at the code involved gives further insight:

 

    (void)wlan_ops_sta_prepare_cmd((mlan_private *)mlan_adap->priv[0], HostCmd_CMD_802_11_MAC_ADDRESS, HostCmd_ACT_GEN_SET, 0, NULL, (uint8_t *)mac, cmd);

 


showing the use of a host command

#define HostCmd_CMD_802_11_MAC_ADDRESS 0x004D

to transfer it over the SDHC bus.

The details about this layer of interaction is what I am trying to locate (it must be defined by the downloaded binary, which must have been generated from its code, based on such a specification).

Regards

Mark


0 Kudos

102 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

All the available documentation of the SDK can be found in the docs directory of you zip SDK bundle.

I'm afraid we don't have any guide or user manual that technically describes the process you mention.

In case you have a specific question regarding the firmware or download process, I can ask internally for help.

Regards,
Daniel. 

0 Kudos