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'm using a spbtle-rf to scan for BLE beacons. I get the LocalName of the device scanned and its hardware 'MAC' address using either aci_gap_start_limited_discovery_proc() or aci_gap_start_general_discovery_proc() but I can't find a way of reading the manufacturers data and the TX power in the advertisements (which contains data that is useful to me).Also, what is the criteria for when either of the above functions terminate with EVT_BLUE_GAP_PROCEDURE_COMPLETE as there seems to be quite a delay after reporting a beacon before it completes and I can start another scan.Thanks
I'm using a spbtle-rf to scan for BLE beacons. I get the LocalName of the device scanned and its hardware 'MAC' address using either aci_gap_start_limited_discovery_proc() or aci_gap_start_general_discovery_proc() but I can't find a way of reading the manufacturers data in the advertisements (which contains data that is useful to me).Also, what is the criteria for when either of the above functions terminate with EVT_BLUE_GAP_PROCEDURE_COMPLETE as there seems to be quite a delay after reporting a beacon before it completes and I can start another scan.Another related question - can I get the TX power that is announcing in the beacon advert as well?Thanks
..
Can I connect L9616 to the MCU directly or do I need some components like resistors, capacitors?
Hi,Kindly advice how to communicate with an external device has CP210x with stm32f4 via USB FS mode. Is there any driver? In my project i want to read an external sensor data via USB. That sensor transmitting the data via CP210x chip . Please advice.Thanks,Param.
Hi everyone, i am trying to establish a USB communication between my nucleo-L073RZ and my PC. I have stripped a USB cable to connect it to the usb pins of the board (PA12 & PA11) and it worked well but i wanted to buy a cable (not homemade) to do it. I bought a TTL-232R-5V thinking it would do the job but can't make it work (probably due to the UART convertor). have you guys a good cable to advise to do the same thing?I have been looking for something like that for days and it annoys me not to find something so simple :(Thank you in advance!
I am finding that the BlueNRG-M2SA module's power on reset is very flaky when used with a coin cell battery. More often than not the board does not boot after the battery is inserted. You then have to wait for close to 2 minutes before trying again.The external RC reset is as per the module data sheet, 47K to Vcc and 10nF Gnd.The board hardware is exactly the same as used for the BlueNRG-1 based SPBTLE-1S module which did not have this issue at all. It was 100% solid.Could it be a firmware setting?Maybe the brown out setup?Or is it a hardware problem.This happens on a number of BlueNRG-M2SA boards so is not random.BJ
I need to measure the distance between several bluetooth
HiI would tike to use the ST25DV04K NFC tag in a Lorawan end node based on the on the CMWX1ZZABZ-091 module.Can you please provide more info on the ANT7-T-ST25DV04K reference design? I was not able to find the pcb documentation.I addition to that, is there any material on pcb antenna that I can use ?BRGilberto
hello, We are using ST3232 as new project design and I measured waveform as below, does this waveform is normal or not?we use 3.3V power supply with 100nF ceramic capacitors. do you have a solutionthank you in advance
I have just started getting this and wanted to understand why and how to resolve. I have done a Mass Erase using the Flasher utility but that doesnt make any difference
Using the SDK's BLE_Privacy project as a base, I changed the Master & Slave programs to function with the static random address stored in NVM by commenting out the aci_hal_write_config_data function that was setting a public address and changing the address type to a Resolvable Private Address (0x02) in the following functions:master.c aci_gap_start_general_connection_establish_procmaster.c aci_gap_create_connectionslave.c - aci_gap_set_undirected_connectableThis functioned as expected with no issues. I then attempted to set a static random address and not use the one in NVM by using the aci_hal_write_config_data with the offset set to CONFIG_DATA_STATIC_RANDOM_ADDRESS on both the master & slave in-place of where the CONFIG_DATA_PUBADDR_OFFSET write was occurring. The devices were unable to reconnect using the whitelist after the initial connection, pairing, bonding, & disconnect. I verified the bonded addresses of the master & slave matched the associated configured st
Good day.I'm pretty new to BLE and I've a pretty hard time getting the hang of it.I'm using the Sensor Demo example, delivered with the X-Nucleo-BNRG2A1.I've now a custom board with the BlueNRG-M2 as a coprocessor with a STM32F030C8T6 (SPI).The electronic receives commands from an App via several characteristics and depending on the commands, uC will enable/disable a TRIAC and Relay. There are a 3 ADC Channels, which are polled and the values written to 3 characteristics. This works perfectly fine.I've issues reading values written by the App.From what I've gattered, the read should be doable with the following commands:aci_gatt_read_char_value(); or aci_gatt_read_using_char_uuid();But both of them only returns a BLE Status (And I get an Error of 0x47).How can I read the values? The programming guide mentions events. How can I tackle those?tBleStatus Read_ProgramID(void) { tBleStatus ret; ret = aci_gatt_read_char_value(connection_handle, ProgramIDHandle+1); if (ret != BLE_STATUS_SUC
I'm having trouble with i2c communication. In my i2c bus, i have 4 boards (STM32L4 Sensortiles) and sometimes one of them blocks the bus and the others stop communicating consequently. When I reset that one that blocks the bus, all boards starting working again.In my debugs, this bug happened when HAL_I2C_GetState(&hi2c3) returns HAL_I2C_STATE_BUSY_RX, even my others i2c functions HAL_I2C_Slave_Receive_IT and HAL_I2C_Slave_Transmit_IT returns HAL_OK:Any ideas what I'm doing wrong? Thanks.
Hi, I'm trying to use STLINK-V3 MB1440B for BlueNRG2 debug. I'm connecting the SWD connector on STLINK to JTAG connector on BlueNRG development board. The BlueNRG-1_2 flasher shows "Waiting device to read ->" and stucks there when I tried to read the device memory. Pins I'm using are SWTDIO, SWTCLK, RESETN, GND, and VCC(3.3V). Is this correct way for SWD port to debug? Why BlueNRG flasher cannot detect my STLink?Thanks.
BLUENRG-M2SA is my processor. I am starting a gpio toggle to test it out. It compiles normally in Keil and Atollic. It only appears to use Keil program even when attolic is the programmer. The device will enter debug mode in Attollic how ever it is not taking the new code in Atollic. The other issue is it only runs the program with the STLINK plugged in.
Need software driver for STOTG04ES
i am able to read characteristic by using ACI_GATT_READ_CHARACTERISTIC_VAL, and update characteristic by using aci_gatt_update_char_value_ext(), the returned value is correct. howevever, the client's aci_gatt_notification_event() was not triggered.
I am working on Ethernet (Part No : STM32F779BI )I am able to display webpage using ethernet with follwing pin mapping PE2 ------> ETH_TXD3 PG14 ------> ETH_TXD1 PG13 ------> ETH_TXD0 PG11 ------> ETH_TX_EN PH3 ------> ETH_COL PH2 ------> ETH_CRS PC3 ------> ETH_TX_CLK PC1 ------> ETH_MDC PC2 ------> ETH_TXD2 PA1 ------> ETH_RX_CLK PC4 ------> ETH_RXD0 PH7 ------> ETH_RXD3 PA2 ------> ETH_MDIO PC5 ------> ETH_RXD1 PH6 ------> ETH_RXD2 PA7 ------> ETH_RX_DVI have change some pin according to r
Hello ST team,I need to create a TTL interface between two microcontrollers. One of them is supplied with 3V and the other one with 5V.The 3V microcontroller output can be configured with a pull-up or in open-drain.The 5V microcontroller has a 5V push-pull interface only.Would this IC be able to provide a bidirectional interface between them without damage?I'm particularily thinking of the case where the open drain from the 3V-µC is activated and the output of the 5V-µC is pulled to high state.Thanks a lot for your help!
Hello,I'm trying to run the examples for X-NUCLEO-IDW0M1 WiFi expansion board and they doesn't work. I'm using a nucleo F401RE which is supposed to be compatible with this expansion board. I just plug both boards and run the examples. Once the program is running I used the default SSID configuration (which I modified to be my own router configuration) and then the program gets stuck initializing the wifi module. Like the following picture:After waiting for a while it prints HAL_UARTx_Receive_IT Error a lots of times. I use the debug tool and it get stuck in the wifi_init()--> wifi_reset() and hung in this loop:while(IO_status_flag.WiFi_WIND_State.WiFiHWStarted != WIFI_TRUE){__NOP(); //nothing to do}Can anyone help me please? It is the second board that I used for this project because I think that the other one was no compatible, but I have the same error and I don't know what to do.Thank you.
After inspection I realized that RCC_CFGR register is different when running in different modes (debug and normal). I fixed the issue by writing RCC -> CFGR = 0x1F040A. Now the register is the same but the problem still exists.another strange fact is that I have 6 boards, which are exactly the same (they are pcb printed and have the same components and I programmed the microcontrollers with the same code). The communication on one of the boards is OK but the rest of 5 boards have problemsI appreciate any comments in advance.
We are building solution to identify post box filling level with VL53l1x proximity sensor. Letters in the post box may be aligned in a Zig jag manner .As per our knowledge laser beam (time of light) can identify distance between the sensor and plane solid surface .Kindly suggest us to with well proving application note for the same
I have a problem with modbus-rtu communication in my stm project.The STM32F446RE is connected to a MAX485 board by UART1 to RO-DI pin and by a GPIO pin to RE-DE.A typical instruction (variable:INSTRUCTION.array_instruction) is something like 01 06 26 04 00 57 + CRC16 (variable:cksum16).Where:01 slave address06 write single instruction26 04 my instruction00 57 instruction valuexx xx CRC1Here my programm:HAL_GPIO_WritePin(MODBUS_DE_RE_GPIO_Port, MODBUS_DE_RE_Pin, GPIO_PIN_SET); //MAX485 write mode HAL_Delay(DELAY_FOR_MODBUS); HAL_UART_Transmit(&huart1,(uint8_t*)&INSTRUCTION.array_instruction,6,1000); HAL_UART_Transmit(&huart1,(uint8_t*)&cksum16,2,1000); HAL_Delay(DELAY_FOR_MODBUS);And all works great for all kind of write instructions (0x06).The problems come with read function. After sending a request (01 03 00 00 00 01 +crc 84 0A) I read my port HAL_Delay(DELAY_FOR_MODBUS); HAL_GPIO_WritePin(MODBUS_DE_RE_GPIO_Port, M
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.