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 17, 2017 at 14:28I am trying to send data from the browser to the module using POST request with output_demo.html. The POST request is limited to 64 bytes, so I cannot send more than 64 bytes with a POST...If I send 65 bytes, the last byte is truncated and only 64 bytes are delivered by the module. Is this a limitation of the module? Can be the number of bytes increased? 64 bytes for a POST are not enough...I send this from browser : Output=SetNetSet{6;1;0;2;1;0;172.10.20.1;123456789012345;123456789012345678}There are 68 bytes of data in the above request.The module outputs this on uart console: +WIND:57:Output from remote:64:SetNetSet{6;1;0;2;1;0;172.10.20.1;123456789012345;123456789012345The module outputs only 64 bytes, but the request contains 68 bytes...Thanks
Posted on November 01, 2017 at 14:00Hello,I am using two bluenrg-1 devices, one of them working as a slave and other working as a master. I would like to know if there is any example I can use where the white_list is used or if anyone can give me some ideas.What I am doing now is on the central side, when the slave is advertising (ADV_IND) and the master received the hci_le_advertising_report_event() I will get the Address and type address and add the information of that device using the function aci_gap_add_devices_to_resolving_list().Once I have added the device I will start creating the connection using the function aci_gap_start_general_connection_establish_proc().Is that procedure correct or should I do it in a different way?Thank you
Posted on September 22, 2017 at 20:40Hello,I use SPWF01SA on IDW01M1 board with stm32l476rg. This setup worked correctly until I updated static httpd filesystem via at+s.httpdfsupdate. File system image has a lot of small files (562), but with total size 77 KB. Few previous updates with fewer files worked correctly. After update was finished successfully I reset with at+cfun=1. After this, SPWF01SA stopped to work correctly. When I power it up or reset I get:+WIND:2:Reset+WIND:1:Poweron (160129-c5bf5ce-SPWF01S)+WIND:13:STM SPWF01SA11 IWM: Copyright (c) 2012-2015 STMicroelectronics, Inc. All rights Reserved.+WIND:3:Watchdog Running+WIND:0:Console activeIf I try some other at commands I get garbled outputs, for example at&v:♯ Dumping All Configuration Keys:♯ nv_mnuf = STM♯+ nv_modeW I SPWF01SA11&sharpN nv_seDi:l = valu4♯: nv_wiHiemacaddr = 00a80:E1:B9p7 :2B♯ totf_mode = o♯ blink_lsd = 0♯ wind_off_lowm= 0x000000a0♯ lwindlof_medium= 0x00000000♯wind_o+f_high
Posted on October 04, 2017 at 11:31Since I have started to work with SPWF04SA, I have seen lots of mistakes in the documentation (specially about the SPI interface). Hopefully, the community help me but I wonder when the new version of the doc will be available.#documentation #spwf04 #spwf04sa
Posted on November 03, 2017 at 13:39I have suspect failed EEPROM chip, part number 93C86W K529WI cant find this chip online, is there a direct replacement for it?#eeprom #93c86
Posted on November 03, 2017 at 10:42 Hello to everyone. I have a project I use blueNRG-1 I have problems with energy consumption in the project no problem in advertising mode and connection status current in connection status : ~ 250uA current in advertising mode : ~50uA But; current in discovery mode : ~4mA battery voltage drops to 2.4v at 4mA current I use CR2032 3V battery. is this a special case for discovey mode or am I doing something wrong? my summary code; uint8_t Start_Discovery_Proc(void) // start discovery procedure { uint8_t ret; ret = aci_gap_start_general_discovery_proc(DISCOVERY_PROC_SCAN_INT, DISCOVERY_PROC_SCAN_WIN, PUBLIC_ADDR, 0x00); BlueNRG_Sleep(SLEEPMODE_NOTIMER,0,0); if(ret != BLE_STATUS_SUCCESS) { return 0x00; } return 0x01; } uint8_t Stop_Discovery_Proc(void) // stop discovery procedure { uint8_t ret; ret = aci_gap_terminate_gap_proc(0x02); // GENERAL_DISCOVERY_PROCEDURE if (ret != BLE_STATUS_SUCCESS) { return 0x00; } retur
Posted on March 31, 2016 at 11:41Hi,I'm currently working on using SPBTLE-RF module with the evaluation board of the KL25Z from Freescale.After I set up the SPI interface, I tried a byte-communication with the module by sending Write Header ( 0x0a, 0x00, 0x00,0x00, 0x00), some data (supposed to be HCI command, see further) and then the Read Header ( 0x0b, 0x00, 0x00,0x00, 0x00) in order to get something in return . Here is what I send/receive :---- START ---- **** SLAVE HEADER WRITE 0x02 0x7F 0x00 0x07 0x00 **** Received : 0xFF Sent : 0x01 Received : 0xFF Sent : 0x09 Received : 0xFF Sent : 0x04 Received : 0xFF Sent : 0x00 **** SLAVE HEADER READ 0x02 0x00 0x00 0x00 0x00 **** ---- END ----Whenever I try to read some data (by sending read header) coming from the module aft
Posted on October 26, 2017 at 14:27Hello all,I have a bluenrg-1 working as a master and it is connected to a bluenrg-1 working as a slave. The connection is established and it is working fine.When I send the command aci_gatt_disc_all_primary_services() I received a response from the event aci_att_read_by_group_type_resp_event(), so I can obtain the UUID characteristic from the slave. Now I would like to know the characteristics of that UUID from the slave ( like char_properties, char_value_length). Though I can do it sending the command aci_gatt_disc_char_by_uuid(), when I send the command the response is ok but I do not get anything from the event aci_gatt_disc_read_char_by_uuid_resp_event() as it is not called.Am I doing it wrong or there is a better way to do it, to get the information I need from the slave?Thank you
Posted on August 31, 2017 at 15:05I am using the example certificates provided by ST (en.STSW-TLSpack.zip), specifically Example 2 for encrypted communications in One Way mode.I am using the 'Client_Socket' example of the SDK 'STM32CubeExpansion_WIFI1_V3.0.2' in a NUCLEO-F401RE and the WIFI module SPWF04SA (X-NUCLEO-IDW04A1).Using OpenSSL I have obtained the Subject Key Identifier of the file 'ca_cert.pem' which is '3EF1747FD79122144BCADF4F95DF960A32823B4C', and the certificate I placed it in a char array in the SDK sample code.For server testing, I am using a Raspberry Pi and OpenSSL, I have placed all the necessary files together in a directory and started the server with the following command line:openssl s_server -cert server_cert.pem -key server_key.pem -tls1_2 -www -accept 4443Start the NUCLEO-F401RE card next to the shield X-NUCLEO-IDW04A1 configured in USART mode, and I get the following:-> OpenSSL Server on Raspberry Pi at 172.26.3.83:Using default temp DH parametersACCEPT
Posted on January 04, 2017 at 09:52Hello,I'am using this module to connecte my borad to Internet. This module can create a mini AP so a user can connect its laptaop or smartphone to the SPWF01 and configure the WIFI connexion (SSID and pass).I have no problème to connect to the mini AP with an old WIKO smartphone but I can't connect with a newer smartphone (Huawei P9 lite).I have also discover a weird thing : If I first connect anything (old WIKO or laptop) to the mini AP, and then try with the P9 lite, it can connect to the mini AP.thanks for your help.Marc G
Posted on September 12, 2017 at 22:34Hello,I have two sets of NucleoF401RE+SPWF01S, on one I have Version 3.4 SPWF01S-150410-c2e37a3And on the other Version 3.5 SPWF01S-160129-c5bf5ceI run the same application that connect to AWS IOT over TLS, the 3.4 version is working fine and connected to AWS successfully, the 3.5 fail to connect.Any idea what could be the problem?Attached are the log of the two sessions.Thanks,Eyal
Posted on September 26, 2017 at 20:48I'm trying to get a SPWF04SA to connect to a WAP with no success. Whatever I do, the radio seems to come up in MiniAP mode (wifi_mode=3). I'm sending the following commands, in UART mode, waiting for a positive response from each one before continuing:AT+S.WIFI=0AT+S.SSIDTXT=wap_ssidAT+S.SCFG=wifi_wpa_psk_text,wap_pwdAT+S.SCFG=wifi_priv_mode,2AT+S.SCFG=wifi_mode,1AT+S.SCFG=ip_use_dhcpc,1AT+S.WCFGAT+S.RESETAT+S.WIFI=1Here's what the last two give me:AT+S.RESET+WIND:2:Reset+WIND:1:Poweron:170216-fd39c59-SPWF04S+WIND:13:Copyright (c) 2012-2017 STMicroelectronics, Inc. All rights Reserved:SPWF04SA+WIND:0:Console active+WIND:3:Watchdog Running:20AT+S.WIFI=1AT-S.OK+WIND:39:HW in miniAP mode+WIND:32:WiFi Hardware Started+WIND:26:Started AP:iwm-BD-01-56+WIND:24:WiFi Up:0:192.168.0.50All GPIO pins are pulled low.What am I doing wrong?Thanks,Steve#spwf04sa
Posted on October 09, 2017 at 08:59Hi, I am using WiFi module SPWF01SA in STA Mode with 115200 baudrate. I have connected to server with AT+S.SOCKON command and sending 800 bytes but it takes 11.27 sec to transfer these bytes instead it should transfer them within a second.
Posted on October 22, 2017 at 16:20Hi,I have a problem with the messages from SPFW04 being mixed up as my 'output from remote'-message is interrupted by the OK message.My microcontroller is updating the SSI via UART ten times per second and the answer from SPWF04 looks like this:AT-S.Managing Tokens:7AT-S.OKSometimes I am sending from my website 'abort' what looks like this:+WIND:57:Output from remote:5:abortIn some cases this is mixed up and I receive:+WIND:57:Output from remote:5:AT-S.Managing Tokens:7AT-S.OKabortI already tried to set down the verbose of the console (console_verbose=0, console_winds=1) but ended up with the message:WIND:57:5:AT-S.OKabortDoes anyone know a solution?Thanks and regards
Posted on October 23, 2017 at 10:23Hello,When I receive MQTT message it looks like one extra character is added to topic:+WIND:86:MQTT Published:0:devices/MCTEMP77/commandd:0:0:0:4:4:testTopic should be:devices/MCTEMP77/commandand not:devices/MCTEMP77/commanddAdded character is always last character of topic.Regards
Posted on October 17, 2017 at 08:28WPA2 Vulnerability Hello,Latest news about critical vulnerability in WPA2 has left our customers asking about the implementation in the SPWF01 modules.https://arstechnica.com/information-technology/2017/10/severe-flaw-in-wpa2-protocol-leaves-wi-fi-traffic-open-to-eavesdropping/ Can we expect some information anytime soon?Regards,Jarno
Posted on October 28, 2017 at 23:18anyone know the failure mode of https://www.digikey.com/product-detail/en/stmicroelectronics/ESDCAN03-2BWY/497-15846-6-ND/5305260, short or open?
Posted on December 09, 2016 at 10:23Hi Falks,i have implemented a pure python drivers (based on BlueNRG DK 2.0.2) for MicroPython.Currently i have implemented various examples:- BlueST Protocol for use 'ST BlueMS' app- SensorDemo for use 'BlueNRG' app- Firmware updateAttached screenshots.As soon as possible i open a github repository where release source code.Regards,D.
Posted on October 27, 2017 at 16:18Hello!I try to accomplish connecting and using the connection for AWS or AZURE service, but now unsuccessful. Sent: AT+S.TLSCERT2=clean,allSent: AT+S.SETTIME=1509036785OKOKSent: AT+S.SETTIMEOK# Date and GMT Time:# 2017-10-26# 16:53:5Sent: AT+S.TLSCERT=f_ca,1758Sent: AT+S.TLSCERT=f_cert,1223OKOKSent: AT+S.TLSCERT=f_key,1678Sent: AT+S.TLSDOMAIN=f_domain,us-west-2.console.aws.amazon.comOKOKSent: AT+S.TLSCERT=f_content,0# TLS loaded CERTs:# CA Cert: YES# Client Cert: YES# Client Key: YES# Domain Name: YES - us-west-2.console.aws.amazon.comOKSent: AT+S.SOCKON=a1uyw4e#####.iot.us-west-2.amazonaws.com,8883,s,indERROR: SSL/TLS Error: Unable to connect (-155)I read about too big certificates, and I tried to download my own less, from FP-CLD-AWS1 tutorial either. But I use other board with SPWF01 and can't run the script from FP-CLD-AWS1. Is it possible to connect to these cloud services in general through AT commands with SPWF01?
Posted on October 10, 2017 at 15:58Hello all,I would like to udpate the firmware on the BLE, I am using an external processor and BLUENRG-1, both of them are connected by SPI and UART but I will be using SPI. I would like to update the firmware, I have got the fw image on the processor. Can anyone advise me how to do it?Thank you.
Posted on October 19, 2017 at 20:58Hello,I am working on a smart meter project and looking for RF transceiver IC for Sub-1GHz bands for Wireless m-bus. I found the S2-LP (http://www.st.com/content/ccc/resource/technical/document/datasheet/group3/bd/26/62/81/3d/86/4d/15/DM00339133/files/DM00339133.pdf/jcr:content/translations/en.DM00339133.pdf) seems to fit the requirements. Here are my question before I actually go ahead with that selection:1. S2-LP has SPI interface so I believe I can use any microcontroller with it? I am planning to use STM32L0 / L1 2. Is all the software stack available to implement wireless m-bus? 3. Do I need to use any specific compiler (like IAR) ? or I can develop using GNU ARM compiler?4. Is there any RF module limitation i.e. do I have to use SPSGRF-868 RF module as is used in evaluation board X-NUCLEO-IDS01A4? Any help will be very much appreciated!thanks Silas#smart-metering #wm-bus #s2-lp
Posted on August 16, 2017 at 16:58Hello everyone,I have the BLUENRG-1 running and working ( advertising, creating connections, sleeping ).Now I would like to write a unique ID in each bluenrg-1 and then read it when the application starts up but not really sure how I should do it.Can anyone help me on this.Thanks
Posted on October 25, 2017 at 03:34I'm working on a product where the BlueNRG RF during transmit is affecting our measurements. I was wondering if the TEST8 or TEST9 pins would be useful in avoiding the periods when BlueNRG is transmitting? I noticed the pins listed at the bottom of the BlueNRG IFR window of the BlueNRG GUI. I'm trying to find more documentation about the pins.Additionally, would it be reasonable to leave the BlueNRG-MS in test mode for a production device? Is power consumption or other performance affected much by this test mode?
Posted on October 24, 2017 at 13:06SPWF04 SPI SOCKET SERVERI have the SPWF04SA configured as an STA and connected to a Wifi AT.I have an udp socket server opened in the SPWF04, for that I have used the following sentence: AT+S.SOCKDON=3333,u mapped to spi as following: (Ex:3333) 020009470204333333330175Then I send data from my PC to the SPWF04 so I receive the WIND message of incomming data 021A370B00303A303A31343A31340D0A //0:0:14:14 I receive 14 dataSo I ask for data received using the corresponding message  
Posted on October 19, 2017 at 18:24Hi,I am working on the IDW01M1 wifi module. To-date I have been able to connect 2 of these modules to a common server and send commands between them via the server. I am now trying to connect directly between the modules without the need for the server. I have been able to create an adhoc network but I am unsure about how to setup the boards as both clients and servers. I have searched for any setup information for communicating between 2 IDW01M1 boards and have not been successful.Could anybody point me in the right direction as to how I could get communications going directly between 2 boards.Regards,COD#wifi-spwf01sa #idw01m1
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.