Forums - QCA4004 Module not giving WMI_READY interrupt

5 posts / 0 new
Last post
QCA4004 Module not giving WMI_READY interrupt
georgedavisc25
Join Date: 16 Feb 15
Posts: 2
Posted: Wed, 2015-05-06 04:48
Hi,
 
 
We are using Longsys GT1216 WIFI module in which QUALCOMM QCA4004 module is embedded in our board for SMART communication.Wifi module is controlled  by SPI interface with STM32F107Rb controller.
 
Through UART able to communicate with WIFI module and to configure it for transmission and reception of TCP packets to and from systems connected with same access point  connected to WIFI  module. Here WIFI module is set to USB/manufacturing test and configuration mode by default as HM [1:0] pin is set as [0:0] as mentioned in GT1216 Datasheet V1.3.
 
Through SPI able to read and write SPI external registers ,verified the default values provided in QCA4002/QCA4004 Hosted SDK (MQX1.1) Programmer’s Guide.In the Boot process hi_refclk_hz is read and verified as 40 MHZ.After this it is writing four-byte 0x00000002 to HOST_INTEREST_ITEM_ADDRESS(hi_flash_is_present) for WIFI module to continue booting from serial flash.
Then ATH_SPI_INTR_ENABLE_REG is enabled in HTC_Start() function.Next we are expecting first packet interrupt WMI_READY_EVENT message from WIFI module.But not getting any interrupt.When probed interrupt pin it remains in HIGH state all the time.
 
 We additionally enabled the host control write done interrupt in INTR_ENABLE register in the source provided and got  Interrupt from WIFI module when a writes to an external register comes in source code(HIGH to LOW signal found in Osciloscope when probed).
 
Below are the procedures done for establishing SPI connection with WIFI module.
 
1)Changed bootstrap configuration to SPI Host mode by pulling the HM [1:0] pin of WIFI module to [1:0] as said in GT1216 Datasheet V1.3.
 
2)Ported IoE Wi-Fi QCA4004 Platform Dev Kit SP140/144 (v3.3.2) source code provided by QUALCOMM to STM32F107Rb controller.
3)Enabled  IP stack offload Macro defined in A_config.h.
 
Any Help will be appreciated in diagnosing the problem of not getting any  WMI_READY_EVENT interrupt from  WIFI module after succeding every step in the boot proccess.
 
Regards
George
  • Up0
  • Down0
georgedavisc25
Join Date: 16 Feb 15
Posts: 2
Posted: Thu, 2015-05-07 22:13

Hi ,

Could anybody give us some hints to take care of this isssue as we are stuck on the boot proccess  of QCA4004 WIFI module  with host MCU waiting for WMI_READY interrupt.

Please give any suggestions to solve this issue.It will be really helpfull to us.

Regards

George

 

  • Up0
  • Down0
nikhil.bhatia
Join Date: 28 Nov 16
Posts: 2
Posted: Mon, 2018-03-19 15:43

Hi George,

Were you able to get WMI_READY interrupt issue resolved? We are starting to port QCA4004 SDK v3.5 on GT1216 and running into the exact same problem. I'd appreciate your suggestion/advice on this issue. 

Thanks,

Nikhil Bhatia

Serious Integrated

https://www.seriousintegrated.com/

  • Up0
  • Down0
jbhanu Moderator
Join Date: 6 Feb 17
Posts: 80
Posted: Mon, 2018-03-19 21:58

Hi Nikhil, 

Is your Host MCU is little Endian or big Wndian? Please provide more deatils about your Host MCU?

 

Regards

Jyotiranjan 

  • Up0
  • Down0
nikhil.bhatia
Join Date: 28 Nov 16
Posts: 2
Posted: Tue, 2018-03-20 09:04

Hi Jyotiranjan,

Host CPU is little endian ARM-Cortex A9 based processor.

Thanks,

Nikhil

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.