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 June 15, 2018 at 10:01Hii'm using a SPWF04Sa wifi module and i need to connect to a cloud using https (port 443)There is a way to set the cloud's certificate without using AT+S.TLSCERT command ?I mean : I don't want to set it manually if i change the cloud. So, there is an automatic way to set cloud's certificate and key ?Thanks in advance !!!#web #tls #certificate #https #spwf04sx
Posted on June 11, 2018 at 10:43Hello everyone,for my project I want to use the SPSGRF-868 Module. I want to know if is it possible to use the module as point to multipoint?My goals is to have a Master that transmit data to two Slaves, and that only one at a time answers if it is interrogated.Thank youPaolo #spsgrf-868
Posted on June 14, 2018 at 23:34Hi, I'm currently working with some STEVAL-IDB007V1 and very interested to establishing a L2CAP CoC (connection oriented channel) between those devices. From my understanding a L2CAP PSM channel must be registered with the BLE stack. As such the stack later on is able to accept an incoming L2CAP connection request, allowing establishment of a L2CAP CoC between devices.I've spent some hours digging into the BlueNRG-1 library v1.0.0 but unable to find any indication that the library exposes such functionality.Could anyone please confirm if my understanding is correct?Thanks so much in advance!Phuong#l2cap #bluenrg
Posted on June 04, 2018 at 10:07Hello,We are using SPWF01SA.11 to provide WIFI connectivity to our items that become micro-webservers.Our provider told us that the product entered in NRND (Not Recommended for New Design) phase.Will ST provide an equivalent/alternative or does this kind of WIFI solution become totally obsolete ?Thank you for the answer.Regards.Vincent
Posted on June 07, 2018 at 19:51I'm sorry terrible English.I think there is miss coding In the sample code of BLE1, in hrm_profile_application.c line 104.after the 'if' condition, profileGetAddressFunc is changed parameter, not profileApplicationProcessFuncIt seems strange./** * @brief Initialize the Application Context for using the HRM profile methods * @param None * @retval None */void HR_Appl_Context_Init(void){ if (profileApplContext.profileApplicationProcessFunc == NULL) ////////////// here { profileApplContext.profileGetAddressFunc = HRProfileGetAddress; } if (profileApplContext.profileApplNotifyFunc == NULL) { profileApplContext.profileApplNotifyFunc = Profile_Appl_Evt_Notify; } if (profileApplContext.initProfileFunc == NULL) { profileApplContext.initProfileFunc = Init_Profile; } if (profileApplContext.advertizeFunc == NULL) { profileApplContext.advertizeFunc = Advertize; }if (profileApplContex
Posted on June 13, 2018 at 03:42hi1.bluenrg-1 is ble 4 or 5 ?2.if I want use Bluetooth mesh network , it will draw allot current in zigbee router draw current to retransmitte data and end device don't draw allot current bluenrg-1 has this capability that one devise always on mesh network to range to be extended and another device be in sleep mode and just when it get any interrupt wake up and send some data and after that go to sleep again(battery power device)?my English is so ridiculous sry#bluenrg-1 #ble4
Posted on September 21, 2016 at 09:27Hello Everyone! I do not understand how use BlueNRG sourse library. ''X-CUBE-BLE1 - Bluetooth Low Energy software expansion for STM32Cube''. Are STM32Cube and STM32CubeMX different things? How to add X-CUBE-BLE1 to STM32CubeMX? I try ''Help > Install Path > ''en.x-cube-ble1.zip'' return ''Patch doesn't apply to this version of STM32CubeMX''. Enover try ''Help > Install New Library > From Local.. > ''en.x-cube-ble1.zip'' return ''This Packege version is not managed on this version of STM32CubeMX''. How to add BlueNRG sourse library to my project? Need I add sourse files to my project? It is complicate linking all source files. Need I add my project to my samples project? To difficult maintaining. Win7 x86, STM32CubeMX 4.16.1, STM32L151C6T, Castom board.
Posted on June 11, 2018 at 15:58I'm trying to implement a fsupdate through the micropython module machine on my NUCLEO-IDW04A1 (currently MicroPython v1.8.7-149-g476c672 on 2017-02-22; SPWF04Sx with STM32F439). I have successfully updated through the AT command set, but for my application I need to do it within my main python loop.I can't find documentation anywhere for that function. By querying it I found out it takes 3 parameters, but what those are, I have no idea.Has this function actually been implemented yet, and if so, does anyone have access to the documentation?#fsupdate #micropython #spwf04sa
Posted on November 14, 2017 at 23:51 Hi I am trying to debug with the IDB007V1 dvelopment board and a STLINK V2 but the debug process fails at the FLASH download. I have tried the sensor and hello world demonstration programs with the same result. Any help to start debugging would be appreciated! Patrick #bluenrg-1 #steval-idb007v1
Posted on June 11, 2018 at 16:03On the application I'm developing on a NUCLEO-IDW04A1 (which as the SPWF04SA module) I have consistently run into issues where I cannot interface correctly with other hardware because the version of micropython on the latest firmware is missing key modules, or in some cases critical functions that would normally be in the module. For example, the I2C module has send and receive commands, but no start/end transmission commands. So from a high level I can try to use the I2C bus, but when I needed to have lower level control those functions didn't exist.Is there any way to update my version of upython on the board to add in modules/functions that I need?#upython #libraries #modules #micropython
Posted on November 03, 2015 at 16:29Hello,I'd like to have some clarifcations regarding BLUENRG-MS capacities to handle multiple simultaneous connection as a Master and Slave device.From what I undertand, the chip have to configured with Stack Mode 4 (or Mode 3) to enable simultaneous master / slave / scan / advertize behaviour.But I can't find exactly which simultaneous connection are possible (for example: connected as a master to 2 devices, and connected as a slave to another device while scan and advertising is still active).Are the following configurations possible with BlueNRG-MS ?1) Device(BlueNRG-MS) connected to 1 master, advertising and scanning still active.2) Device(BlueNRG-MS) connected simultaneously to 2 masters, scanning still active (i.e. able to received advertising data from other devices)3) Device(BlueNRG-MS) connected simultaneously to 1 master and 1 slaveIs there any document describing the Stack Mode 4 and Mode 3 behavior ?Thank you #bluenrg
Posted on May 23, 2018 at 15:55Hi!I am working in a project and we need to use one BLE chip.I found the chips from ST (BlueNRG1-2) but I can't find good information about:- Can these chips be used as principal MCU and like BLE device at the same time, I mean use its BLE characteristics and communicate with an external MCU vÃa I2C/SPI?- Can these chips be programmed using some IDE like Eclipse/Keil or using the software STM32CubeMX/SW4STM32 from ST? In case of YES, can you give me some tips/tutorial?Thank you !!
Posted on February 09, 2018 at 15:05Hi all,I would like to integrate the SPBTLE-1S bluetooth module in a new own PCB design. I want to connect the bluetooth module with a STM32F215 MCU through I2C interface.I have performed the schematic following the datasheet recommendations. Could anyone help me and check if SCH it's ok?Thanks in advance.Bests regards!
Posted on June 07, 2018 at 09:21Hi,I'm using a SPWF04SA wifi module.When I create a file (for example sample.json) with AT+S.FSC command the module saves that file in its ram memory.How can I save that file in the internal or external flash memory ?Thanks in advance !#ram #wifi #flash-storage #spwf40sa #file
Posted on January 31, 2018 at 13:59Hello,I'm trying create a script in uPython in order to get control of the wifi module SPWF04SA/SC. I have successfully updated FW and FS via UART and right now I'm using RELP via UART to test out some code. Can someone tell me where i can find the syntax of methods/commands/libraries/etc gathered?! I have been to http://docs.micropython.org and also at the https://github.com/micropython/micropython-lib but i can't find any details for uPython commands. Request: Is it possible someone to provide me with a mini script example with these:1.Turn on Wifi radio2. Scan for networks3. Connect to a network with WPA2Regards, Kostas.
Posted on June 05, 2018 at 13:35Hi everyone!Is there an antenna design inside SPBTLE-1S?Or do I have to do my own artwork?Thanks in advance.Bests regards!
Posted on June 01, 2018 at 19:08Hi, During a stress test of sprit1, using the module SPSGRF 868Mhz, I've noticed an undocumented MC_STATE with value 0x41, some one know the meaning of this state ?The module is in RX mode receiving continuously messages, occasionally appear the 0x41 state following this sequence of MC_STATE values:333B333333413333#spirit1
Posted on May 11, 2018 at 12:33Hi,In my device I use BlueNRG-2 working as Network Processor (DTM firmware is loaded there).It cooperates with STM32 where is my application. Processors communicates each other via SPI interface.It works fine for long time but suddenly BlueNRG-2 stops responding.STM32 change BLE_CS pin to active state (low) but BlueNRG never rise BLE_IRQ.It may happen after half hour or couple of hours.The application works periodic in two phases:a) dicovery phase,b) connection phase.In discovery phase the device scans available external LE devices. Then it connects to one of them and reads some characteristics value.After that it disconnects and returns to scanning phase, and starts from the beggining.It looks like a bug in BlueNRG firmware (provided by ST Microelectronics in Dev Kit).What can be a reason of such problem?How to debug it and get rid of it?King regards,Piotr#bluenrg-2 #spi #hung
Posted on May 31, 2018 at 09:47Hi,What is the purpose of usage the inductors (L1, L2 marked below) in parts of the circuit responsible for clock?What values should have these inductors?Regards,Piotr RomaniukPSBelow is an application circuit from the datasheet (en.DM00399302.pdf DS12166 - Rev.4).#inductor #external-clock-source #bluenrg-2
Posted on May 28, 2018 at 11:13Hello everyone,I've got one question about SPWF04 usage.Hardware design: There is SPWF04There is SD card connected to SPWF04There is a host MCU that controls SPWF04 over SPIWhat it has to do: Host MCU collects data from CANHost MCU writes those data to log files on SD card that is connected on SPWF04 (AT+FSC cmd)SPWF04 runs a web interface where user can list and download those filesIs it possible and safe to run HTTP Server while host MCU is working with files on external SD?I've got problems with it - when anybody connects to web server, SPWF04 starts to send to host MCU responses 'Unable to open file', and this error continues even when client disconnects from web server.Sometimes module ends in watchdog.I think that there could be problem with FAT on SPWF04 - it cannot have opened two files (index.html for client browser and something.log for writing to) simultaneously.Am I right♯?Best regardsRichard Bene�#spwf04
Posted on May 28, 2018 at 12:58I want to access LSM6DS3 sensor which is present on STEVAL-IDB00BV2 board, using direct register methodology (no interrupt )I tried to initialize SPI as follow. Am I on right track ?void spi_init(){ CKGEN_SOC->CLOCK_EN |= (1 << 4); //SPI module clock enable CLRB(SPI->CR1, 1); // SPI disable ....(as per 3.8.2.2 point mentioned in Datasheet of BlueNRG_2) GPIO->MODE0 = 0; GPIO->MODE0 |= 0x00004444; // IO0, IO1, IO2, IO3 set to mode serial0 GPIO->OEN |= 0x00000007; CLRB(GPIO->OEN, 3); SETB(GPIO->PE, 3); SPI->CPSR |= 0x00000004; SPI->CR0 = 0x00000447; // 8-bit data, Steady-state of clock polarity is high, Steady-state of c
Posted on May 26, 2018 at 11:37Hi,I am using BlueNRG-2 chip with DTM firmware. It is connected to host processor STM32 by SPI.This bluetooth device works in peripheral role (some sensor).Advertisement works fine: another device that is a master receives ADV_IND messages as well as SCAN-RSP, that I set in sensor.I have a problem with SCAN-REQ event, it is never sent by BlueNRG-2.Firstly, I observed aci_hal_scan_req_report_event() that I defined in my software. It is never called.Next, I verified that even on SPI this event is not sent.Why is it like that? Should I enable this event report somehow?Regards,Piotr Romaniuk #scan_req #bluenrg-2 #dtm #event
Posted on May 25, 2018 at 15:23STSW-BNRG-Mesh on ST Blog Hello everybody,today's blog post deals with STSW-BNRG-Mesh, software package enabling developers to create Bluetooth mesh solutions. Continue reading https://blog.st.com/stsw-bnrg-mesh-bluetooth-mesh/...https://blog.st.com#stsw-bnrg-mesh
Posted on August 01, 2017 at 11:31I have setup the module as miniAP with following script: (http://elektronikab2b.pl/technika/32973-spwf04sa-miniaturowy-modul-wi-fi-z-oferty-stmicroelectronics---przyklady-zastosowan)AT+S.WIFI=0AT+S.FCFGAT+S.SSIDTXT=test_apAT+S.SCFG=wifi_priv_mode,1AT+S.SCFG=wifi_mode,3AT+S.SCFG=wifi_wep_keys[0],76543210abAT+S.SCFG=wifi_wep_key_lens,05AT+S.SCFG=wifi_auth_type,0AT+S.SCFG=ip_ipaddr,192.168.0.1AT+S.SCFG=ip_use_dhcpc,2AT+S.WIFI=1AT+S.WCFGAT+S.RESETonce it restarts, this is what I get:Port openedSPWF04SA WIFI test program start.Setup SPI done.Reset module...Start module...Done.RX:02 10 07 02 00 AT+S.WIND:7:Configuration Failure:<wifistate=Hardware power up>:10RX:02 10 01 16 00 AT+S.WIND:1:Poweron:<wifistate=Hardware power up>:170726-b7ac1ba-SPWF04SRX:02 10 0D 08 00 AT+S.WIND:13:Copyright:<wifistate=Hardware power up>:SPWF04SARX:02 10 03 02 00 AT+S.WIND:3:Watchdog Running:<wifistate=Hardware power up>:20RX:02 10 00 00 00 AT+S.WIND:0:C
Posted on May 21, 2018 at 09:26Is all 3 keys (NET, APP, DEV) important to access already provisioned &sharpBluetoothMesh NODE over GATT / ADV Bearer ?ORAssume with &sharpBlueNRG-Mesh App, user has provisioned multiple NODEs & delete the App.And there is now hardware mechanism available to unprovision them.Now what data APP should store on cloud from .json file to handle following cases ( NET Key is must ...besides that ) ?? 1) only to unprovision NODE (I think, individual's Device key requires in this case. Am I right ?) 2) to fetch data from NODE to re-create complete .json file-------------------------------------------------------------------------------------------------------------------------------------------Could we allow user to generate APP & NET Keys using his login credentials ?##bluetoothmesh
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.