WATCH ON-DEMAND | STM32 Summit 2026
Ask questions and find answers on connectivity ICs, focusing on protocols and I2C challenges on STM32 Nucleo boards and BlueNRG products.
Most recent activity
Posted on May 10, 2018 at 14:09Hi,I have STM32 connected to BlueNRG-2 via SPI. I use Bluetooth Stack from ST Microelectronics.In my application (peripheral device role), I would like to detect that SCAN_REQ message has been received by BlueNRG-2.How can I do this? I cannot find an event that correspond to that.Kind regards,Piotr#peripheral #bluenrg-2 #scan_req
Posted on May 02, 2018 at 21:40What is the status of SPWF01SA modules?This link:http://www.st.com/content/st_com/en/products/wireless-connectivity/wi-fi/spwf01sa.htmlsays it is NRND,while this link:http://www.st.com/en/wireless-connectivity/spwf01sa.htmlsays it is Active??
Posted on May 07, 2018 at 15:37I am working on USB CDC-ECM device. CDC class code was created in CUBE. I modified device descriptor as described in ECM specification add to project LwIP stack. After connecting device(STM32F205) to host it detects as Ethernet interface with described MAC, but it uses IPv6. Any body knows when device should send its IP address? This must be done by LwIP or during initialization process? Has any one good example?
Posted on May 03, 2018 at 21:21I am evaluating the STM32ODE PLC. The choice of Ladder Logic items is rather limited. To add additional items requires modifications to the Android app. Is the Android project downloadable for modification?#plc #st_plc #fp-ind-plcwifi1
Posted on April 19, 2018 at 11:53Hi,I have an Arduino, which sends measured values to a SPWF04S module. I'm using the built-in http-server to remotely read these values.Because it is connected to the (semi-)public university wifi network, I was wondering if it was possible to somehow password protect the http server.I searched the manuals, but I cannot find a built-in option to password protect the http server.I could of course use javascript or micropython to check for a password, but that works for only one file and the source code is clearly visible. Is there an option I'm overlooking?#http #spwf04s #password
Posted on May 02, 2018 at 15:02How to save &sharpBluetoothMesh Models (Generic or Vendor) states on BlueNRG_2 flash & retrieve them after every reboot ?##bluetoothmesh
Posted on May 03, 2018 at 18:56The situationWe are trying to use the SPWF04SA WiFi module to readout and control values on microcontrollers. As a test, we are using a Teensy 3.2 microcontroller and send/receive messages using the MQTT-client on the SPWF04SA WIFI module.The Teensy sends commands to the WiFi module over a serial connection. The wifi module itself is connected to eduroam (university WPA enterprise network) and sends MQTT messages to a mosquitto-server and also receives messages from a certain topic.The basic principle works, but this gets interesting when the module gets (randomly) disconnected from the eduroam WiFi network. We want to continuously listen to the subscribed MQTT-topic, but after a WiFi-disconnect, it does not automatically connect to the MQTT-server again. We currently solved it by allowing the Teensy to read the output of the serial port of the WiFi module and detect the words Dissociation or ERROR in the messages. If this happen
Posted on May 02, 2018 at 12:36I am posting data up to a server using HTTP post, the module sends the data in chunked mode. It is a relatively short packet, so is sent in one transfer. However the module does not end the transfer by sending a last chunk character, I.e. '0' therefore leaving the server expecting more data.The module then closes the connection with FIN-ACK, yet leaving the server expecting more data, so obviously the server responds with an error on every post. Rather annoying!Please fix or suggest how the chunked transfer can terminated correctly!FYI:3.6.1 Chunked Transfer Coding The chunked encoding modifies the body of a message in order to transfer it as a series of chunks, each with its own size indicator, followed by an OPTIONAL trailer containing entity-header fields. This allows dynamically produced content to be transferred along with the information necessary for th
Posted on April 26, 2018 at 08:06How many NET keys & APP keys, provisioner could attached with &sharpBlueNRG_Mesh NODE ?I need at least 2 NET keys & 2 APP keys as per Bluetooth SIG specification.One pair (APP + NET ) will be for Admin of Network & one for Guest. I planning to share following data to my Guest= Encrypted( Guest NET Key + Guest APP key + Time period to access network)On Guest App, it will decrypt this data in background & allow my Guest to access the network till scheduled time period.Is this sensible implementation ?Otherwise Admin has to assign-remove GUEST keys every time.Thank You !!##bluetoothmesh
Posted on January 29, 2018 at 13:55Hello,We see a Factory Reset:1 When power cycling the SPWF04S. In about 80% of the times.It is setup as a mini AP when the power cycle is done. Since the host is running lower UART speed than the SPWF04S it complicates things when the Factory default 115200 is used after Factory Reset.AT-S.Var:build=170216-fd39c59-SPWF04SAT-S.Var:fw_version=1.0.0AT-S.Var:boot_version=1.0 +WIND:0:Console active+WIND:3:Watchdog Running:20+WIND:32:WiFi Hardware Started+WIND:26:Started AP:GW_1002+WIND:24:WiFi Up:0:192.168.0.50+WIND:24:WiFi Up::fe80:0:0:0:280:e1ff:fec4:2d+WIND:1:Poweron:170216-fd39c59-SPWF04S+WIND:13:Copyright (c) 2012-2017 STMicroelectronics, Inc. All rights Reserved:SPWF04SA+WIND:65:Factory Reset:1+WIND:73:System Configuration Updated+WIND:0:Console active+WIND:3:Watchdog Running:20+WIND:32:WiFi Hardware Started+WIND:21:WiFi Scanning+WIND:35:WiFi Scan Complete:00+WIND:21:WiFi Scanning+WIND:35:WiFi Scan Complete:00#spwf04s #factory-reset
Posted on April 30, 2018 at 16:11Hello, I would like to share one complication with editing files on SPWF04.My SPWF04SA is connected via SPI to MCU (STM32F407). SPWF04 webpage should be dynamically updated with data from MCU.My solution is MCU gets data from its peripherals and creates a JSON string from themMCU updates file 'data.txt' on SPWF04 (this file contains the JSON string) AT+S.FSD (delete old file)AT+S.FSC (create new one with up-to-date content)HTML page 'index.html' on SPWF04 server contains Javacsript, which: In 1 second interval requests the file 'data.txt' from SPWF04 serverParses its content into JSON objectUpdates values shown on webpageActual problem:So, this works well, content on webpages changes correctly... but not permanently.After some time (varies between few secs - few minutes), SPWF04 suddenly returns errors 56 and 51 on FSD and FSC commands ('Unable to delete file' and 'Unable to open file').Then after few seconds SPWF04 restarts, with normal 'startup seque
Posted on April 26, 2018 at 05:28We have started proto-typing with BlueNRG2 reference board. However, I met a following problem.If someone have had same experience or solution, please share with us.Problem:- ROM image as a example of HID/HOGP provided by ST DK(BlueNRG-1_2 DK 2.6.0) works fine.- ROM image built by Keil MDK v5.25 does not work correctly, behaves very unstable.(randomly freezes, or sends no BT frames or sends invalid BT frames, sometimes discoverable, sometimes undiscoverable...)- Target: HID_Mouse.hexEnvironment:- H/W: STEVAL-IDB008V2- IDE: Keil MDK v5.25- Development Kit: BlueNRG-1_2 DK 2.6.0- Project file: BlueNRG-1_2 DK 2.6.0\Project\BLE_Examples\BLE_HID_Peripheral_MDK-ARM\BlueNRG-2- Build target: HID_Mouse- Nothing modified from ST DK Release, Just cleaned and built.- Codes, Project options, etc, nothing modified from original.--- I guess ST original release would be built by IAR EWARM. If this problem comes from compiler issue, we need to avoid to use Ke
Posted on April 27, 2018 at 15:58We are using SPWF01SC.11 in the design and FW version is 3.5.3 (170111-665d284). When we send the command 'AT+S.SCFG=wifi_tx_power,12', We are not consistently getting positive response from the SPWF01 module. Please help us to resolve the issue.
Posted on April 27, 2018 at 14:03Hello,I am using the SPWF01 (FW 170111) WiFi module together with a STM32 host controller to build a MiniAP with TCP socket server. Data is transfered in DataMode.In principle it's working fine, but:1. Some user can't connect to this AP with a NEXUS phone (Android8)2. Sometimes it lasts nearly one minute to connect by a Win7 Laptop3. When the module is in DataMode, the host controller (STM32) gets no information when the IP connection is lost but the TCP connection was active.Thanks for your help.Robert
Posted on February 28, 2016 at 21:46I've been introduced to SPWF01S WiFi during Embedded World 2016 exhibition at Nuremberg a few days ago.I have an application that requires 8 or more server sockets in AP mode. SSL sockets would be a plus.The guy in the STM booth told my that it is feasible with the latest firmware but I cannot see this in the datasheets.DO you know if is this feasible with SPWF01S module or any other alternative? #spwf01s-wifi #sockets
Posted on March 20, 2018 at 20:28Hello everyone,Based on the evaluation board of SPBTLE-1S, we are going to make a board with SPBTLE-1S. So the question is:Would be able to program the module (the internal BlueNRG) only with the below signals? We checked the schematics of the evaluation board but most of the components will be removed (like UART,USB,Sensors etc) and we want to keep only the core and the necessary components.
Posted on April 26, 2018 at 10:10 Hi there, I'm working on an STM32F103 connected via USART to a WiFi Module SPWF01SA The communication between MCU and WiFi module works well: I can connect to WiFi network,I can obtain the NTP time via TCP socket. When I try to open a secure TLS socket with AWS I get the error:SSL/TLS Error: Unable to connect (-1). I load the certitifcates (rootCa, Client Certificate and Client Private key) into the WiFimodule and I receive back 'OK' for each certificate, also for the time and domain. I load the certificate with this function: TLS_Certificate caCert; TLS_Certificate tlsCert; TLS_Certificate certKey; TLS_Certificate domainClient; caCert.certificate = caCertificate; caCert.certificate_size = strlen((const char *)caCertificate) - 1; tlsCert.certificate = tlsCertificate; tlsCert.certificate_size = strlen((const char *)tlsCertificate) - 1; certKey.certificate = certificateKey; certKey.certificate_size = strlen((const char
Posted on April 23, 2018 at 11:27Goodday,After a few months on the SP1ML (STM32L151+SPIRIT combined) then switching to SPSGRF (STM32L151 seperate from the SPIRIT module) I am experiencing the same phenomena on both designs. My software toggles the system in and out of STOP mode using timer 7 (to go to shutdown) and RTC to wake up. Eight out of ten times current consumption will be 50uA which seems correct with external pull-ups etc, but two out of ten times the current jumps to 220uA.I have removed all additional semiconductors from my design and reverted back to the original firmware from ST. I am now toggling the unit in and out of shutdown mode with an external wire connected to ground and still every now and then I get 220-300uA in shut down mode instead of 19uA.My project is current sensitive and will be asleep 99% for months at a time so I cant afford to take a chance where it goes into stop mode drawing 220uA.I have narrowed it down to the S
Posted on April 26, 2018 at 07:43Hi,sometimes the SPWF01 freezes (FW. 3.5.3). Then I have to power off the device. A hardware or software reset causes no reaction. I also reseted my host controller, but this doesn't help. Only if I power off the SPWF01, it works again. I'm wondering why the watchdog doesn't reset the SPWF01.Does anybody have this problem, too?BR,Flow
Posted on April 13, 2018 at 15:15We are using SPWF04 recently and found this module when running at standby mode would draw around >1mA current rather than uA level mentioned in the datasheet (it actually comes to uA for a couple of seconds and turns to 1.7mA after). May I know if SPWF04 could be a compatible replacement for SPWF01, any notice/tips for Hardware redesign, IO config or AT comment settings? Thanks.
Posted on April 25, 2018 at 18:07Hi,I want to connect to the wifi board XNUCLEO-IDW04A1 with my nucleo stm32l476RG developpment board. However I am getting a strange behaviour similar to what is posted on https://community.st.com/0D50X00009XkYRKSA3 except that I get the problem at the beginning of the example Client_Socket in the x-cube-wifi1_firmware.V3.1.1. I used the latest firmware SPWF04S-171117-0328fe3-Full.hex for the wifi board. The program get stucked at line 433 of wifi_interface.c while(IO_status_flag.WiFi_WIND_State!= WiFiPowerDown);//Till +WIND:38:WiFi Powered Down arrivesThank you/******************************************************** * *&nb
Posted on April 23, 2018 at 14:18I'm using BlueNRG-1 and 'throughput' example. My BlueNRG-1 is in 'SERVER' role. Windows 10 application is in 'CLIENT' role. But I can not find 'Conn_Interval_Min' and 'Conn_Interval_Max' in Windows 10 API. Where can I find these parameters?
Posted on September 19, 2017 at 16:26I am using SPWF01SA (ver :160129-c5bf5ce-SPWF01S) with CubeExpansion_WIFI1_V3.0.2 with custom hardware.Trying a simple test of adding a html file to RAM using wifi_file_create(). File is added as i confirmed this with wifi_file_list(). I am starting the module in miniAP mode and when i try to access this html file from wifi client laptop, http connection drops. But if i try to access any other html file i can get it in my browser. //code for file creation and module startup....WiFi_Status_t status = WiFi_MODULE_SUCCESS; uint8_t ssid[11] = {'R','L','C','_','C','O','N','F','I','G',0}; uint8_t tmp[85];sprintf((char*)tmp,'%s','<!DOCTYPE html><html><head><title>testpage</title></head><body>testpage</body></html>');InitWiFi_GPIO();StartWiFiHardware(); status = SET_Configuration_Addr(WIFI_IP_APDOMAINNAME, 'domain.net'); if(status != WiFi_MODULE_SUCCESS) &n
Posted on April 20, 2018 at 16:04Is Relay feature by default active on every &sharpBluetoothMesh node which is based on libBlueNRG_Mesh_CM0.a ?If no, then how to enable it ?##bluetoothmesh
Posted on April 23, 2018 at 07:03Hi all,I was able to port Environmental Sensor Service program to an STM32L4 MCU and the program seems to work fine with BlueNRG-MS application on smart phone.While going through the code, I came across that when the GATT server receives a read event from the client it checks the relevant handle of the characteristic in the following way.void Read_Request_CB(uint16_t handle){ if(handle == accCharHandle + 1){ Acc_Update((AxesRaw_t*)&axes_data); } else if(handle == tempCharHandle + 1){ int16_t data; data = 270 + ((uint64_t)rand()*15)/RAND_MAX; //sensor emulation Acc_Update((AxesRaw_t*)&axes_data); //FIXME: to overcome issue on Android App  
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.