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
I am Trying to figure out how to attach the chip with STM32F411RE. I have looked at the getting started with BLUENRG video https://www.youtube.com/watch?v=BzKIT2T5Q4c. and then have gone to read the programming guidelines in the document PM0257. I have had no luck in getting my wireless system to work. Any help will be very appreciated
Hi,I'm trying to update the FW of the BLUENRG-M2SP module on my X-NUCLEO-BNRG2A1.I'm using CubeMX with the X-Cube-BLE2.3.1.0 SW pack, together with the IFRStackUpdater application. The IFRStackUpdater works perfectly up to the point where the "Blue Flag" has to be reset, and consistently returns a status of 0x4A (bluenrg_2_utils.c: aci_hal_updater_reset_blue_flag()).The clearing of the Blue Flag works, and so does the erasing , writing and checksum verification. I even added an additional check, where I read back every block of data that was written, and even this shows up with no errors.I already tried to look what the 0x4A error code means and discovered it in the BlueNRG-1_2-DK 3.2.1:In DTM_Updater.c, line 139: #define BLUEFLAG_FAILED_OP ((uint8_t)0x4A)It seems the error gets triggered by lines 406 and 407 in DTM_Updater.cif (flash_sw_lock != FLASH_UNLOCK_WORD) return ERROR;Surely, if aci_hal_updater_erase_blue_flag() succeeds, aci_hal_updater_reset_blue
I have written (what I consider) a pretty nice multi-threaded application that configures multiple radios in a network including the ability to forward through intermediate radios. I have most of my system working pretty smoothly.I am more a sw person than radio freak so I may not be reading the documentation correctly.However, I spent the last two weeks tracking down a bug that I believe is caused by race conditions accessing the SPI channel controlling the radio. The manifestation is the irqstatus for the radio (MASK3...MASK0) gets changed but I am not changing it. The S2LP_CORE_SPI.c file seems to have a global tx and rx buffer with multiple routines that write the tx and read the rx OUTSIDE of the region protected by SPI_ENTER_CRITICAL and SPI_EXIT_CRITICAL. It seems to me that there is a race where the operation (say read a register) in the tx_buff can be overwritten by another (from the irq handler?) spi operation that writes a different command to the tx_buff resulting in chaos.
The problem statement as below.when i trying to read particular characteristic i am getting invalid command from bluenrg2chip to host microcontroller . here i attaching invalid command from chip , how to resolve this , this not occur regularly but its occur in random wise during this situation , sensor app will hang and its disconnected , how to resolve this .can any one provide the solution for this .
I am able to read the output register 0xf2.And knows this works correctly as I can observe the HEX values change when I hover and remove my finger away from the proximity sensor.However am unsure if I am writing to the registers correctly as they are not impacting the output results as expected.Please see files attached:Data/application Guide of VCNL36887SImages of function used to read from the output registerand an image of how I am attempting to write.I will also include my code from Keil and CubeMXAny advice would be appreciatedBest Regards,Luke
Please see files attached:Data/application Guide of VCNL36887SImages of function used to read from the output registerand an image of how I am attempting to write.I will also include my code from Keil and CubeMXAny advice would be appreciated Best Regards,Luke
Hi I using bluenrg2 m2sp chip as pheripheral role and st ble sensor App as a Central , i need to sent notification from peripheral to Central whenever event occur , con you share information , which api i need to use in order to sent notification from peripheral to client.RegardsManukumar
We need to have as most is possible a constant communication between the master (data receiver) and the two slaves (data senders). The data sent by each slaves should be around from every 20ms to 100ms. So the receiver would receive data every 10ms to 50ms. I'm trying to figure out if I will use a Eddystone beacon packets or need to make a connection on both slaves one after the other and pull the data from one after the other. What would be the more reliable way to do it? I'm currently using the the SampleApp example and I'm trying to "disconnect" and then, "reconnect". Could you help me to do that? The example is not showing us a way to disconnect. Is there a user guide to follow?Is this is the Programming guide tofollow?https://www.st.com/resource/en/programming_manual/dm00294449-bluenrg1-bluenrg2-ble-stack-v2x-programming-guidelines-stmicroelectronics.pdfOr this one?https://www.st.com/resource/en/user_manual/dm00162667-the-bluenrg-ms-bluetooth-le-stack-application-command-interface
When a event occur server and this event indicate the client there is data in server and read that data in particular characteristic.
I would like to know how to implement Multicast messaging on my end-node (currently using Murata Module (CMWX1ZZABZ-078) with ST LoRa libraries (Expansion I-CUBE-LRWAN) based on Lora Stack by StackForce ).If I have understood well the multicast support (Device group configuration) requires personalization on the node itself, right?I know it has been recently released a remote multicast support, but the current lora stack implementation is not ready for that yet.How many device groups can be set for a single node?Where can I find information about the personalization to implenent in our nodes so as to being able to support Multicast messages from the Network Server?My nodes are working in Class C, so they are continuosly listening.I wonder if a end-node is ready to listen on both Address Unicast and Multicast?Regards, Ramon.
..
Dear Sir/Madam,I have selected STOTG04ES as replacement for ISP1301BS. Major difference that I could find is the Exposed pad in both ICs. In ISP1301BS should be connected to ground but in STOTG04ES it is NC. Kindly clarify that on connecting to GND it will not create any problem.
Dear community, I'm using BlueNRG-2 M2SP module for programming and BLE-chat(Server) firmware use to program this module(available in BlueNRG- DK application). Making all changes in preprocessor setting as per document note(BlueNRG-2_Quick_Start_v1-attachment), and burn into module. But the problem is, I can not Enable BLE stack Initialization, so that it can't connect to BLE-Scanner APP. Is there any other changes required?????????Attached Ideal serial terminal pic in Ideal Serial window.and My serial window pic in my serial window attachment
Hello,I am using the evaluation board B-072Z-LRWAN with the example code provided by ST (STM32CubeExpansion_LRWAN_V1.3.1), the End Node project. Data is received on my LoRa server, messages are sent as "Unconfirmed". Now, I want to send "Confirmed" message, so I changed in the main.c the #define as follows: LORAWAN_DEFAULT_CONFIRM_MSG_STATE LORAWAN_CONFIRMED_MSGThe server send a void message as an ACK, but it looks like the board never receive it. Nothing appears in my terminal, the callback "LORA_RxData" is not executed . Do I need to change other parameters in order to make the ACK works ?Declared in "main.c"Message received on the server and ACK sent:ACK not received on the board:Thanks.
Hello, I'm using STM32F446RE with X-Nucleo-IDB05A1 for a set of projects and am testing to see if these projects connect using LightBlue PunchThrough App for iOS. I have a set of projects I have created, compiled, and uploaded to my STM32F446 that work very inconsistently and overall exhibit weird behavior:Observation 1: Sometimes a BLE program is able to connect and I can see it on the BLE PunchThrough App (Iphone 10) and other times I cannot see it at all. Observation 2: What's even weirder is that there are times where when it does work, it finally connects to the last program I tried. For example, if I tried to upload a BLE program entitled 'ChatX', it will instead connect with a program I tried to upload before it called 'Gum". More often than not, it will not upload at all.Any thoughts or suggestions on how to fix this?
Hi,I am a new to STEVAL-IDB011V1 board, so I installed the SDK mentionned on the user manual, However I couldn't found the package for this device on Keil µ-vision to start programming it!I search STBlueNRG-LP_DFP.2.0.0.pack on device database and i couldn't find it.So if any one has encountred this problem before please help me.Right now I am using MDK-Lite version but I intended to buy a license if my problem is on license.Thank you!Best regards.
1. if i read and write characteristic in the service its working fine if write one characteristic and read on other characteristic of same service , its not working . after that its not able to reconnect , during this scenario i need to restart ble chip , can you any one please help me out to solve the issue .if any flow diagram or any command sequence in this situation , can you share us .RegardsManukumar
Nucleo send through UART4 and receive with DMA from devices. Then Nucleo send to PC via USART2 for debugging. In UART4 there is Idle Line detect for receiving unknown length of data.This is my code: MX_GPIO_Init(); MX_DMA_Init(); MX_UART4_Init(); MX_USART2_UART_Init(); HAL_UART_Receive_DMA(&huart4, (uint8_t*) dma_rx_buf, DMA_BUF_SIZE); //HAL_UART_RxCpltCallback put my data from circular buffer "dma_rx_buf" to "data" /* Disable Half Completed and Completed Transmission Interrupt */ __HAL_DMA_DISABLE_IT(huart4.hdmarx, DMA_IT_HT); __HAL_DMA_DISABLE_IT(huart4.hdmarx, DMA_IT_TC); DEVICE_Init(&huart4); DEVICE_Set_Debug_UART(&huart2); uint32_t now = HAL_GetTick(); uint32_t last = now; while (1) { if (dma_uart_rx.data_rcv_flg) { dma_uart_rx.data_rcv_flg = 0; HAL_UART_Transmit(&huart2, data, strlen((char*) data), 50); DEVICE_Receive(data); } now = HAL_GetTick(); if (now - last > 10000) { HAL_GPIO_TogglePin(GPI
I need it please give me a url.
1. if i read and write characteristic in the service its working fineif write one characteristic and read on other characteristic of same service , its not working . after that its not able to reconnect , during this scenario i need to restart ble chip , can you any one please help me out to solve the issue .if any flow diagram or any command sequence in this situation , can you share us .
Hello,In the STUSB4500 datasheet, there are 2 typical circuits. Both of them include a circuit for the VBUS_VS_Disch pin. Components are D4, C4, R1 and R4. Based on the information in the datasheet, this circuit should be here to limit the discharge current to 50mA. Moreover, this pin is used by the chip to sense vbus voltage.What's the purpose of the diode D4?Discharge feature is optional and can be disabled in NVM. I want to disable it in my application, do I still need to link VBUS_VS_Disch to VBUS to sense VBUS? If so, what is the minimal circuit, do I need some resistors?Thanks,Arthur
I want to use the OTA function in STM32G081rb using GSM Please share with me the link which is related to that, tell me what are hardware changes need to be done for that OTA functionality.
Hi,I am experimenting X-NUCLEO-BNRG2A1 board and I have found the range is not as I hoped (about 5 Meters without any barrier).I have set the power to 1,7 which I believe the highest power level +8dbm.Is there any way to extend the range?Does using external antenna help? or should I use an amplifier?Does ST make any part for this purpose?Thanks,Mahmoud
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.