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
Environment: Usingng the SPBTLE-1S "postage stamp" on my own board [3v3 supply, external regulator from 12-400V, 100mA available], (using the programming/serial from a STM32F030 Nucleo board) and that works quite well (wish it supported more breakpoints!). I'm currently using the BlueNRG-1_2DK2.6.0 stack. I'm using the SPBTLE-1S as the only micro (like I said, super simple application).
my project is based on energy optimization of stm32f303. so for that how i supply different input voltage (because i use dynamic voltage scaling) and i how i measure the current value?
Posted on May 14, 2018 at 12:00Hi,I would like to know if watchdog can wake up BlueNRG-2 chip from deep sleep?Is watchdog powered and has active clock in this sleep mode?Kind regards,Piotr Romaniuk#bluenrg-2 #watchdog
Hello.I use the S2-LP DK_1.2.1 project example "SDK_Chat.c" as the base for two Steval-FKI433V2 PCBs.The 1st Steval with unchanged SDK_Chat.c program is used as a base device, connected to COM-port, the 2nd Steval without connection to COM-port should send the data on request of the 1st Steval.Question: how to switch S2LP-Rx/S2LP-Tx modes correctly without the cycle of waiting the COM-port's chars sequence?May be there is Echo example for two Steval PCBs?A target part of the program SDK_Chat.c is placed in infinite loop of main().The start line 347 (line count for original SDK_Chat.c): tx_data_size=0;the end line 378: tx_data[tx_data_size] = '\0';(All this part of original SDK_Chat.c is placed in the end of this question.The file SDK_Chat.c with my changes is attached, the added lines are signed with '//my' comment).I try to replace the target part with the next one: /* infinite loop */ //- line345isRxCmd=0; //this is added while (1){ while(!isRxCmd) { /
Hi,I'm facing a problem with TX Buffer in my Through Put test using two SPBTLE-RF module. One acts as Client, and one as a Server.The test is simple, continously call aci_gatt_write_without_response to send 20 bytes of data 1024 times (20 KB) and measure speed. But the test result came out not as expected, it takes about 19 seconds to send 20 KB.Putting some debug code to see how it goes, I see that after first 7 consecutively sends, TX buffer is full and each time, it has to wait about 27ms before sending again. Below is the debug code: I have some questions regarding this, please support me:Is the TX buffer limited to 7 packets? How can I increase TX Buffer? In this case I only update 1 characteristic.Why does it takes about 27 ms to have a free TX slot again, and only 1 slot after next TX buffer full ? It is larger than the connection interval I'm using which is about 20ms. Also, first 7 packets sent without problem. I have checked my interrupt routine which served EVT_BLU
When I read one channel, I get good numbers (using the polled version for now).When I change the MUX after a read to go to the other channel (ADC2, Temperature), I get garbage on all channels.I've read/discarded 12 readings, but even that doesn't eliminate the garbage (eg, Temp reads 100degC or ADC1 reads -12mV, and it seems to be random as far as the error goes).What do I need to do to "scan" the mux (and is it possible to use DMA like the STM32F030)?
Is it SPBTLE-RF (BLE) module can directly communicate with laptop Bluetooth although I have customized serial port profile. I tired after paring with laptop Bluetooth in device manager it not show any com ports/virtual com port. Can any one suggest how I can communicate with laptop Bluetooth.Is it any PC/Laptop tool available to communicate with BLE device.
I downloaded the latest version available at ST site i.e. Ver 1.07. When I am trying to sync the project the error appears. Same happens with old version also. Kindly help.
Compiling the BLE_SensorDemo sources in True Studio does not generate the same .hex as the precompiled .hex provided in the "Firmware" directory. The precompiled .hex works with the BLE Sensor app when loaded onto the BlueTile, but the .hex compiled from sources does not. When comparing both .hex files, they appear to be mostly identical except for about 200 lines of data at the beginning of the precompiled .hex that does not exist in the .hex generated in True Studio. It seems like there are either issues with some of the source files or project settings and it is not clear to me what needs to be corrected.
Hi, i have a problem and don't find any solution yet. I do some mistake and st-link part of my board doesn't communicate to mcu part. Actually I'm not sure the problem but, when I search all internet and assume that the problems is this. When I connect to board with usb cable to pc, there are 32kb mass storage, it should 512kb. And I'm able to change firmware and try all new and old that I can find, nothing solved. Just some firmware error like "swd error" some of "reset/halt the target mcu. My other post:https://community.st.com/s/question/0D50X0000ARQwUrSQL/failed-to-resethalt-the-target-mcu I'm find this video and assume that my problem is same:https://youtu.be/jEz0C2bT2M0 Now I know this st community very small but I believe there is some people to help.
..
Hello, I am trying to send sensor data through BLE.Below is my code I am getting BLE_STATUS_TIMEOUT (0xFF) from getBlueNRGVersion fuction as shown in code I am printing hex value just to know return val.After that every functions returning same error . please helpBNRG_SPI_Init(); /* Initialize the BlueNRG HCI */ HCI_Init() /* Reset BlueNRG hardware */ BlueNRG_RST(); /* get the BlueNRG HW and FW versions */ status=getBlueNRGVersion(&hwVersion, &fwVersion); printf("\r\n status 0x%x\r\n",status);Just in details I am getting this communication while executing this instructionMOSI -0x0A 0x00 0x00 0x00 0x00 0x01 0x01 0x10 0x00MISO -0x02 0x07 0x02 0x07 0x02 0x07 0x02 0x07 0x02
Hello, Is s2-lp RF module supports mesh? If yes, where can'i found mesh stack and how it can be used? Is below application note describe how can'i configure s2-lp module to work on mesh network? https://my.st.com/resource/en/design_tip/dm00567382.pdfThanks in advance.
Our medical device include a Bluetooth module with part number SPBT3.0DP2. It is failed in carrier frequency tolerance test.
Hi,I'm working on the new BlueTile board (STEVAL-BCN002V1B) including a BlueNRG-2 module. According to documentation, BlueNRG-2 should support data length extension from Bluetooth 5.0. Has this feature already been added to the SDK ?It seems that the library only include BlueNRG-1 stack and the bluenrg1_stack.h clearly state that the feature is unsupported (line 25 of the snippet) :/** * * This structure contains memory and low level hardware configuration data for the device */ typedef struct { uint8_t* bleStartFlashAddress; /**< Start address for the non-volatile memory area allocated according to TOTAL_FLASH_BUFFER_SIZE (Aligned to 2048 bytes flash sector boundary) */ uint32_t secDbSize; /**< Size of the database used to store security information for bonded devices (FLASH_SEC_DB_SIZE used in the calculation of TOTAL_FLASH_BUFFER_SIZE). Current SUPPORTED VALUE is 1024 */ uint32_t serverDbSize; /**< Size of the database used for service change notification for bonde
Hello.There is a schematic for using BlurNRG-232 (QFN-32) with the balun BALF-NRG-02D3 in the datasheet for BlueNRG-2. The STEVAL-IDB008V2 (BlurNRG-232) was done with BALF-NRG-02D3. The schematic of STEVAL-IDB009V1 (BlurNRG-248) was done without the balun BALF-NRG-02D3. I haven't seen any schematic of BlurNRG-248 + BALF-NRG-02D3. So the question is: Is it possible to user BlurNRG-248 (QFN-48) with the balun BALF-NRG-02D3? Or may be some troubles with this decision?
I try to use the BlueNRG in conjunction with the FreeRTOS but the system always ends up in a hardfault as soon as I querry the BLE services.The initialization of the BlueNRG works and establishing a connection works as well. But it seems like any user driven event crashes something.I have 3 concurrent tasks and the BLE task has highest priority.My assumption is that I somehow have to implement an event driven scheduler blocking but I don't know where to start.
I cannot find any related information for this.It seems like evt_gatt_attr_notification->attr_value always has 2 bytes leading zeros.This means if a write a char value with Attribute_Val_Length = 0x02 and Attribute_Val = 0xCAFE I get a attr_value of e.g. 0x04FF1D010C01081800020000FECAWhere are these two bytes between the correct event_data_length and the attr_value coming from?
Hi,I want to connect the BlueNRG-2 evaluation board (STEVAL-IDB008V2) to a standard bluetooth dongle in a standard PC and let the PC receive some data like numbers between 0 and 255 from the BlueNRG-2 device. Can’t find out how. Can anybody help?
Hello Experts,I am looking to establish a L2CAP "CONNECTION-ORIENTED CHANNELS IN LE CREDITBASED FLOW CONTROL MODE" using "LE Credit Based Connection request" signalling command.I am using two X-NUCLEO-IDB05A1 boards to build the connection.After I send the command I don't get any HCI response.Can anyone confirm if I can build such channel in X-NUCLEO-IDB05A1 device?Below you can find the bare metal code as en example.Thanks in advance,AKD
I am using proximity sensor as Interrupt on STM32F4 board .My goal is that when the GPIO is set than Interrupt or event (which is best in both of them) is generate and work can be performed by MCU.
this same thing happening with two board different board of same family.
I found that I can make vendor model client with BluenrgMesh_SetRemoteData(), BluenrgMesh_ReadRemoteData() functions using BlueNRG embedded SDK.However, these functions looks only for vendor models. Are there any APIs to make standard models client like Generic On/Off, Sensor models?I mean for example I'd like to prepare Generic On/Off "Physical" Switch to control lighting which has Generic On/Off server model (Not iOS/Android APP).
After receiving a package I read out the AFC_CORR register. This value is not very stable, even if packages comes from the same sender.So I have 2 questions:How do I get the frequency offset in Hz from this register?Why is this not stable.best regardsArmin
the date and time both go wrong ,like:18-12-24 16:48:01(a right time),turns to 55-04-102 35:18:01(a wrong time)
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.