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
You can find attached the STUSB4500 configuration GUI v1.10.It is needed to program the NVM memory with your custom USB-C Power delivery configuration.
How "reliable" should the connection be to PunchOut's LightBlue app?With -86dBm, I can connect to it ~40% of the time (other times it returns "no data" and goes back to the scanning screen)... below -93 dBm, I can see it, but I can't connect at all.And if I haven't interacted with the device for a little while (guessing around a minute?), LightBlue says the connection has gone "Stale" and I should reconnect.Is this something I can/should debug or is it just LightBlue's lack of error handling?How would you debug this?
Is there a guidance sheet for the BlueNRG_Stack_Initialization_t structure passed into BlueNRG_Stack_Initialization?I've been using the SensorDemo application as a template, and found that I need to say#define MAX_NUMBER_ATTRIBUTE_SERVICE1 (13)Even though the first service (DeviceInfo) is only using 4 characteristics...Best I can figure is that it should be 3*Nchar+1 (for the service entry)... if it's made too much larger, it fails, and if it's made smaller, you start getting errors when you call aci_gatt_add_char.But why *3?
I wrote a version with 16 bit UUIDs, but it seems that LightBlue doesn't handle duplicate UUIDs in the same service (Service: Automation I/O; I added 4 analogs and 3 digitals; some are R/O and some are R/W, but LightBlue only is using the permissions of the first UUID in the service), so I changed it to 128 bit UUIDs.Now, about 3/4 of the way through setting up the characteristics, I'm getting a 0x48 back from the aci_gatt_add_char call... Is there a limitation on the max number of characteristics (and is that dependent on the UUID length) -- I'm "only" doing ~20 of them...Is there a "GetLastError" function I can call to figure out what the "Error" is?
i am making a home automation project and want my modules to get connected everytime it is powered up.
Hi Sir,Greetings of the day,Here, I am using the BlueNRG-1 development boards. I downloaded the SDK from the st.com. I am getting an error message as follows while flashing. I am using st-link /v2 to flash. Please help me.Regards,
Hi,Greetings of the day,Here I am searching the BlueNRG-2 in the stm32cubemx. But I am unable to found out that. Please help me Regards,
Bringing up BlueNRG2 (in network co-processor mode). Using the following call on the host MCU (after aci_gap_init():(aci_gatt_update_char_value_ext(...)For setting the Device Name characteristic (0x2A00) of the Generic Access Service (0x1800) seems to be limited to 7 characters. Setting a string of 8 or more returns a bad parameters code. I realise there's a packet size limitation (unless BLE >= 4.2 + MTU reconfigure after connection) but 7 seems a bit short, is this simply a limitation imposed by ST in the BlueNRG2 stack or am I missing a call?The complete advertised name I have set is working fine (13 chars).I notice the example STML4 projects use small device names.
Hi,I'm starting to play around with ST BLE.I'm using X-NUCLEO-IDB05A1 on NUCLEO-F401RE.I've just followed the step described on http://www.emcu.eu/how-to-use-spbtle-rf-stm32/ :I've drag .bin over the icon: NUCLEO_F401RE (en.X-CUBE-BLE1\STM32CubeExpansion_BLE1_V4.4.0\Projects\STM32F401RE-Nucleo\Applications\Virtual_COM_Port\Binary\Virtual_COM_Port_F401RE.bin)Board is fleshed and LD2 is greenCOM5 port is assigned to STLink virtual COMWhen I start the BLU NRG v3.1.0 and open COM5 POPUP said "No device detected"What is wrong?Thanks a lot
Hi , Object: Establish a BLE connection between the BlueNRG-2 and mobile phone app . I'm using BlueNRG-2 on STEVAL-IDB008V2 that i want to configure it as a network coprocessor via SPI mode with nucleo-L053 board. For now : -I developped the application to pass through the SPI communication on the STM32L053 of the nucleo-board with Atollic TrueStudio. - I did the HW configuration on the STEVAL-IDB008V2 as described in the ST document (STM32_SPI_protocol_example.html) - I did the connection between the tow platforms (STEVAL-IDB008V2/nucleo-L053 ). My questions are: 1-how to program DTM_SPI. hex binary file for the selected BlueNRG-2 platform ? since the STEVAL-IDB008V2 can't be detected to the BlueNRG-2 navigator with USB (after the HW modification) , also I can't "drag and drop " the file because space problem . 2-How can I get the MAC address of the blueNRG-2 ? 3-How can I flash the .hex file with Atollic True
Datasheet info is not enough. It is not clear what type of waveform must be in XIN pin: sine, clipped sine, or rectangular. Also min and max level of clock.Pavel Pavlov, Principal Design Engineer of Electron consortium JSC, Sofia, Bulgaria
Processor is PIC16LF18446, interface with s2lp works fine. I use S2LP_Library from SDK 1.2.1 with some adaptations for PIC. Three boards with the same behavior - possibility of soldering error is minimal. Frequency 433 MHz, crystal 50 MHz.
We want to evaluate the STUSB4500 and mounted this device on our demo board. Now we need to setup the device. We found a description for each setup but we do not find any information about the register how to address them. We need more information about the register order for the I2C bus and which setup we can do in each register. NOTE: This question and answer originated from a customer support case which was handled by us. We regularly review support cases and add any helpful ones here for all to benefit from.
Hi! I developed pcb with BLUENRG-2 IC. Where in BLE-Beacon example (ST BlueNRG-1_2 DK 3.1.0) I may change Adversitive Interval? This is need for me, because my application need more free CPU time. Thank you!
I'm using Bluenrg232 and S2-LP to send sigfox messages. I noticed that the current will spike from 5mA to 125mA to sending sigfox message. The specifications of S2-LP shows that the current consumption for TX is 10mA. is there something wrong with my design?
Hello there....On one of my product has LAN8742A phy ic for the Ethernet. for me everything is working great. in-fact i can create TCP server and client application with FreeRTOS Now the problem is, i just need to check the link status by reading the PHY register that is PHY_BSR . I have made the function to get the Eth link status as follow if((HAL_ETH_ReadPHYRegister(&VapEth, PHY_BCR, &phyreg)) == HAL_OK){ if((phyreg & PHY_LINKED_STATUS)==0){ /* Return Link Down status */ printf("LAN8742_STATUS_LINK_DOWN"); } if((phyreg & PHY_LINKED_STATUS)==1){ /* Return Link Up status */ printf("LAN8742_STATUS_LINK_UP"); } }Now the problem is HAL_ETH_ReadPHYRegister always returns HAL_TIMEOUT!I need some help from the community Thanks...
Posted on June 02, 2018 at 17:29Hello,I am working with the X-NUCLEO-IDB05A1 BLE expansion board on the NUCLEO-L476RG board and I want to send sampled ADC values via Bluetooth LE. Software I use: STM32CubeMX V4.25.0, SystemWorkbench for STM32.I successfully imported the sample project 'SensorDemo' into SW4STM32 and flashed it on the board, no problem.But now I want to create my own project, which brings me to my limits.My workflow is like this:initialize the used hardware in CubeMX. For example, I initialize my ADC and also the SPI interface, which is needed for communication with the BLE expansion board. For the SPI, I reverse engineered the setup used in the sample project and entered it in CubeMX. (similar to https://community.st.com/s/question/0D50X00009XkWqn/xnucleoidb05a1-with-stm32f4discovery )now I copy the stm32_bluenrg_ble.c/.h files from Drivers/BSP/X-NUCLEO... into my existing project in SW4STM32 and made some adjustments. For i
In hci_le_advertising_report_event I only see type 0x01,0x08,0x0A and 0x03 in the Advertising_Report_t. I don't see the 0xFF advertisement data.
Hi,I have STEVAL-IDB008V2 and I would like to start develop something on BlueNRG2 SoC which is on this board. I am looking for some tutorials or manuals for this device. On the Internet is nothing about this, only for using BLE as external device. I know, that it device is based on M0 core. Is it possible to use CubeMx to generate code for some of STML0 and BlueNRG-MS library? Is any other easy way to start using this device? This chip looks very nice, but have poor support.
Hi there,The aim is to connect to a vehicle and log its information through the module and display it on the computer. Not sure on which physical wiring connections are needed to the OBD pinout.Attempted using STM Cube to program using CAN interface but very new to it all.Appreciate any help thanks!
voucher displayed using terraterm demo board P-L496G-CELL 02 Board showing "Wrong voucher code" when tried https://stm32-c2c.com/sim/en/boards/dashboard please provide me valid voucher?
I'm trying to connect an X-NUCLEO-IDB05A1 (connected to a Nucleo-F411RE) to my PC... eventually I am going to be connecting to another IDB05A1 device, but I figure it is easier to try to get the basics going when I am only writing code on one side of the interaction...What I'm looking to do is to connect the device to my windows 10 laptop, and then use something like putty to send data back and forth.I have used the sensordemo example code as a base, and it is executing OK.... Windows can see my device when I go to add a new bluetooth device, and when I select the nucleo I get a message from the nucleo saying it is connected. A short while later (looks like 30 sec) though the nucleo outputs that it disconnected.Are there maybe some settings wrong? Or is there a handshake that is coded into the example that windows won't do so the connection is closed?Or is there an app STM has to chat with a device? I installed the STM Profile app and my board seems to connect OK, but disconnects from
Hello.I'm trying to use the nRF24l01 module with the Nucleo-l432kc in order to send and receive data between this Nucleo board and an Arduino Uno board (also with nRF24l01 module).But the Nucleo-l432kc can't send the data to the Arduino Uno. I'm using the TM_NRF24L01 library that was published here in https://community.st.com/s/question/0D50X00009XkWdrSAF/nrf24l01-on-nucleo-f411reI'm attaching my code for the Arduino Uno (as a receiver) and my code for the Nucleo-l432kc (as a transmitter).I'm using STM32CubeIDE, STM32CubeMX and ArduinoIDE. And the stm32 HAL libraries for the SPI communication.Can you please help me and tell me where is my mistake and what to do to fix this problem and run my nRF24l01 communication?Thanks in advance.Reshef
i am able to send 20 bytes to an android app through the following codes when the android app executes command: bluetooth_gatt.readCharacteristic(gattChar);:void aci_gatt_read_permit_req_event(uint16_t Connection_Handle, uint16_t Attribute_Handle, uint16_t Offset){ uint8_t send1[] = {0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39, 0x31,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,}; if (aci_gatt_update_char_value_ext(Connection_Handle,envSensServHandle,tempCharHandle,0,20,0,20,(uint8_t *)send_to)==BLE_STATUS_SUCCESS){ aci_gatt_allow_read(Connection_Handle); };my question is : if it is possible to achieve that the andriod app keep reading and bluenrg2 keep sending data? and if it is possible to get ride of aci_gatt_allow_read(Connection_Handle);how to achieve s
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.