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
My project involves a Nucleo-64+X-NUCLEO-BNRG2A1 communicating with an Android phone via Bluetooth.I successfully sent data from the server (BNRG2A1) to the client (Android phone), but I cannot figure out how to do the same from client to server. Under Android, I can write data to the characteristic (in NO RESPONSE mode), but I fail to understand how to handle the write operation server-side.My characteristic is declared as follow:ret = aci_gatt_add_char(HWServW2STHandle, UUID_TYPE_128, &char_uuid, 2+2+4, CHAR_PROP_NOTIFY|CHAR_PROP_READ|CHAR_PROP_WRITE_WITHOUT_RESP, ATTR_PERMISSION_NONE, GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP|GATT_NOTIFY_ATTRIBUTE_WRITE, 16, 1, &EnvironmentalCharHandle);What is it supposed to happen server-side? I've tried to implement aci_gatt_write_permit_req_event(), aci_att_exec_write_resp_event() and aci_gatt_indication_event(), but they are never called. Also, nothing is displayed in the console (with full debug info) when w
I have a simple project I am trying to implement using BLUENRG2-M2SA. It will connect with a user over BT and download a timer length. Then it will run the timer and blink lights when the timer counts to zero. The user then acknowledges the lights and the timer starts again. It does the cycle a set number of times. Or goes to sleep if the timer isn't acknowledged after a certain period of timeI have a button connected to the reset pin to wake up the device, but was hoping to use the same button to acknowledge the timer. If the device is awake, can a signal on the reset pin trigger a different action in the micro? Or do I need two buttons? One for wake-up and one for user acknowledgement?Code hasn't been written yet - I am trying to lay out the PCB.
Hello,I'm developing a board with the BlueNRG-M2 module. I'm also using an ST-LINK V3 with uVision to debug/program. I'm also using the VCP made available by the ST-LINK V3 for some good old fashioned printf telemetry. The VCP is connected through the STDC14 connector to the ST-LINK V3. When I use the VCP (specifically once I start PuTTY), I get a voltage on the VDD rail of the board of around 2.4V without the boards normal power source active. I wired up some flywires to a 2x7 connector and found that there is 3.3V potential between VCP_TX and VCP_RX and ground when the debugger is connected to USB. The voltage is present when using both a V3 MINI and a V3 SET (no isolation board). Schematic is attached. TX and RX are connected to the module, the STDC14 and the pin header and nothing else. I'm also lead to believe by the BlueNRG-M2 datasheet that there isn't anything going on inside the module either.Questions:Is this normal?To combat this could I put some blocking diodes on the TX an
Trying to build a 433 MHz sniffer based on SDK example "SDK_Sniff_B.c". Im sniffing messages from TPMS sensor and get them on my PC with RTL-SDR. In the message parsed on PC I can read ID of sensor which goes right after sync word. With the help of URH I got signal parameters: frequency, datarate, deviation. I managed to get the message on my S2-LP, but I always find extra bits in this message. For example if I received 0x5955955A which is 0b01011001_01010101_10010101_01011010 this is manchester encoded sensor ID. On S2-LP I get 0x595ACAAD which is 0b01011001_01011010_11001010_10101101. Everything right except one extra bit. And further I find some more wrong bits in the message.If I change physical parameters I get garbage in the message.How can I get rid of this extra bits? How can I debug this?
I want to use hyperflash (S26KS512 or S26KL512) with stm32h723zet6 microcontroller.The memory has "Phase Shifted Clock" pins.What should I do with them? Connect to GND or VCC or Not Connected?Hyperbus interface (stm32) support 1.8v?
My main problem is to reduce the power consumption of the HC-05 Bluetooth module. As it may be known, such a module consumes lower and lower energy when it is in the AT Command Mode (between 1.5 and 3 mA current). Since my project requires sending real time data that change every 15seconds, I want to keep the module in the AT command mode in the 15seconds that the HC-05 don't receive any data. I obviously believe that this kind of idea/solution will dramatically save the energy of the module. In other words, instead of keeping the module in data mode permanently, it will be set in data mode during 15seconds, and in AT command mode during 15seconds, after that it returns to the data mode and still 15seconds etc... I want to know is there any solution for that ? For example writing a bunch of C code (since my Hc-05 is directly connected to an STM32 board) to pass for the AT commande mode every 15seconds Thanks in advance.
Hi ST community! I have been using BlueNRG for the next version of product in our company. I have a problem with pairing this module with phone. Once I paired with device, they are supposed to be connected even after phone restarts, but it is not the case with current SDK. Could you please guide me on this? I am using Keil and BlueNRG SDK for it. Thank you.
I am in the process of migrating from spirit1 to S2LP, I am stuck in the calibration of the frequency, before in spirit 1 it is mentioned in the datasheet of spirit1 via equation 3 fc=fbase+foffset+(fxo/2^15 ×CHSPACE)×CHNUMOn the other hand in the S2LP datasheet in equation 6 it's mentionned => fc=fbase+(fxo/2^15 ×CHSPACE)×CHNUMSo I want to know where is the foffset on the S2LP equation 6
Hi,Three weeks earlier, I connected for the first time my STEVAL-FKI868V2 to the Sigfox backend and used the S2-LP_SigFox_DK-GUI (v.1.7.0) tool to send test messages to this Sigfox backend. Everything worked perfectly.Now since 6 days I try again to send test messages with this tool, but nothing is received on the backend.What I already tested:See if the token was still valid (-> yes it was).Try to send a message by command line and by pressing the button, as proposed with the tool (-> error returned but still no message on the backend)See if the SPI communication was working with the S2-LP (-> yes it was)See if the power supply voltages were good (-> yes they were)Contact the Sigfox operator in my country (-> it's not a connexion problem)Try to send a message in different places (-> still no message on the backend)I don't know what to do, where the mistake can be, and if this problem has already appeared to other people.I hope someone here can help me.Laurent
I'm using a X-NUCLEO-BNRG2A1 shield on a NUCLEO-L476RG board.I am able to advertise 16-bits and 32-bits services using aci_gap_update_adv_data(), but trying with a 128-bits service always ends up with a "BAD PARAMETER" error. What am I missing? (I'm calling aci_gap_update_adv_data() with a single AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST command).
Good morning,I have been struggling with a custom board that contains the Teseo liv3F. When debugging the module with Teseo suite pro, i can see good signal levels from 3 GPS satellites but the Fix Mode is set to NO FIX and the Lat = Long = 0.How can I get a valid position from 3 sats ?
1.In my schematics, my RF section is designed without Capacitors placed(open) , is capacitor need to be added, what capacitor value would you prefer .!2.Is we need to initialize and config for setting parameters in TESEO-LIV3F for GPRMC and GPGLL.Please let me know about your feedback. Thankyou in advance,suraj.N
..
A call to the GATT Update function aci_gatt_update_char_value gives me the return value 0x20 which is not defined in bluenrg_def.h - so what does it mean? The update fails.
I'm looking to port a prototype from an STM32WB55 Nucleo board/custom daughter board combo to a single custom board using an STM32WB5MM module. I've done some digging but can't find a recommended footprint for this module. Does anybody know if one exists from ST?Cheers,Roger
I'm working on a custom board with a BLUENRG-2. I'm able to flash and erase with the UART and the SWD pins, but none of the programs work. When I debug it step by step, I find out that all programs hang on this line, when it writes on the BLUE_CTRL register: Anyone knows what could be causing this issue?
Hello everyone,I'm using stm32f407 that provide FSMC to be able to interface with synchronous and asynchronous memories and I want to extend the memory so, What is the difference between memory types •NOR Flash/PSRAM/SRAM , the NAND Flash/PC Card and the SDRAM.Thanks......
I'm trying to use a KSZ8863 Ethernet PHY with the STM32F746G. We have used the RMII interface to connect with KSZ8863 and running at 50MHz frequency .RMII pins are connected to KSZ8863 based on MAC mode interface.To test the KSZ8863 ,We have used stm32 LwIP example code,First I trying to read the value from config registersI have changed the PHY address and SMI interface frames based on KSZ8863 datasheetbut I couldn't read the value from config registers.Please suggest me,if there is any reference to interface Ksz8863Please help me in this issue
hi all i am using blenrg2 m2sp chip as network mode. its operating as peripheral device and communicating with host controller through UART with 115200 baud rate .I received BLE read characteristic request , i did not response till 1 second after that i getting some junk data , after that ble got disconnected . may know the reason . here attached logic analyzer images
Hi!I am designing my own sigfox board using S2LPTX module, some sensors and a ST microcontroller. Microcontroller and sensors are working on 1.8 V supply. I know that S2LPTX module can work with VBAT = 1.8 V, but in section 3.2 it mentions VBAT should be at 2 V minimum for it to work in boost mode.Often is the case, that a common supply source VBAT is used for VDDSMPS (pin 1), VDDVCOTX (pin 10) and VDDDIG (pin 15). Since in my design, microcontroller and sensors are working with 1.8 V supply, I would like to use two supply rails for S2LPTX module. 1.8 V - 3.6 V rail for VDDSMPS (pin 1) and VDDVCOTX (pin 10), and a fixed 1.8 V rail for VDDDIG (pin 15). Is this possible/allowed?Shortly speaking, can i use S2LPTX sigfox transmitter with variable 1.8 V - 3.6 V rail for VDDSMPS (pin 1) and VDDVCOTX (pin 10), and a fixed 1.8 V rail for VDDDIG (pin 15)?Kind regards,Gayas
I have BLUENRG-LP chip on my custom board and I'd like to flash beacon example inside. The example is one from BlueNRG-LP-DK-1.0.0 named BLE_Beacon.As the debugger I try to use JLINK (tried CMSIS-DAP configuration as well) but I'm not successful.This is the log printed in JFLASH when using in JLINK mode:Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46 - Device "BLUENRG_345XX" selected. - Found SW-DP with ID 0x0BC11477 - DPv0 detected - Scanning AP map to find all available APs - AP[0]: Stopped AP scan as end of AP map has been reached - Iterating through AP map to find AHB-AP to use - Found SW-DP with ID 0x0BC11477 - DPv0 detected - Scanning AP map to find all available APs - AP[0]: Stopped AP scan as end of AP map has been reached - Iterating through AP map to find AHB-AP to use - ERROR: Could not find core in Coresight setup&
Hi!I have S2-LP connected to S2-LP GUI (only difference - it has no EEPROM on board, so I recompiled CLI firmware with EEPROM_NO define, and it has quartz running at 25MHz). I have to receive packets with 30-50kpbs datarate, but I made slower packets for testing.If I try Running RSSI for OOK or ASK modulation, I get the following: https://prnt.sc/131we39. RSSI level on graph can raise, but cannot lower, it stale at maximum level S2-LP seen in session. If I press Stop then Start again - it starts from noise level again.Second problem - I cannot get it working with OOK modulation. It breaks packets with 'silence' periods. This is picture from logic analyzer in 'RX data on GPIO without packet' mode: https://prnt.sc/131wk11. Upper channel is from transmitter side (real data on air), second channel is data that S2-LP shown on GPIO, and third channel - its clock.I have not changed any registers except was changed by S2-LP GUI while freq/packet tuning with its input boxes.Can you provide me w
Hello everyone, I would like to know how to read data from pin on STM32F4. I have a small project where I am blinking led (it's running throw Arduino board) and I would like to see throw STM32F4 when it's on and when it isn't. How should I setup pin? GPIO_INPUT or GPIO_ANALOG? I am new to programming so I am sorry for my question. I would like to create something like a simple logic analyzer so I could see in debug the logic of led. I would like to have something whats on the picture I attached. Thanks for any help.
Sorry, but this is not really a question as much as some interesting information.Until yesterday all of my ST applications were working perfectly on a Debian v10.9 installation. Then I started getting this message....../STM32_Programmer_CLI: symbol lookup error: ./STM32_Programmer_CLI: undefined symbol: libusb_get_port_numberand some other very similar messages regarding libusb and libgusb. The ST-Link connects without issues, hardware-wise, but when the CubeProgrammer app is running, a click on the "Connect" button with ST-Link as the connection type results in the app closing immediately with the message above. Any other choice of communication just results in no connection but the 'st_link' choice is the killer. But, on the other hand, I can log into the st_link for firmware upgrades and that function works perfectly. There was some other odd machine-wide USB behavior in addition to the CubeProgrammer issue. There is also no connection to the st-link in the CubeIDE app. Spent hours
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.