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 July 17, 2017 at 13:26Hi, I'm trying to use the SPWF01SA module (IDW01M1 expansion board) like an HTTP server to send some POST response to an iPhone app. Now I'm able to open a TCP Server on the 80 port, shutting down the HTTPD server. But when I try to send even a simple HTTP GET with my browser or the app I can't see no data on the socket. The only thing that I can see is that the client joined the server but then the browser times out and left the connection.Is there any way to setup the module to receive POST request and provide the correct POST response?Is it possible to use or modify the internal HTTPD server?I'm using the 160129-c5bf5ce-SPWF01S firmware#spwf01sa #http-post #socket-server
Posted on July 12, 2017 at 09:32We are using the SPWF04 SPI and have the following issues1) No Ack after TCP socket data packet sent:I can setup a client socket or a server socket and start streaming data but at some point the SPWF04S does not ack and 20 seconds later the module resets. (This 'lockup' is random and can be from a few seconds to 2 minutes)There is no ack interrupt from the moduleWe have tried to send differnt sized packets (512 to 3k, with same 'lockup'2) A UDP server socket is opened and the data received via the WIND 55 process. My problem is that 30% of the messages have a faulty byte in the message, i.e. �{\'TimeRequest\'}' or '{\'TimeR quest\'}'. If the first byte is incorrect it is always a 0x80 �� � but the byte that is incorrect in the message is always a 0xFF3) How do I reply to a UDP broadcast received on the UDP server socket? If I send a reply via the current socket I don�t receive it on the remote side.#spwf04 #spi
Posted on July 09, 2017 at 09:36Hi, I've got problem with SPBTLE-RF module while it's in CENTRAL role and it's scanning devices. I'm able to start scanning procedure and receiving advertising report but it's not completed. There is no all information inside. Device is sending more data but in some way it's parted or not available. It's like module can only send data in max 40bytes packed.1. When device is in CENTRAL role I'm receiving all data but it's parted in two separate reports (not as one):recived by hci:read1 = 40read2 = 4000:00:06.272 04 3e 25 02 01 00 00 2c 87 ab d3 61 6c 19 02 01 06 03 03 0a 18 11 07 2f 2a 93 a6 bd d8 41 52 ac 0b 10 99 2e c6 fe ed c4read1 = 43read2 = 4300:00:06.272 04 3e 28 02 01 04 00 2c 87 ab d3 61 6c 1c 0b 09 6d 61 69 6c 42 65 61 63 6f 6e 0f ff 45 73 00 01 42 00 2c 87 ab d3 61 6c 65 d5 c4and what's is reported as two separate frames not one (data are splited). HCI_Event_CB report me that as two seprate frames not as one: (bold is RSSI
Posted on July 07, 2017 at 11:31Hi,I purchased the S2-LP development kit which contains 2 boards:- NUCLEO board equipped with STM32L152RE- S2-LP boardThe development kit contains though the project files for STM32L053R8Are available the project files for STM32L152RE?Best Regards,Enrico Migliore
Posted on July 06, 2017 at 22:34Hi, I am using an STM32L486, connected to a BlueNRG-MS via SPI. I am trying to build a simple app that can advertise, with one service and a 6 characteristics. I'm following the example in the programming guide, i.e. I've configured the SPI to talk to the BlueNRG-MS, enabled the SPI IRQ, and put STM's handler in the interrupt handler. I am able to get through creating my service, even to the point of advertising, but then the STM32l486 hard faults. I'm pretty sure this is happining in the ISR, which is constantly firing. Any ideas as to what is wrong? Does it make sense that the BLueNRG should be constantly interrupting? Ricardo
Posted on May 16, 2017 at 15:38Hi,I am using the STM32 Nucleo Expansion Board WiFi Module for a project. I followed the Quick Start Guide and tried to run the HTTP_Request example project. However, after asking for the SSID, password and encryption mode, the terminal does not ask for the Hostname nor connect to the WiFi as shown in the guide. I have followed all the setup steps and updated the firmware, so I don't understand why it is not connecting. Does someone know what is wrong or had similar problems?Thanks!
Posted on July 05, 2017 at 12:10I'm using quad comparator LM2901.When i wanted to invert output i've just swaped places of + and - inputs.It worked on emulator but did not work on real circuit.What am i doing wrong?Maybe there is a better way to do that?
Posted on July 04, 2017 at 15:30Hello!For a project at work we're using SP1ML-915 modules. For testing I have one dongle made by ST and one PCB made in house with SP1ML module mounted and connected to USB.After sending random strings between the two, I go into command mode and check RSSI (ATI1\r command). Usual values there are between -115 and -105 dBm. The value doesn't really change when I move the transmitter around or when I change the transmitting power.I'm getting about 10 meters of indoor range (walls and metal between the transmitter and receiver).What am I doing wrong?#sp1ml
Posted on July 03, 2017 at 17:35I'm using the X-NUCLEO-IDW04A1. After a restart, the module no longer communicates via serial port (UART).LED3 (Red - GPIO14) is On.The 'MicroPython_mode' (pull_up GPIO8) at reboot work fine.How can I restore the module?#spwf04sa #comunication #idw04a1
Posted on June 28, 2017 at 17:12Hi, I have a problem with SPWF04S.When send command 'AT+S.PYTHON' the answer is 'AT-S.ERROR:16:Cannot switch to Python shell'I tried to look something in datasheet, but nothing. I dont know how go over. Any idea?#python #spwf04sa
Posted on June 30, 2017 at 17:23hi,in the package en.x-cube-wifi1_firmware_v3.0.2 with SPWF04sx + STM32F401, there is an error in the file wifi_module.c in line 858 and 862 = bas syntax with mdk_arm V5.&sharpif defined (USE_STM32L0XX_NUCLEO) || (USE_STM32F4XX_NUCLEO) || (USE_STM32L4XX_NUCLEO)must be&sharpif defined (USE_STM32L0XX_NUCLEO) || defined (USE_STM32F4XX_NUCLEO) || defined (USE_STM32L4XX_NUCLEO)have a good dayYoann#n.x-cube-wifi1_firmware_v3.0.2-+-wifi_module.c-+-error
Posted on July 02, 2016 at 18:18Hello,Kindly I'm asking about a replacement for BALF-NRG-01D3,I need a larger balun package/footprint to can assemble it manually to a PCB.Thanks in advance. #balf-nrg-01d3-bluenrg
Posted on June 26, 2017 at 14:41 hi I am using afor SPWF04Sx Wi-Fi module - and am trying to run the example python code provided in the user guide. I have the SPWF04Sx configured as console 2 (UART and python) I have created a file called wind.py and copied the code from the WIND example section 5.2 on page 17 of AN49 I have used the command 'AT+S.FSC=wind.py,479' to copy it to the RAM on the SPWF04Sx I have tried running it by calling 'AT+S.PYTHON=wind.py' but only get the response: File '2:wind.py', line 1 SyntaxError: invalid systax I have also tried the basic code in 5.1 and, i have created a one line python file with only print('hello') in it. This also gets the same SyntaxError error Any suggestions? I've also noticed that the CTRL short codes dont work on my system i.e. CTRL-D is not recognised to exit REPL, -and I am unable to use CTRL-E to enter Paste mode. Any ideas on that one? Note: this post was migrated and contained many threaded conversations, some cont
Posted on June 30, 2017 at 07:37Hi All,I've been working on a project which involves programming a BlueNRG-1 microcontroller over SWD. As recommended far and wide, I have ensured that DIO7 is pulled high and have followed reasonable design practices, but I am having trouble figuring out how to get my Windows 10 laptop to recognize my board over SWD. I am using a SEGGER J-Link debugger to communicate with my device. In the BlueNRG GUI and BlueNRG Flasher utilities, I am prompted that my serial port is closed. However, when I attempt to program my device with J-Flash Lite it seems like some information is able to reach the BlueNRG-1 and it notifies me that programming has been successful.Has anyone experienced this before? I am new to these tools and the hardware, so anything that can be offered as help is greatly appreciated.Thanks, -Jake#configuration #swd #bluenrg #bluenrg-1 #jlink #com-port
Posted on June 28, 2017 at 17:20Hello,We're trying to migrate a board from the SPWF01SC to the SPWF04SC. Two of the additions to the SPWF04 are the LSE and HSE external clock pins. They're not displayed on the block diagram for the SPWF04 in its datasheet so does it use the STM32F429's internal RC oscillator by default or do we need to add oscillators to our board as per the X-NUCLEO-IDW04A1 evaluation board?Thanks,Steve
Posted on March 14, 2017 at 14:21Hello,I'm a newbie to the RF world. I'm trying to connect an SPIRIT1 to an Arduino. So far, i was able to communicate with the spirit1 through the SPI interface. However when i send a LOCK or RX/TX command to the spirit1 it get's stucked in the LOCKWON status. I'm using a 50Mhz oscillator with the oscillator output soldered to the Spirit's XTAL IN and XTAL Out left floating. Below is the configuration of registers i used in the order i sent them to Spirit1. What am i doing wrong? Shall i use a different crystal, maybe of 52Mhz instead of 50Mhz?Register Addr Value SYNTH_CONFIG[0] 0x9F 0xA0SYNTH_CONFIG[1]
Posted on June 27, 2017 at 23:44HiI need to implement my own channel mapping based on a different scenario. For example, in the list of bad channels and good channels which use RSSI or PER, I want to increase the BER for good channels in a certain time period. Another example can be rescheduling the channel list based on different timing or clustering. I was wondering if somebody can help me to implement this with ST hardware and the BLE stack.Regards#afh #bluenrg #linklayer #ble-5 #bluetooh #ble #coexsitance
Posted on June 26, 2017 at 14:52HiIs there any form of user guide/README.txt for how to create filesystem images using STMicroelectronics\OTA-Images\FS\utils\bin\Windows\CreateFS (dir2img.bat)I've previously used httpd_gen.exe and gen.bat for filesystem images for the SPWF01 - can these still be used for the SPWF04?
Posted on November 20, 2016 at 18:43The SOCKD implementation suffers from many race conditions and bugs which makes it impossible to make robust applications without forcibly rebooting the WiFi module when it's not performing as expected.Problems & bugs:1. Data from client can appear before WIND (Client connected, now in Data Mode) if the client disconnects quickly: Hello from socket!\r\n \r\n+WIND:61:Incoming Socket Client:192.168.0.10\r\n \r\n+WIND:60:Now in Data Mode\r\n \r\n+WIND:59:Back to Command Mode\r\n \r\n+WIND:62:Socket Client Gone:192.168.0.10\r\n2. Large messages can cause hard fault when in command mode with a connected client and entering data mode (+WIND:8:Hard Fault:CW1200RxPrs: r0 00000070, r1 00000078, r2 00000068, r3 B3E51B1F, r12 00000002, lr 08016365, pc 080163A4, psr 21000000)3. Closing SOCKD server (AT+S.SOCKD=0) when a large message is pending can cause SOCKD to not respond even when enabled
Posted on September 28, 2015 at 19:19Hi, I'm having trouble with advertising: it seems that after some time, the module stops advertising. The actual time after the issue appears seems to be grossly related to the Advertising_Interval_Min & Advertising_Interval_Max values. The lower the values, the shorter the time the issue appears. Values such as 0x800 and 0x900 (default) seems to encounter the issues after days but values such as 0x20 and 0x30 encounter the issue after minutes. When the advertisement stops, it is still possible to connect to the module, using it's address. Below is some code to reproduce the issue, this code is running on a STEVAL-IDB003V1 with firmware bluenrg_6_4_Mode_2-32MHz-XO32K.img Although the same issue appears on multiple prototype boards with similar firmware. ♯ Reset BlueNRG/BlueNRG-MS RESET() if ACI_HAL_SET_TX_POWER_LEVEL(En_High_Power=0,PA_Level = 4) != 0x00: ERROR(''ACI_HAL_SET_TX_POWER_LEVEL FAILED'') ♯ Set Random Address if
Posted on May 24, 2017 at 15:43Hi All,I am using ST's BlueNRG-MS SDK on an RTOS and when I try to send aci commands I get timeout status in return for some of them. For example in one application I am getting timeout after calling aci_gatt_add_char(), and in another example I am getting timeout for aci_hal_write_config_data().Debugging Results: Please find attached hci.c file for the discussion below:1. In the hci_send_req() function of attached hci.c file, if I suspend the current task for very small time after calling hci_send_cmd() at line 227 by calling nu_sleep() in case of my OS, there is no timeout and command completes successfully. 2. Similarly, instead of suspending the task as stated above, if I remove Disable_SPI_IRQ() call at line 271 in attached hci.c file, there is no timeout and aci command completes successfully. It is requested to please suggest a suitable and reliable solution for this problem as the above two workarounds are not reliable.PS
Posted on June 21, 2017 at 11:55hi,i would like to know if there is any software for STEVAL-IDB007v1 BlueNRG1 as peripherial using SPI bus, tried DTM_SPI.hex but SPI seems not responsive.
Posted on June 14, 2017 at 12:07 Hi all. I'm having trouble connecting to AP with SPI mode. I tried to same network with putty and USB-to-UART cable and it connected fine (I only did ping over the connection, so not much). However with SPI it connects and drops it right away and repeats it forever. Initializing SPWF04SA Interface.. >> Configuration Failure no 2 <-----i nteresting, 'RAM cannot be mounted' <<WIND 7, status 0 10 <<WIND 1, status 0 170216-fd39c59-SPWF04S <<WIND 13, status 0 SPWF04SA <<WIND 65, status 0 1 <<WIND 0, status 0 <<WIND 3, status 0 20 <<WIND 32, status 3 >>AT <<OK >>AT <<OK >>AT <<WIND 49, status 2 0 <<OK >>AT <<OK >>AT <<OK <<WIND 32, status 3 wifi started and ready... >>AT <<corrupted OK packet!! <<OK End of Initialization.. >>connecting to AP... TPNY, xxxxxxxxxx, 2 >>AT <<corrupted OK packet!! <<
Posted on November 17, 2016 at 17:38Try to upload a new file to SPWF01S but have received subject error message. Why this file can't pass validation?
Posted on June 15, 2017 at 09:28Hello,i got the BlueNRG-1 evaluation board but i'm not able to debug my projects with Eclipse or Atollic Studio because the STLINK gdb server does not recognize the MCU on board. I'm able to flash projects with st-link utilitiy but i'm stucked in the debug phase. I program my board with st-link v2 programmer/debugger.Someone could help me to configure the debug options in these IDEs ?Thank you for the support.#steval-idb007v1 #bluenrg-1 #eclipse-debug #debug
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.