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
Hello!Does the S2-LPQTR need a EMC protection on the Antenna (to protect RXp, RXn and TX)? I want to connect the Antenna with a SMA connector.
I am trying to exchange data (str data) between two STM32 throughout Lora connectivity. Both STM32 has a lora module and the connection between them is working fine. Based on two functions:T_eError_eErrorType eDataPlane_eReceiveData_Cmd (uint32_t in_uiTimeout, uint8_t* out_pucData, uint8_t inout_pucLength, T_stSx1276_eRxPacketStatus out_pstRxPacketStatus)T_eError_eErrorType eDataPlane_eSendData_Cmd (uint8_t* in_pucData, uint8_t in_ucLength)I am trying to send and receive messages instantly. I discovered a huge problem: for example I am trying to send a data which has a duration equal to 300ms while the timeout of receiving the data is fixed to 3000 ms. It may, in one rare case, be a loss of such a data, when the data arrives at the time of 2800 ms of the timeout of the receiver. Such a problem is similar to the exchange of data in the UART interface when using the blocking mode (HAL_UART_Receive (&huart1, UART1_rxBuffer, 12, 5000);). My question is how to garantee receiving the dat
Hello,I've developed a custom board with STM32F446 and BLUENRG-M2SP, but I can't realize connection. I use the same code for X-NUCLEO-BNRG2A1, in particular X-CUBE-BLE2 Sample App and I've changed SPI pin. If I set the UserBoard mode as HCI_interface, when starting the code the device is unable to define the address and fails all initializations.if I set HCI_interface as template, initializations are done correctly but I can't find the device with the app. Can sameone help me?Thank you,Angela
Communication with the chip BLUENRG-2N goes through SPI. When Chip Select GND, there is no interruption on IRQ line, all voltage and quartz are in order. Then I stitched through the SWD and the BlueNRG-1 ST-Link Utility program first with the BlueNRG_2N_Updater.bin firmware and with the address 0x10040000, then with the firmware BlueNRG_2N_FW_V3_2_0.bin and the address 0x10042000, and after that,I get this on a pin IRQ like the picture. Tell me what could be the problem, maybe I'm not flashing it correctly?
I am trying to get the LwIP_TCP_Echo_Client example to work on my custom board.I never get past the HAL_ETH_GetReceivedFrame. /* get received frame */ if (HAL_ETH_GetReceivedFrame(&heth) != HAL_OK) return NULL;The board I am using has a STM32F429ZIT6 connected to a DP83848 PHYThe STM32429I-EVAL was used as a reference to the custom board. Different CPU pins were used due to the use of a STM32429ZI processor. Interrupt pin goes directly to the processor instead of to an expansion chip.The hardware is connected MII. /**ETH GPIO Configuration PC1 ------> ETH_MDC PC2 ------> ETH_TXD2 PC3 ------> ETH_TX_CLK PA0/WKUP ------> ETH_CRS PA1 ------> ETH_RX_CLK PA2 ------> ETH_MDIO 
hello, I"m trying to develop an application for LCD using stm32f407. the application requires graphical data that we are trying to save in external nor flash. the nor flash is connected to uC over FSMC interface .we are using stm32 cube ide for programming and can see the data allocated in an external flash under "memory regions".now we need to be able to flash the program this into external flash so that uC can access it while running its code.however, we are unable to find any app notes or snippets for the same.we have found how to do this with QSPI but we want to access using FSMC only.any help would be greatly appreciated .Thank you.
I have a BlueNRG2 firmware that includes critical application level encryption keys. It is flashed using the bootloader. If I activate the flash readout protection using the bootloader commands (0x82), is the flash protected from readout through SWD as well?
Hello,How can i generate the BLE_SensorDemo Example "BLE_SensorDemo_Use_OTA_ServiceManager (with OTA ServiceManager).hex" using the BLE_SensorDemo example from STSW-BLUETILE-DK 1.3.0 with Atollic TrueSTUDIO?Thanks.
First I initialize it if(ISM43362_Init() == WIFI_STATUS_OK) { USART_SendString(SYS_USART, "WIFI INIT OK\r"); if(WIFI_GetMAC_Address(mac_addr) == WIFI_STATUS_OK) USART_SendString(SYS_USART, "MAC ADDRESS "); USART_SendHex(SYS_USART, mac_addr[0],0); USART_SendString(SYS_USART, ":"); USART_SendHex(SYS_USART, mac_addr[1],0); USART_SendString(SYS_USART, ":"); USART_SendHex(SYS_USART, mac_addr[2],0); USART_SendString(SYS_USART, ":"); USART_SendHex(SYS_USART, mac_addr[3],0); USART_SendString(SYS_USART, ":"); USART_SendHex(SYS_USART, mac_addr[4],0); USART_SendString(SYS_USART, ":"); USART_SendHex(SYS_USART, mac_addr[5],1); } } else USART_SendString(SYS_USART, "WIFI INIT ERROR\r");Got OK.Then connect if( WIFI_Connect(SSID, PASSWORD, WIFI_ECN_WPA2_PSK) == WIFI_STATUS_OK) { if(WIFI_GetIP_Address(ip_addr) == WIFI_STATUS_OK) { USART_SendString(SYS_USART, "Connected: got IP Address "); } else { USART_SendString(SYS_USART , "ERROR: CANNOT get IP address\r"); } } Got IP.
I can't connect to STM32H7B3I on SEGGER or using JLink. Resetting option bytes on JLinkSTM32 fails. If there is somehow irreparable damage, could that have been due to me programming high or low frequencies (1-400 MHz) in the RCC? If not, what could be the cause?
..
Dear Team,We have a few queries related to our latest IOT project with the following description.Microcontroller - BlueNRG-M2SPEnvironment - Keil uVision v5.28.0.0Debugger/Programmer - ST link V2 (Dongle)While working with AT commands and serial communication protocols, there had been difficulties in debugging.On further research we came across the 'printf for STM32F0 Cortex-M0: Uses CoreSight DAP (Debug Access Port)' functionality. (Document attached).We tried implementing the instructions but failed to obtain the expected response in the debugger window.What could be the possible reasons and how can the issues be resolved?Does the operation require conversion of ST-link to CMSIS-DAP JTAG/SWD Adapter?If a conversion is needed, where can we find the information regarding the procedure?Is there an issue with our approach to the BlueNRG module or is there a better way to programming BlueNRG?How to use BlueNRG2-M2SP with CubeMX using ST-LINK without using a BLE expansion board setup?Thank
should be fixed<rf_driver_ll_pwr.h>line84(PWR_CR2_PLVDS_2)=>PWR_CR2_PVDLS_2<rf_driver_hal_power_manager.c>line989COSNFIG_DEVICE_BLUENRG_LP=>CONFIG_DEVICE_BLUENRG_LP
Hi, I'm currently designing a USB sink ( kind of electronic load to test a power bank). I will connect to the power bank using type C to type C cable to my tester load. Using a master MCU STM32H7XX, I'm planning to control the PDO selection 5V/3A , 9V/3A etc.. up to 20V/ 5A . The question is can STUSB4500 support up to 20V/5A. Datasheet mentioned 20V 1A as the limit. I saw a reference design saying we can sink up to 100W , STREF-SCS001V1 ( but not officially released) Please suggest..
I use S2LP at 433 MHz with proprietary narrowband protocol. Crystal 25 MHz 10 ppm XRCGB25M000F1H02R0 from Murata; capacitors 18 pF. Devices operate OK if ambient temperature is positive. When I put them into freezer they stop responding to the base station. Devices are temperature dataloggers. While being in freezer, they continue to log temperatures, and we can see that microcontroller works OK down to -17 C. But S2LP stops responding at temperatures around 0 C. I suspect that S2LP oscillator does not start if it is cold. Did anyone experienced similar problems?
Hello, is there a way to use Teseo Suite with NUCLEO-L476RG. The "X-CUBE-GNSS" software only provides an app for NUCLEO-F401RE, called "Virtual_COM_Port_UART". Thanks
The STUSB4500 and STUSB4500L are similar in nature, however the NVM config for the STUSB4500 is not compatible with the STUSB4500L. Is there a way to identify the part number via the I2C bus? The Device ID Register returns 0x9C for both the STUSB4500 and the STUSB4500L.
Hello,I tried to upgrade STSW-STUSB002 V1.09 (early 2019) which works well with STUSB4500 chips, but doesn't with 4500L ones! Not same register mapping?..I installed STSW-STUSB002 V1.11 (early 2020) but no more "SINK PARAMETERS" on the GUI.Do I miss something on V1.11 installation?Please let me know: NVM settings of 4500 chips DON'T WORK with 4500L ones!Thank you.Regards.
Hello there,What's the total range of BlueNRG-M2SA? I read in this forum that is 33 meters, it's correct? My application needs something about 500 meters. Does possible reach it with BlueNRG-M2SA (or BlueNRG-2)?Best Regards,Leonardo
Hello I'm in the development of the bluetooth communication between two bluenrg-2n devices. The bluenrg-2n are connected with stm32f405 through SPI. I'm not new in stm development but new in bluetooth communication. I've already done the init process of µC and bluenrg-2n. Now I'm little confused, whether I should care about the bluetooth process of bluenrg-2n, such as scanning, connection and pairing. If i should, which functions I should use? If not, how should I establish the connection and configure the device which I want to send data or receive data? Are there some references or manual I can refer to?Thanks,Qiyuan
Can I interface these two boards?Can I program X-NUCLEO-BNRG2A1 without a Nucleo board? Is the X-NUCLEO-BNRG2A1 programmed via the host Nucleo board?I'd like to not purchase the much more costly STEVAL-IDB008V2.On the other hand, I'm just starting with embedded systems in general, so I'd like to avoid complications.
Hello,I am currently working on a project that requires 6loWPAN over Bluetooth communication. I have a STEVAL-STWINKT1B development board and it comes with a BlueNRG-M2 BLE module. I have checked the BLE examples and the documentation provided by ST, but I couldn't find anything related to 6loWPAN over Bluetooth.So is it possible to implement 6loWPAN communication over the BlueNRG-M2 BLE module? Does Bluetooth chip (BlueNRG-2 system-on-chip) support the 6loWPAN? If the answer is yes, where can I find the related document and tools?Best Regards
I have configured the GPIO for I2C1(Alternate function 4) and enabled the Clock for I2C1. After that I am trying to enable the ACK. but not able to enable that.. Also tried for I2C2 and I2C3 facing the same issue.//enable the clock for the I2C peripheralI2C_PeriClkControl(pI2CHandle->pI2Cx, ENABLE);// ack control bituint32_t tempreg = 0;tempreg |= (pI2CHandle->I2C_Config.I2C_AckControl << 10);pI2CHandle->pI2Cx->I2C_CR1 |= tempreg;I also tried manually in debug mode. Not able to SET ACK bit of CR1 register of any I2C(I2C1/I2C2/I2C3)Any idea how to resolve this issue?Can anyone help please
What are the power levels for the different settings when calling aci_hal_set_tx_power_level()? All I can find for sure is a max power level of +8 dBm in the datasheet. Other tables I find in the BlueNRG-1_2 DK documentation give conflicting answers and none mention the En_High_Power parameter.This question was asked before here: https://community.st.com/s/question/0D50X00009XkfpySAB/which-parameters-are-suitable-for-acihalsettxpowerlevel-with-spbtlerf-but for a different chip. I'd like to know the answer for BlueNRG-2.
Hi, I'm looking for the code source of P-NUCLEO-LRWAN3 Gateway, the user manual only have the .bin file.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.