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
Hi All,I am using "blueNRG-2" MCU, I want to configure it to enter the deep sleep mode.The issue is when the BLE stack is initialized sometimes I can enter the deep sleep and sometimes I can not.I noticed that whenever I can not enter the deep sleep the register "BLUE_CTRL->TIMEOUT"holds the value 0x3000042and in order to work around this issue I wrote a marker on variable when I found this issue and then force a SW_reset and check the variable value in the function "__low_level_init" .This change generates a hardfault sometimes can you please help me with this issue ?Is there any issues with this approach?Can you provide a better solution please ?Thanks in advance
Hi All,I am using "blueNRG-2" MCU, I want to configure it to enter the deep sleep mode.The issue is when the BLE stack is initialized sometimes I can enter the deep sleep and sometimes I can not.I noticed that whenever I can not enter the deep sleep the register "BLUE_CTRL->TIMEOUT"holds the value 0x3000042Can you tell me more about this register and why this happens Thanks in advance
1.Pin21-OE Input terminal of output enable (active low), Q1-Is this PWM controlled?Q2-Can use IC without connecting OE pin2.Pin23-R-EXT Input terminal for an external resistor for constant current programming.Q1-Can use IC without connecting R-EXT pin.3.Is this has any over voltage shutdown functionality?4.Can we connect external over voltage protection circuit ?We need only SDI,CLK ,LE and over voltage functionality pins to drive LED'sPlease let me know if any other IC's can be used for this functionality.
I am trying to get FOTA updates working with the IoT node kit and Azure.I currently have v4.0.1 installed on the board. I uploaded v4.0.2 to an azure storage account where I created a blob and uploaded the file, then generated a blob sas url.In my Azure application I created a command with the field name FirmwareUpdate with an input text field of URL. Below is the command history from Azure.The device recognizes the firmware update request, but it has an error: "Err: Parsing the FOTA command searching Start File Path" (output below).What does the error mean? I am using base software on the device and on the update file. Am I not properly storing the file to be uploaded in the cloud and generating a url for it?Received firmware update request. Use package at: [https://something.blob.core.windows.net/fotafota/Azure_IoTCentral_BL.bin?something] Err: Parsing the FOTA command searching Start File Path IoTHubClient_LL_SendEventAsync accepted message [2] forI also tried just using the URL wit
Hi, I try to transmit data by S2LP(RC-S2LP-433) and have a problem. When I try to debug the unit (true studio) everything work great, when the TX end then get an ISR to reset flag and in main loop start new transmitt. When I try to start the unit without debugging mode, only give 3V to the my board then don't transmitting and give an status byte[0]=0x52,[1]=0xE9. The S2LP chip is version 0x91. Can anyone help me?#include "main.h" #include "cmsis_os.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ #include "../S2LP/RF_SPI.h" xSemaphoreHandle radio_spi_mutex; /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ /* USER CODE BEGIN PTD */ uint8_t chk_bat = 1; volatile uint8_t start_flag =0; SPI_HandleTypeDef hspi1; /* USER CODE END PTD */ UART_HandleTypeDef huart1; osThreadId defaultTaskHandle; /* USER CODE BEGIN PV */ &
Hello,I ask connoisseurs of i2s. How to generate NACK in the slave mode if NOSTRECH = 1 and the slave device sends data to the master?If the slave receives data, then there are no such problems. You can wait for the RXDR to overflow and the slave will automatically send NACK to the master. However, when TXDR overflows, the data will still be sent to the master. How to tell the master that the slave does not have time to deliver data?
See: https://gbhackers.com/sweyntooth/ and https://www.wired.com/story/bluetooth-flaws-ble-internet-of-things-pacemakers/ Per the articles, it looks like STMicro's instantiation of BLE has this issue.
Hi all,When I bring up the S2LP from poweroff, then it correctly reports state=0x00 (READY). After configuration it also reports STATE=0x00. Then I exec S2LPCmdStrobeRx() and it reports 0x3C (RX=0x30 | Lock=0x0C) but then after a second it reports STATE=0x74!I would be happy if anyone could tell me what state 0x74 is and why it is in that state.Kind regardsAndersDataHamster.io
when running mode, every time it works, but when sleeping, the manufacturer data was missing, and, beacon mode every time works. what's the different of the running mode and sleeping mode of the broadcast?
Hello. I want to use OOK modulation based on GPIO pin. Datasheet says it is capable of doing it, but it is nearly impossible to understand how to set this up.Could Some one provide explanation and register values and settings in order for GPIOX to control OOK transmitter ? ( I am using SPIRIT1 library from ST)Thank you !
I am looking into using this part: https://www.st.com/content/ccc/resource/technical/document/datasheet/b4/f8/3b/f7/8e/d8/4e/c4/DM00249556.pdf/files/DM00249556.pdf/jcr:content/translations/en.DM00249556.pdf and was wondering how I can come up with the values for those pi filter components shown in the block diagram (figure 4, page 14). It says to reference the PSI5 standard but I want to confirm I am looking at the correct thing. Is this the part within the specification I should be referring to?
I try to understand the logic of the kit.I open STSW-BLUETILE-DK 1.2.0->Project->BLE_Examples->BLE_BeaconAnd I see in the main routinewhile (1) { /* BlueNRG-1 stack tick */ BTLE_StackTick(); /* Enable Power Save according the Advertising Interval */ #if ST_USE_OTA_SERVICE_MANAGER_APPLICATION if (!isPlugged) { if (GPIO_ReadBit(GPIO_Pin_11) == Bit_SET) BlueNRG_Sleep(SLEEPMODE_NOTIMER, WAKEUP_IO11, (WAKEUP_IOx_LOW << WAKEUP_IO11_SHIFT_MASK)); else BlueNRG_Sleep(SLEEPMODE_NOTIMER, WAKEUP_IO11, (WAKEUP_IOx_HIGH << WAKEUP_IO11_SHIFT_MASK)); } #else BlueNRG_Sleep(SLEEPMODE_NOTIMER, 0, 0); #endif }But where is a periodic data retrieving from the sensors? Where is a beacon updating and advertising? Should I implement it by myself?
I am using STEVAL IDB008V2 for advertising values of sensors on board, now that is done I want to create a PCB for the specific application. I would like to design a PCB antenna for the Blue NRG 2 device. Is there any resource for the same provided by ST? I have basic knowledge on RF design but a beginner on the implementation aspect of the same. Would welcome any resource which would help me make aware of the shortcomings during the design process. The expected range is minimal so I opted to go with the PCB antenna design methodology.
I am trying to port a Keil Project to Crossworks.
..
Hi, I am trying to put bluenrg-2 in deep sleep mode at start of while loop, wake on uart rx interrupt, do some work and go back to sleep.The sample code "sleep test" matches my requirements but it needs an incoming rx char to put bluenrg-2 in sleep mode.When I modify it to go to sleep without if(__io_getcharNonBlocking()) condition, the system wakes but the code doesn't seem to serve the isr function. Does it means that the system woke up just because of low logic on rx line and not because of interrupt? The sample code serves the isr function. I can't get mine working.Please help me with it.I want it to bewhile(1){Sleep()Do some work}
Hi, I am trying to put bluenrg-2 in deep sleep mode at start of while loop, wake on uart rx interrupt, do some work and go back to sleep.The sample code "sleep test" matches my requirements but it needs an incoming rx char to put bluenrg-2 in sleep mode.When I modify it to go to sleep without if(__io_getcharNonBlocking()) condition, the system wakes but the code doesn't seem to serve the isr function. Does it means that the system woke up just because of low logic on rx line and not because of interrupt? The sample code serves the isr function. I can't get mine working.Please help me with it.I want it to bewhile(1){Sleep()Do some work}
I have a custom-built board with a BlueNRG-2 chip on it. The BlueNRG-2 chip is flashed with the UART version of the binary provided in the STM32CubeExpansion_BLE2_V1.0.0 package.Can anyone provide me the pins that the BlueNRG-2 uses for its UART comms?
Hello everyone,I just got an IDB008v2 evaluation board and I'm having some issues setting it up and programming it.I can flash some demo programs from the BlueNRG-2 Navigator, which works (Tera Term receives the print messages and BLE scanner app sees the advertising). But if I load the same demo programs in Keil uVison5 (build successful) and try to flash it, I get the error message "No ST-LINK" detected. In the target options, device tab, the device is correctly identified as BlueNRG-2.I tried connecting using the BlueNRG-1 ST-LINK Utility, but connecting to the target yields the same error: "No ST-LINK detected". I tried disconnecting/reconnecting, reinstalling the drivers, resetting the board before connecting, rebooting the computer. No change.I'm on Windows 10
HiI use B-L475E-IOT01A Discovery kit. I would like to update firmware Wi-Fi module Inventek ISM43362-M3G-L44.Could you advise for me?Thank you
In our application spbtle-rf0 is used to communicate with android app. when data is sent, some times it is observed that part of the previous data is transmitted. The data is split into 20 bytes packet. When it is configured as indicate some times the 10-11 bytes from the previous packet is transmitted. Checked in HCI logs. When configured to notify some times few bytes from one of the previous packets not beyond 128 bytes form current packet is transmitted. I fear that when the header is received by the module and if is ready to transmit on RF side, it is dumping the data i.e. equal to size specified in header from it's 127 bytes buffer. Is there a way to give command that the SPI interface is busy receiving data and transmit when it is done. Does the CS pin takes care of this synchronisation? As in my case it doesn't seem to work so.
In our application spbtle-rf0 is used to communicate with android app. when data is sent, some times it is observed that part of the previous data is transmitted. The data is split into 20 bytes packet. When it is configured as indicate some times the 10-11 bytes from the previous packet is transmitted. Checked in HCI logs. When configured to notify some times few bytes from one of the previous packets not beyond 128 bytes form current packet is transmitted. I fear that when the header is received by the module and if is ready to transmit on RF side, it is dumping the data i.e. equal to size specified in header from it's 127 bytes buffer. Is there a way to give command that the SPI interface is busy receiving data and transmit when it is done. Does the CS pin takes care of this synchronisation? As in my it doesn't seem to.
I followed the "X CUBE BLE1 for STM32CubeMX" webinar/tutorial as well as the documentation in CubeMX, but my STMF401RE with IDB05A1 is not found by the ST BLE Sensor app. Hence, no connection is possible and I cannot try the Bluetooth features.The differences with the webinar, as far as I know, are: * I am using X.CUBE-BLE1 5.0.0 instead of 4.4.0 because this is the only compatible package with CubeMX 5.6.0. * SYS is appearing in my system view, while it is not appearing in the webinar, but this should be again related to the new version of CubeMX * I am using IAR EWARM instead of Eclipse (this should be super-ininfluent) * in Advanced Setting of Project Manager, instead of "MX_USART2_UART_Init" + "MX_SPI1_Init" + "MX_X_CUBE_BLE1_Init" + "MX_X_CUBE_BLE1_Process", there are "MX_BlueNRG_MS_Init" + "MX_BlueNRG_MS_Process", and they cannot be set staticI made no modification to the generated code. I also tried the SensorDemo with BlueNRG app, but the same problem is present.How can I fix
Hi there,I programmed BlueNRG1 with bluetooth stack in C language. I want to know, about the support of python for BlueNRG1. As now a days, their are many controllers supporting micropython. Is their some sdk available for this SoC.Thanks & RegardsShreekant
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.