Skip to main content
MZamu.1
Associate
January 25, 2022
Question

EMW3080 not working properly

  • January 25, 2022
  • 0 replies
  • 780 views

Hi,

I flashed an EMW3080B module with this firmware ST-EMW3080B_V2.1.11_SPI.ALL from this location on another board not B-U585I-IOT02A. It is connectet to SPI from STM32. Problem is next: when MCU set pin 11(CHIP_EN) from EMW3080B to HIGH to enable module and set pin 8(CS_SPI) to LOW, module not set pin 13(FLOW) to HIGH and obtain error "flow is low" and after 20 msec timeout "wait flow timeout 0". This result from this code:

mheader.type = SPI_WRITE;
 mheader.lenx = ~mheader.len;
 
 MX_WIFI_SPI_CS_LOW();
 
 /* wait EMW to be ready */
 if (wait_flow_high(20) != 0)
 {
 MX_WIFI_SPI_CS_HIGH();
 DEBUG_ERROR("wait flow timeout 0\r\n");
 return;
 }

in file mx_wifi_spi.c. In log from module:

"[1852][mx_spi: spi.c: 253] SPI type is not master write ff"

Why module not working properly? Where is the problem?In firmware?

This topic has been closed for replies.