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 everyone,Sometime when I try to connect the module to a exsisting WiFi network I receive the following string from the module:+WIND:0:Console active+WIND:32:WiFi Hardware Started+WIND:21:WiFi Scanning+WIND:35:WiFi Scan Complete (0xFF)+WIND:5:WiFi Hardware failure:5And then the module continue to start again from WIND:21 to retry to scan in order to match the WiFi network.Has anyone happened to the same thing?The FW is 3.6 (the lastone)Giulio
It is critical the security for IoT deployment. As a first step, secure the firmware on BlueNRG-x, how to do it?What is the approach? What tools and middlewares are available?-Andy
Hello to all,am trying trying to interface micocontroller using SPI Protocal.here , am having 4 slaves and a Master, SLAVES are M0 based Micro controllers where as Master is M3 based micro controller.am sending and receving from slaves using DMA .Both side Master and Slave side am using DMA for transmit and receive.sending 133 bytes to every slaves interval of 3 milliseconds.MASTER Clock tested at 1.875mhz and 3.75mhz.Problem :problem is in 4th SLAVE it receive shifted datasuppose i sended :tx from MASTER: 133 bytesaa cc 80 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f 90 91 92 93 94 95 9
i want to know how to measure the RSSI value of the beacon demo without the smartphone.is it possible? if yes , which function can i use?thank you
Posted on January 07, 2018 at 03:06Hi, I just got the EVAL-IDB007V1M with the spbtle-1s (based on bluenrg-1 and installed the STSW-BLUENRG1-DK (v2.5.0) on my Windows PC. The BlueNRG-1 Navigator recognizes the EVAL-IDB007V1M and I can 'Flash & Run' the basic examples and the BLE demonstration and test applications. They seem to run on the EVAL-IDB007V1M - at least they to something when I press the buttons but I get strange results. First, when I 'Flash & Run' the BlueNRG-1 Hello World from the basic examples I get this output: With another terminal program it looks like this:I expected Hello World... What's wrong?Second problem (and more severe in my case): When I flash and run the BLE demonstration and test applications I would expect to be able to establish a connection to the EVAL-IDB007V1M from my Android smartphone. I tried to use the Apps STM32 BLE Profiles, BlueNRG and (sorry for that) nRF Connect. But I couldn't get any connection to the EVAL-IDB007V1M. I tried s
Hi, Could someone walk me a quick through what the difference between STEVAL-IDB008V2 and STEVAL-IDB008V1? The STEVAL-IDB008V2 is a newer version evaluation kit for BlueNRG-2 over STEVAL-IDB008V1, but what is the essential change? Especially for firmware developer what we need to know? I saw the OpenOCD has the configuration file to support STEVAL-IDB008V1, I intend to support STEVAL-IDB008V2, but need to know what the changes are.Thanks,Andy
..
How to setup STUSB4500 to deliver 15V 2.5A without programming ?If programming needed, how it can done?Where should I get the evaluation board for the same?Can I power STUSB4500 using the charging port without connecting to battery(Powered from Source- IC should power on by taking power from source power- 5V)Pls help me to design this
Hi everyone,I have got some problems with programming SPI between ADE7758 (slave) and STM32F103C8 (master). I use build - in SPI (hardware SPI), and directly connect 4 pin (MOSI, MISO, NSS, CLK) to ADE7758 which is a 5V device without any conversion module, to test my project. Initially I just execute a read operation to ADE7758 to get default value of OPMODE register. Unfortunately what i got back on MISO line is some arbitrary value for example like 0xFF, instead of its default value which is 0x04.I have also tried to observe the waveform and recognize that the voltage level of MISO is strange, just about 0.2V - 0.3V. The MOSI and CLK pulse are nice.Do I have to connect STM32 chip to ADE7758 via a voltage level conversion to ensure proper operation?I have been stuck in this issue many days and still can not find the solution.Hope someone help me.Thanks in advance.
Hi I am using parallel bus to communicate with the OLED SSD1322 to display something, which include: DATA LINE0 to LINE7CSRDWRDM data or commandhowever , I could send the simple commands like display on , off to control the OLED after initialization. but for the command + data pairs , it doesnt work at all.So i've checked the hardware connection , and data command pin. seems all work well. Could anyone give some suggestion.thanks
Hi all,using the STEVAL-PCC009V2 demo board I've connected an external EEPROM 24LC02 to this board by means of the I2C1 peripheral through the lines PB6 (SCL) and PB7 (SDA), these lines are available through the connector J2 (30 pin connectors on board).I'm based on some code found over the net and adapted it to my microcontroller (STM32F103RBT6) and peripheral (I2C1).For your reference here below the code that I've used to perform the peripheral init, byte read, byte write and multiple byte write task.The following defeine is used for timout checking purpose:#define I2C_TIMEOUT_MAX 100000Here below the peripheral initialization procedure, to be called before doing any operation through the I2C port.void I2C_Memory_Init(void) { GPIO_InitTypeDef GPIO_InitStruct; I2C_InitTypeDef I2C_InitStruct; // Enable APB1 clock and peripheral RCC_APB1PeriphClockCmd(RCC_APB1Periph_I2C1, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB | RCC_APB2Periph_AFIO,ENABLE); // SCL and
I need to build a device with the Home Automation Profile (HA 1.2) . I would need help in order to select the proper Wireless MCU that could have the corresponding libraries and Zigbee Stack. Selection of the proper MCULibraries for that MCU with the ZB Stack + HA 1.2 Profile.
iPhone 7, OS vesion is 12.0. BlueNRG-2 is first time used. iPhone can't find it, but when I use Andriod phone, it can find the BlueNRG-2. Whatis happen?
Can someone tell me why the need to put the Receiver back in Receiver mode after getting a DATA_DISCARDED Interrupt, (many examples are using this), I'd like to only get interrupted when the preamble and sync bits match, I find it excessive (every few 100ms) that I need to acknowledge that data was discarded and re-issue the command to RX.
hello,I want to know if it is possible to get the RSSI value of a node with this function in BLUENRG-1 without the mesh network.tBleStatus hci_read_rssi (uint16_t Connection_Handle, uint8_t *RSSI);Can I use this if yes how? Because I am getting only the value 128 or 18 from this function.Thank you
I have discovered an issue when trying to use aci_gap_terminate_gap_procedure( GAP_DIRECT_CONNECTION_ESTABLISHMENT_PROC ) after previously calling aci_gap_create_connection(...) to connect to a slave device. The issue only occurs if an incoming connection is established between calling the create and terminate functions. In this case aci_gap_terminate_gap_procedure returns 0x0C (ERR_COMMAND_DISALLOWED) instead of 0x00 (BLE_STATUS_SUCCESS) which it does usually.I am currently using v7.2c of the stack. I have just found out that v7.3 is now available but the release note does not indicate that this issue has been fixed?
Hi,I have a problem with SPWF01SA WiFi module with FW 3.6. The module is connected to a WiFi network, generated by a router (STAtion Mode), with active DHCP. A socket server is opened on port 80. I have seen that after a day the module IP is changed due to a Deauthentication. Herein you can find the communication between module and router, where you can see at 101149 sec the Deauthentication Packet (in this case after deauthentication the router assigns the same IP, but not always happens). What is the cause of this?Thanks a lot,Giulio
Hi,there is a bug in the S2-LP library function S2LPTimerSetRxTimerStopCondition:void S2LPTimerSetRxTimerStopCondition(RxTimeoutStopCondition xStopCondition){ uint8_t tmp; s_assert_param(IS_RX_TIMEOUT_STOP_CONDITION(xStopCondition)); S2LPSpiReadRegisters(PROTOCOL2_ADDR, 1, &tmp); tmp &= ~(CS_TIMEOUT_MASK_REGMASK | SQI_TIMEOUT_MASK_REGMASK | PQI_TIMEOUT_MASK_REGMASK); tmp |= (((uint8_t)xStopCondition) << 5); S2LPSpiWriteRegisters(PROTOCOL2_ADDR, 1, &tmp); S2LPSpiReadRegisters(PCKT_FLT_OPTIONS_ADDR, 1, &tmp); tmp &= ~RX_TIMEOUT_AND_OR_SEL_REGMASK; tmp |= (((uint8_t)xStopCondition) >> 1); g_xStatus = S2LPSpiWriteRegisters(PCKT_FLT_OPTIONS_ADDR, 1, &tmp);}The bug fixed function is:void S2LPTimerSetRxTimerStopCondition(RxTimeoutStopCondition xStopCondition){uint8_t tmp;s_assert_param(IS_RX_TIMEOUT_STOP_CONDITION(xStopCondition));S2LPSpiReadRegisters(PROTOCOL2_ADDR, 1, &tmp);tmp &= ~(CS_TIMEOUT_MASK_REGMASK | SQI_TIMEOUT_MASK_REGMASK | PQI_TIMEOUT_
I want to track/locate the position of a bluetooth mesh node. I am currently using three BlueNRG-1 based STEVALIDB007v1 boards and an android smartphone to form a bluetooth mesh network in which smartphone reads sensor data from mesh nodes. I did some research and found that RSSI value can be used to estimate the distance between receiver node and a target node. This distance estimate could be used by trilateration method using three nodes (whose positions and distances to target node are already known) to calculate the position of target node. I would like to ask is it possible to measure RSSI value on BlueNRG-1/2 board in a mesh network ? Or is there any other way to perform asset tracking/indoor localization in a bluetooth mesh network ?
Hello,I am using the BlueNRG LE stack to set my BLueNRG-MS device discoverable to Android app on smartphone/tablet.I am using the aci_gap_set_discoverable function from LE stack with following parameter:#ifdef _DEBUG USART_printf("*** Setting discoverable mode ***"); USART_printf("Adv MIN = %d ms", (CONFIG_global_configuration.min_advertising_interval*625)/1000); USART_printf("Adv MAX = %d ms", (CONFIG_global_configuration.max_advertising_interval*625)/1000); USART_printf("Conn MIN = %d ms", (CONFIG_global_configuration.min_connection_interval*1250)/1000); USART_printf("Conn MAX = %d ms", (CONFIG_global_configuration.max_connection_interval*1250)/1000); #endif /* set the device in general discoverable mode */ ret = aci_gap_set_discoverable( ADV_IND, CONFIG_global_configuration.min_advertising_interval, CONFIG_global_configuration.max_advertising_interval, PUBLIC_ADDR, NO_WHITE_LIST_USE, strlen(bluetooth_device_name) + 1, local_name, 0, NULL,
helloi would like to know if it is possible to get the RSSI value of a node while it is provisioned in the mesh network. i am testing with 3 steval IDB007V2 evaluation board and i want to know how to get the RSSI value of one node A in mesh network while the both two node B,C sends they rssi value to node A.Thank you very much.
Hello, I'm looking for the values to build the discrete balun like Figure 1 at AN4819. Unfortunately, I can not find the values anywhere. (C8, C9, C10,....)I would be very happy if you could help me.Thomas
Hello,I would like to design my own PCB for a Bluetooth Mesh project. Currently I am using STEVAL-IDB007V1 and STEVAL-IDB008V2 boards by configuring and provisioning them as mesh nodes through smartphone. I want to know whether it is required to program the STM32L151CBU6 microcontroller in order to use BlueNRG-1/2 in network coprocessor mode ? In the documentation, it is mentioned that "In order to configure the BlueNRG-2 device as a network coprocessor, the device must be programmed with a specific application, named DTM (direct test mode). " Moreover , it is also mentioned that "The STM32L microcontroller on the board is not intended to be programmed by users. ST provides a preprogrammed firmware image for the sole purpose of interfacing BlueNRG-1, BlueNRG-2 to a USB host device (e.g., a PC)."So, I want to ask if I want to design my own PCB for BlueNRG-1/2, then is it required to program firstly the STM32L microcontroller with the DTM source code provided in SDK ? Kindly let me
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.