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 April 04, 2018 at 06:56Hi,First of all, sorry for the lengthy message.We are developing a 433 MHz transceiver using SPIRIT1. We were able to run 'SDK_BasicGenreic_A' program provided with the development kit on 'STEVAL-IKR002V3D' daughter-board. But, when we are trying to dump the same code in our own board, SPIRIT1 is unable to enter into 'LOCK' state. We have ensured that the following conditions are met:1) SPI communication is working (able to read and write to SPIRIT1 registers)2) 50 MHz sinusoidal signal got generated at crystal's terminals (observed using DSO)3) SPIRIT1 is entering into 'STANDBY' and 'READY' modes (checked MC_STATE1_BASE register status)We have compared all the register values at various stages of the code with those of the reference board's registers. All of them are exactly the same, except for '0xB2', which should have been changed to 0xCA, but still is 0x42 (default value).The major difference is occurring, when we executed
Posted on April 03, 2018 at 18:43Hi ST team,Looking over the device datasheet, I had expected to see maximum current consumption at least under TX and RX conditions so I can design power management appropriately. When this information is missing, I typically look for a maximum ICC specification as the next best point of reference but that's missing as well. Has there been any testing or is there a maximum ICC by device design to which I can design my power management solution?Second item:HSE and LSE signals; I found a post at https://community.st.com/0D50X00009XkeJJSAZ that says to ignore these pins and float. The X-NUCLEO board ties these to a crystal and RTC respectively. What purpose do these serve? Also, if these are inputs, shouldn't these be tied to a logic level to prevent oscillating inputs?null
Posted on March 28, 2018 at 17:00I have been able to use the File Print (AT+S.FSP) in some test situations, but now that I'm using it for real I'm not getting any results.When I was performing my feasibility tests I was printing sections from within a small text file located in the Application volume.When i try to do a similar task with a large text or binary file that is on the User Volume the command just hangs with no reply.I can see from the FSL command that the file is present with the 'E' prefix indicating user volume.Interestingly the AT+S.FSP command when echoed back is not terminated with 0x0D 0x0A as I would have expected (from seeing other command replied) but with 0x0D 0x00The binary file is 173Kb in size and the text file was 486Kb in case there is a file limit issue with the command.The command content I was sending was AT+S.FSP=/firmware.hex,0,256It does not matter if I try to list the entire file using AT+S.FSP=/firmware.hex,, as this also fails in the
Posted on March 15, 2018 at 07:44Hello and good day!I'm attempting to use the SPWF01SA module with an STM32F0 microcontroller to post some data onto a remote web server. I have come to understand that the AT+S.HTTPPOST command can only post form data. However, my requirement is to post a JSON packet instead of form data. So, I'm using the AT+S.HTTPREQ command to send a custom POST request. However, the problem I'm facing is that I'm receiving only '\r' as response from the SPWF01SA module, on executing the AT+S.HTTPREQ command.To walk through my steps, I'm first connecting to a WiFi network using all relevant commands, and am able to successfully receive the 'WIND:24' message from the module. After this, I'm sending the AT+S.HTTPREQ command to the module in the following format:AT+S.HTTPREQ=https://community.st.com/external-link.jspa?url=https%3A%2F%2Fwww.xxxx.com%2C80%2C1000%5CrPOST /gaiahardsurveytest/v2/getHardSurve
Posted on March 29, 2018 at 19:19Hello,I'm trying to figure out whether it is possible or not to upgrade the firmware of a host processor connected to BlueNRG-MS.From this http://www.st.com/en/embedded-software/st-blue-dfu.html it seems possible:'The ST BlueDFU app allows WeSU (STEVAL-WESU1) boards to receive firmware images over-the-air from a smartphone and write them to the STM32L151 Flash memory.'There is even an application note dedicated to this : http://www.st.com/content/ccc/resource/technical/document/application_note/09/45/83/e0/7d/67/46/2c/DM00115333.pdf/files/DM00115333.pdf/jcr:content/translations/en.DM00115333.pdfBut when digging in the code of STEVAL-WESU1 or X-CUBE-BLE I couldn't find where and how it is implemented.I would like to adapt it to make the firmware of the module CMWX1ZZABZ-091 upgradeable from ble.By the way I couldn't find the source code of ST_BLUE_DFU app. Is it possible to get it somewhere? The only feature I want to use from bluetooth is the OTA.Thank
Posted on March 28, 2018 at 17:09I'm looking at the SPWF04 training course which is very good by the way, but it mentions I should refer to 'SPWF04S Power management Application Notes' for more details on the Low power modes.Been unable to find this, anyone got a working link for it or other resources which describe the actual functions of all of the low power variables:What I'm trying to find out is...wifi_powersave (what is the difference between PS and Fast-PS)wifi_operational_mode (what is the differencwifi_listene between operational mode and quiescent mode)wifi_beacon_wakeup (what is the difference from using values 1, 10, 100, 1000? with wifi_listen_interval set to 0 or 1 ?)
Posted on March 28, 2018 at 13:58Hi!My SPIRIT1 code is not working properly and I found confusing the description of the INTERRUPT_MASK and INTERRUPT_STATUS registers in the SPIRIT1 datasheet (rev 10, Oct 2016). In the registers description both MASK[3:0] and STATUS[3:0] registers refer to Table 36. For me that means setting bit 6 in MASK[0] register is flagged in bit 6 of STATUS[0] register.However, in the Spirit1 library provided by ST, in the SPIRIT_Regs.h file, the relation is reversed, MASK[0] is reflected in STATUS[3]. Which one is true?I also have a strange problem, when reading the 4 IRQ_STATUS register content. I initially thought that if I set a bit in MASK (and the others are all zeroes) then in the STATUS register only that bit will flag if the event occurs. However when I read the STATUS registers I get other bits set indicating that other events are also occured. Is that a normal behaviour?Thank you!#spirit1
Posted on July 26, 2016 at 19:08I am consistently getting this error (+WIND:5:WiFi Hardware Failure:5) and I don't understand why? It is a pain because the module keeps having to be reset and it is impossible to communicate on a socket since this keeps happening. Any suggestions? #spwf01sa #spwf01sa.11 #+wind:5
Posted on February 22, 2018 at 21:28 HI, I try to get mySPWF04SAworking with micropython only. 1) I want to be able to connect to my router and send information on MQTT when connected. I have set the console_enables=2 and python_script=myscript.py in my variables. Here my script to test: from network import WLAN from pyb import LED w = WLAN(WLAN.STA) l = LED(1) l.off() MySsid = 'MySSID' print('INIT') w.init(mode=WLAN.STA, ssid=MySsid, auth=(WLAN.WPA2, 'MYPassword')) if w.isconnected(): print('connected'); l.on() print(w.ifconfig()) print('END')�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�? If I run this script with REPL, the connection is not working bu I see my traces. If I run the script with the GPIO8 HIGH and reset the board, I don't see any traces on the uart. Is it possible to have the traces on the uart with only the upython working ? 2) When I do a scan with the AT command, AT+S.SCAN=d, I see all the network available on the output. If I do the same t
Posted on March 20, 2018 at 15:26Hello,Having connected two bluenrg-1 devices, if I send a new update value from the slave to the master, is there any way of receiving a confirmation from the master to the slave when I send that new value to know if the master has receive the update correctly.Thank you
Posted on December 08, 2017 at 12:33Hi,We are able communicate to SPBT3.0DP2 module through UART. we are interested in downloading the new firmware to the Bluetooth module and hence we followed the steps given in the document ''SPBT3.0DPx BT moduleFirmware Update Procedure,Revision 1.0''. But we are unable to download the Firmware. We followed Below steps.* Connect the SPBT3.0DP2 to PC through UART. press reset. The response was received with Bluetooth address. and communication was done between BTterm app and PC hyper terminal.* switch off the Device.* Now Connect BOOT0 pin to 1.8V supply. and connect UART lines to PC. Note: *Since flow control is none not using RTS and CTS pins, Pins are left floating. * UART to USB converter is used. the Prolific UART to USB Converter is used.* Power on the Board. press Reset Button.* Open software ''Demons
Posted on March 26, 2018 at 08:26hi,wifi module spwf04sx (FW1.1.0) in STA mode, connected to PC with NTP server (with wifi).variable ip_ntp_startup set to '1'. variable ip_use_dhcpc set to '1'.To receive message +WIND:84 i should set variable ip_ntp_server1 to @ip PC !NTP server (PC) specifies a list of IP adresses indicating NTP server availible to the client. (option activated)Q: SPWF04Sx (client) should get from the list provided by the server? i shouldn't set ip_ntp_server1 !ThksYoann
Posted on March 08, 2018 at 17:26Hello all, I am having a problems to update some values on the master, I am using bluenrg-1 I have one device working as a master and other as a slave. The slave has a button, I have both connected and every time I press the button on the slave the function aci_gatt_update_char_value() is called containing a value, I have on the slave that configuration:aci_gatt_add_char( Service_Handle, UUID_TYPE_128, &char_uuid, CHAR_VALUE_LENGTH,CHAR_PROP_READ|CHAR_PROP_NOTIFY, ATTR_PERMISSION_NONE, GATT_DONT_NOTIFY_EVENTS, ENCRYPTION_KEY_SIZE, ATT_HAS_FIXED_LENGTH, &CharHandle);the master is discovering the service and characteristic from the slave. Do I need to do something more or in a different manner? Which event function will be call on the master?I can read the values from the master requesting the value every x time once both are connected but I would like to received the value on the master just the button is pressed. Than
Posted on March 22, 2018 at 21:56Hi, We are evaluating the use of the BT Module SPBT3.0DP1 on one of our devices.We are trying to configure the PIN to connect to a legacy device, that already has a predetermined PIN code that uses letters (lower and upper case)Unfortunately, the current Firmware on the module cannot setup capital letters as PIN for Bluetooth pairing on SPBT3.0DP1 BT Mod. The current firmware converts all letters to lower case, and therefore, the PIN doesn't match and cannot connect to the legacy device. See commands and responses below.at+ab buildAT-AB DataPackage FW Build 170925 - 1.1.337at+ab config pin=1234AT-AB ConfigOKat+ab config pinvar6 PIN = 1234at+ab config pin=lowercaseAT-AB ConfigOKat+ab config pinvar6 PIN = lowercaseat+ab config pin=UPPERCASEAT-AB ConfigOKat+ab config pinvar6 PIN = uppercaseat+ab config pin=MIXEDlettersAT-AB ConfigOKat+ab config pinvar6 PIN = mixedlettersat+ab resetAT-
Posted on March 15, 2018 at 15:57Hello,I'm currently evaluating the S2LP radio chip on an FKI868V1 and I'm trying to reach sensitivity marks described in the datasheet.I'm having trouble getting the kind of sensitivity expected when testing at 300 bps data rate. The exception rate of packets is less than it is at 1.2 kbps and I can't understand why.Can someone please help me achieve better results at the lower data rate?-Adamz#s2-lp
Posted on March 19, 2018 at 11:41I'm trying eval board with SPBTLE-1S module. I'm using BlueNRG-1 Navigator v 2.6.0. If I flash any demo application, no BLE service can be discovered on the phone (Nexus 5X, Android 7.1.1.)E.g. BLE Sensor demo - DL3 shorty blinks after reset, then BL1 slightly flashes, so the chip is doing something, but no RF signal. (Previous chip TI CC2540 has communicated correctly, with the same phone.)Have I missed something or is the chip broken?
Posted on February 08, 2018 at 20:22Hi everybody!The current datasheet (https://community.st.com/external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Fdatasheet%2Fgroup3%2Fc4%2F02%2Fe5%2F87%2F1c%2Fd2%2F4f%2Ff8%2FDM00328568%2Ffiles%2FDM00328568.pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM00328568.pdf) does not give any indication to which direction that the LEDs should be going other than the name says LED Drive: module running, LED Drive: Wi-Fi Link Up, and LED Drive: power Up. This may indicate that the pin should source the LED and the reference schematic (http://www.st.com/content/ccc/resource/technical/document/data_brief/group1/f4/06/e8/8b/99/10/4d/b4/DM00375570/files/DM00375570.pdf/jcr:content/translations/en.DM00375570.pdf) also shows that the pin is sourcing the LED but they do not blink when that is the case. The LEDs only seem active when the WiFi module is sinking from the LED. Is this the proper way?Thank for the help!
Posted on March 12, 2018 at 21:35Support doing a sloppy job, pull it together, or find people willing to do so Posts spanning a month with no attentionhttps://community.st.com/0D50X00009XkWv5SAF https://community.st.com/0D50X00009XkWv4SAF https://community.st.com/0D50X00009XkWv6SAF caccac267‌ Kling.Brian.001‌null
Posted on January 29, 2018 at 21:11 Hi I'm using the SPBT3.0DP2-Module to build a custom HID keyboard. Unfortunately, the module doesn't automatically reconnect to the host-device (for Testing my Win10 PC and Android Smartphone) after disconnection (switching off/on the host-device or BT-Module). I have to connect new, manually. Here the used Commands: (UM2077-Manual): AT+AB Reset AT+AB Config DeviceName = MyDevice AT+AB Config EnableHIDKeybd = TRUE AT+AB Reset AT+AB AutoReconnect enable AT+AB AutoReconnectSetup 5 2000 // i want a reconnect all 5 Seconds�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�? What did Iwrong? #spbt3.0dp2 #autoreconnect #bt-classic #hid #at-command
Posted on March 14, 2018 at 02:20Where do I find ST-PLC app desktop version, that is described in UM2284. (http://www.st.com/content/ccc/resource/technical/document/user_manual/group0/25/8e/2c/25/99/40/40/36/DM00431524/files/DM00431524.pdf/jcr:content/translations/en.DM00431524.pdf).Thanks
Posted on February 28, 2018 at 21:03I am having an issue with an IOT Provider known as FRED (sensetecnic.com) I have a sandbox up there but I can only access it via HTTPPOST and open sockets on port 80. On port 443 (TLS) I get an error with the certificate on the filesystem...When I try to connect now from my code with the sensetecnic cert on sdcard, I get Error : 4It’s always complaining about the cert even on a simple socket connection to 443. It only works on 80 apparently! >>Station started in STA mode...>>inverterLockoutCounter = 6>>Connecting to socket>>Socket Open OK>>Socket ID: 0AT+S.SOCKON=54.149.86.44,443,NULL,sAT-S.Certificate Error:4AT-S.ERROR:74:Failed to open socket>>Socket Response Time-out!2A : 40 00 00 79 00 00 73 00 01 00 26 19 25 21 2D 00 00 00 02 58 00 FF 00 00 00 00 00 00 E8 57 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00Certificate error #4 corresponds to : It appears that
Posted on March 14, 2018 at 20:44Hi,I need a firmware (.bin file) to spwf01sa. I erased fimware from my spwf01sa by Flash Loader Demonstrator and now I have a problem with update firmware. Please for help
Posted on March 12, 2018 at 06:15When I use the first Firmware version SPWF04S-170216, WPS button can login to access point.But When I upgrade to new firmware both SPWF04S-170726 and SPWF04S-171117,when push WPS Button it,s not work, it,s show enrollment attemp timed out.Please check this issue.
Posted on March 13, 2018 at 12:17hi,question about MQTT conection TLS:how can i sent empty userID during MQTT Communication?if parameter userID is NULL, nv_model used....thanksYoannAT+S.MQTTCONNTo open a connection with an MQTT Broker. The command returns a local ID =0, used in the correspondent commands. The device manages one MQTT connection at a time.Usage: AT+S.MQTTCONN=<hostname>,[<port>],[<path>],[<TLS>],[<username>],[<passwd>],[<userID>],[<keep_alive>],[<retry>],[<lastWill_QoS>],[<lastWill_topic>],[<lastWill_message>]<cr><userID> Default: nv_model used during MQTT communications
Posted on March 10, 2018 at 19:01Hello! I am trying to setup BlueNRG. It's not discoverable at all. I didn't see any packets i sniffer from it. But let me start from the beginning.When I just started, it didn't work (was undiscoverable). I found that IFR programmed for 16MHz quartz use, however I have 16MHz. So, I tried to upload IFR, but it didn't work. (aci_error).Then I tried to upgrade firmware, but there are a lot of problems:First: firmware has wery unconvinient format, which is impossible to use without BlueNRG GUI (I cannot use it becouse I use custom mcu connection). The file is looks like 32 bit numbers without delimiters (20003000).I converted it into normal values and then succesfully upploaded to the BlueNRG.When I read IFR I discovered, that all register groups of 4 bytes are mirrored:0x02,0x3A,0x5C,0x02 //according to the GUI it shuld be like that, however0x02,0x5C,0x3A,0x02 //it was like that.So, I checked firmware and found, that all IFR part (and may b
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.