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 March 13, 2018 at 09:39Hello all,I am facing a problem to update the values when changed. I have an slave bluenrg-1 stand alone which has defined 1 service and 5 characteristics and a master running in coprocessor which has defined 1 service and 5 characteristics.When declaring service and characteristics everything is fine, I do not get any error.When I try to update the characteristics from the slave to the master I am using the function aci_gatt_update_char_value() and I received a notification on master but just from one of the characteristics I do not know why I cannot receive the notification from the others characteristics.Just declaring one of the characteristics, it does not matter which one, I will receive the notification on the master.2 characteristics have the length of 1 byte, 2 characteristics have the length of 16 bytes and one characteristic the length of 6 bytes.Anyone has an idea why I am not able to receive all the notifications from the slave?Thank
Posted on February 19, 2018 at 16:06Hi, In our testing of the SPWF04SA module in SPI mode, we've noticed that even when nCS is held high, the module is actively driving MISO low. Additionally, with nCS still high, when we clock SCK for another bus device, the SPWF04SA will actually send apparently valid data out on the MISO pin. MISO should never be driven by the SPWF04SA when it isn't selected. This interferes with other SPI devices on the same bus.We've confirmed this by the fact that other bus devices again work correctly when holding the SPWF04SA in reset.Thanks
Posted on February 14, 2018 at 14:44Hi,When using the SPI interface on the SPWF04SA, firmware 1.1, say we have a packet to write (no payload for simplicity) and nHostIRQ has not been asserted. We set CS low, write the packet header, then set CS high. Say the module also has a packet to send us, the host, right as we're about to set CS low and write the header.Is there a potential race condition here? What happens or is expected if the module has data to send but we ignore it, for whatever reason, and we go on writing the packet? Do we need to check the received data for a sync word from the module and resend our packet? Do our sends take priority?Thanks!
Posted on March 12, 2018 at 12:31Hello I have a SPWF04 Wifi Module and I've tried to use the SPI interface to communicate with it but without success..Could anyone help me to configure the SPWF04 module in spi mode?here are the my (unsuccesful) steps: step 1: phisycal pull-up on GPIO9 step 2: configure host (STM32L476) pin as EXTI Line on Falling edge (connected to SPWF04 GPIO9) step 3: reset Wifi Module from my host by driving down nRESET pin, wait some hundreds of milliseconds, driving hi nRESET pin. step 4: every time the host receives an Exti, read 5 bytes over SPI(according SPI packet format in UM2114 at page 11) to decode start message, kind of event, indication number, payload lenght step 5: check first received byte
Posted on March 06, 2018 at 18:01Hi, I'm looking to do some timing specific code with the Bluenrg MSIt is running as a peripheral, and once a connection is established, we send an update connection request to the master, and get a response saying is was accepted.The problem I'm running into, is what is the exact connection interval the master will use?In the request we supply a min and max value (10ms to 20ms, 0 slave latency), but the response only says that these parameters were accepted.Is there a procedure, or ACI type command that we can use to query the connection interval actually being used?#ble #bluenrg
Posted on February 09, 2016 at 22:27Trying to see what he max throughput i could get through the SP1ML915 i decided to jack the baudrate up to 460800. After sending the command and then switching my com port baud I was able to communicate with the module. Save the settings ''AT/C'' and power reset. Now the module is completely unresponsive. I have tried re-flashing the firmware but no luck. Any other way of defaulting the module? EDIT: Some observations from testing. Having another working module sending broadcast data out and probing the Tx line on the bricked module I was able to see data being clocked out. This data however is coming out at a rate of ~150bps and not consistent to the data being sent (0xAA). I am starting to get the feeling that this may be a firmware bug in how different baud rates are handles/calculated.
Posted on November 18, 2015 at 19:31Hello everybody! Guys? I have interesting problem. When data TX spirit1 displays the status of 0x26 and transmit non started(no event max_TX_reach), but I'm read events IRQ register before transmit, this reg. indicates triggering event IRQ_PM_COUNT_EXPIRED. It happens through time, if transmit of data succesfull this event non generated. This condition is called only when there was no transfer of data. Spirit1 config in AUTO_ACK.Help me people. Sorry for my bad English. #spirit1-dont-tx---strange-cond.
Posted on March 07, 2018 at 16:19Hello all,I am using a bluenrg-1 working as a peripheral, I get the unit paired to two devices (mobile phones) using authentication. One phone uses RANDOM address and the other one uses PUBLIC address. I can see both of the them on the database once they have been bonded.Once they are paired to the bluenrg-1, the unit start advertising using the aci_gap_set_undirected_connectable(0x100, 0x200, 0x00, 0x03). I want to use the white_list to advertise so only those two mobiles can see it as they are paired already.The problem is that I can see the device only on the phone with random address, why I can not see it on the phone with public address. Should I use a different way of connecting.?Thank you
Posted on March 09, 2017 at 15:06Hi,I'm using wifi module SPWF01SA with firmware version 160129-c5bf5ce-SPWF01S.I uploaded my webserver on the wifi module, using the guidelines: /external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fst_com%2Fen%2Fproducts%2Fwireless-connectivity%2Fwi-fi%2Fspwf01sa.html.My project consists of two html pages, a css file and different jquery libraries (jquery-1.11.3.min.js, jquery-lang.js, js.cookie.js).I have problems loading the pages from the browser, as not all the files are downloaded with error net::ERR_CONNECTION_TIMED_OUT. This happens with the module set as miniAP and STA mode as well.My project is about 150 kB in size.Is there a way to solve this problem?Thanks Simona#spwf01s
Posted on February 18, 2018 at 18:35Hi,I get troubles to start with my new IDW01M1 module.I use it with the NUCLEO-L053R8 board, but none of applications provided with the WiFi CubeExpansion package works with my hardware.For example, I load the 'WiFi_VCOM' application to the main board. The application launches, but it cannot set the connection with WiFi module at start (message 'Error in baud-rate auto-detection...' on termnial).Again, with the 'Client_socket' application: it starts, ask for identifiers, and freeze at WiFi module initialization.It seems that there are no communications at all with the module.I tried Resets on both boards, and Factory setting reset on WiFi module (set GPIO0 high at start), without success.Jumpers are placed on JP3 and JP4, no jumpers on JP1/JP2LED1 is on, LED2, LED3, LED4 are off.Does I missed something obvious, or my hardware is broken ???#x-cube-wifi #spwf01
Posted on March 01, 2018 at 20:31Hi everybody,and greetings as this is my first post here Anyway, I am experimenting with my X-NUCLEO-IDS01A4 Spirit1 expansion board on a NUCLEO-STM32L476RG board. I'd like to write my own SPIRIT1 driver and I'm using the Low Layer library from the STM32CUBE library, no IDE just Sublime and my Makefile and JLINK to debug.So far I can read and write the SPIRIT1 registers and now I'd like to configure the registers. I've downloaded the SPIRIT1 DK App and I generated a configuration code (868 MHz, data rate 38.4 kbps) containing 2 functions: SpiritBaseConfiguration and SpiritVcoCalibration. The former executes flawlessly, however, the execution stucks in the latter function, here:SpiritSpiCommandStrobes(COMMAND_LOCKTX);do{SpiritSpiReadRegisters(0xC1, 1, &state);}while((state&0xFE) != 0x1E); /* wait until LOCK (MC_STATE = 0x0F <<1) */SpiritSpiReadRegisters(0xE5, 1, &cal_words[0]); /* calib out word for TX */Between the 2 functions I calle
Posted on February 28, 2018 at 12:15I am new to this community.I just wanted to understand LSM6EDS3 using i2c communication?can anyone help me?BEST Regards, Dheeraj
Posted on February 26, 2018 at 12:48Hello, I m having STM32F0308-Disco board and STM8S003F3P6. I want to debug STM8S003F3P6 using STM32F0308-Disco board.Here circuit images are attached. Please tell hardware connections for that.Thanks and RegardsSandeep
Posted on February 23, 2018 at 16:27HelloI'm to to stm developpement enviroment. I'm currently programming a BlueNRG2 mcu and would like to generate multiple pwm signals (with different dutycycles but same frequency) from single timer source (MFT1 or MFT2). Currently I'm only able to generate a single pwm signal by timer (on GPIO2 using MFT1 and on GPIO3 using MFT2 both at MFT Mode 1).I'm looking for the same configuration as described in the following article : http://www.micromouseonline.com/2016/02/06/pwm-basics-on-the-stm32-general-purpose-timers/ How to configure BlueNRG2 in a similar way ?Thanks in advance, Best RegardsRahul#pwm #bluenrg-2 #general-purpose-timers
Posted on February 22, 2018 at 22:40Hi,I'm working with SPWF04SA using UART in a custom project. I have a issue making calls to NTP server. I've tried with several servers, but the behaviour is the same, I can't get response.This is what I send and what I receive:+WIND:1:Poweron:170216-fd39c59-SPWF04S +WIND:13:Copyright (c) 2012-2017 STMicroelectronics, Inc. All rights Reserved:SPWF04SA &nbs
Posted on November 11, 2016 at 15:16HiI want to evaluate BlueNRG using the BlueNRG GUI. My setup is as follows:NUCLEO-F401RE with X-NUCLEO-IDB04A1 installed.BlueNRG GUI software version V2.2.1 (latest)X-CUBE-BLE1 Cube Expansion packageI've followed the instructions found in the http://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/19/93/09/fe/c2/90/49/09/X-NUCLEO-IDB04A1_quick_guide.pdf/files/X-NUCLEO-IDB04A1_quick_guide.pdf/jcr:content/translations/en.X-NUCLEO-IDB04A1_quick_guide.pdf and copied Virtual_COM_Port_F401RE.bin the the nucleo drive. The virtual comm port appears and I can open it from BlueNRG GUI but BlueNRG GUI keeps asking:''No Firmware detected on the motherboard. Update motherboard Firmware (under Tools menu).''The proposed firmware installation procedure seems to be targeted at the STEVAL-IDB007V1 BlueNRG-1 development kit and fails with my setup.Can anyone provide a hint how to get BlueNRG GUI
Posted on February 22, 2018 at 17:11I am using SPWF04 module for embedded web server application and spwf04 configured in MiniAP. In my application i am continuously posting data to the web pages, after some time wifi module get stuck. The access point is still up, but i cannot able to reconnect to the access point and module is not responding to any serial command. Then i have to reset the wifi module for reconnect to the access point.
Posted on February 21, 2018 at 20:40hi,when you subscribe to a topic on MQTT broker, with cmd AT+S.MQTTSUBwhat wind message do i receive when MQTT broker publish on the topic (you subscribe)?in the UM214, i only see86 'MQTT Published' %u:%s:%u:%u:%u:%u:%u:%s Client ID, topic,QoS,retain,dupl,msg siz,tot siz,msg 87 'MQTT Closed' %u:%u Closure reason (0: connection level; 1: MQTT protocol level), Client ID ThanksYoann
Posted on January 12, 2018 at 09:15The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on February 19, 2018 at 17:13Hello,I use a SPWF04SC, and I create a web page on it 's memory.I want to limit the access at only one client.I use the command 'ip_num_clients = 1', that work good but when the client is dissociated , no more client can be associated because the IP adress is use.What command can let the IP adress free for a another client,Best regards#what-command-can-let-the-ip-adress-free-for-a-another-c
Posted on January 16, 2018 at 18:30Hi,SPWF04Sx with FW1.1.0, mode miniAPi loaded certificat in the wifi moduleCA, cert and key based on ECC (prime256v1 aka NIST P-256)and i run cmd AT+S.HTTPGET.I have error:+WIND:29:DHCP Reply:192.168.0.2:02:A9:D2:A0:FF:A0AT+S.HTTPGET=192.168.0.2,tls/cert.pem,443,2,,,ServerCert.pem,AT-S.Http Client Error:1AT-S.ERROR:111:Request failed192.168.0.2 is IP of computer connected to wifi of the module wifi and module wifi try to connect (HTTPS client) to the computer to download ServerCert.pem file. Do you see a problem?ThksYoann
Posted on February 19, 2018 at 12:32Hello everyone,I try to build a notification of the temperature characteristic of the SensorDemo example from de BlueNRG GUI. Unfortonatelly, that doesn't work. I follow the same scheme of the Notification for Acceleration Characteristic but that doesn't work.Anyone know how I can access to the function SENSORDEMO_GET_TEMPERATURE() ?Here's the code I have add to the SensorDemo_Central python script :♯ Enable Notification for Temperature Characteristic&sharpThe handle of descriptor is equal to temp_attr_handle+2 status= ACI_GATT_WRITE_CHAR_VALUE(Connection_Handle=conn_handle, Attr_Handle=temp_attr_handle+2, Attribute_Val_Length=2, Attribute_Val=0x0001) if (status != 0x00): ERROR( 'ENABLE NOTIFICATION FOR TEMPERATURE CHARACTERISTIC FAILED')e = WAIT_EVENT(HCI_VENDOR_EVENT, timeout=30, Ecode=ACI_GATT_PROC_COMPLETE_EVENT)&sharpReceive Notificationswhile(True): e = WAIT_EVENT(HCI_VENDOR_EVENT)
Posted on February 07, 2018 at 04:58Hello,I want to operate the SPIRIT1 in the frequency range of 400 MHz to 406 MHz. And channel spacing of 200KHz. That means my first frequency is 400.2 MHz and if i want to go for the next frequency it could be 400.4 MHz and so on. Can anyone send me the Synthesizer setting values and what Crystal has to be used to operate in the frequency range.Thanks,Srikanth
Posted on February 13, 2018 at 15:07I am using SPWF01SC serial wifi module for my project with STM32L151VE microcontroller. I have to accesss a web page 'SPWF01 First Config' by using its IP address. But I want to open the web page by using the domain name 'captiveportal.net' which is default as specified in the data sheet. How to use domain name to access the SPWF01 First Config web page?Thanks Jitendra♯#domain-name-to-access-the-spwf01-first-config-web-page?
Posted on February 12, 2018 at 09:51hi,using AT command AT+S.HTTPGET with option TLS,what does the answer 'AT-S.Skip CA' mean?AT-S.Skip CAAT-S.Skip CAAT-S.Loading:1:2AT-S.Loading:2:2AT-S.Loading:3:2AT-S.Http Server Status Code:200AT-S.OKThanksYoann
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.