Developer support experience survey - We value your feedback
Join discussions in the Product Forums. Ask questions, learn from your peers, and share insights on ST solutions to accelerate your design journey.
Most recent activity
Dear ST Team,We would like to request the design files for STDES-30KWVRECT for evaluation and reference purposes.Kindly share the available design package, including schematics, PCB layout files, BOM, Gerber files, firmware, and any related technical documentation.We appreciate your support and look forward to your response.Best Regards,AriharasuthanSenanitech
I have verified in my code that writing and reading with I2C works as expected, and registers are configured seemingly correctly. I believe there must be a problem with how I write the configuration file to the BMI270, but I am at a loss as to what error exists in my code.Here I present the initialization function and starting function for the BMI270:--------------------------------------------uint8_t BMI270_init(void) { uint8_t address; uint8_t init_addr0 = 0x5B; uint8_t init_addr1 = 0x5C; uint16_t init_val = 0; uint8_t value, val_lsb, val_msb; uint8_t buffer[2] = {0}; uint8_t err = 0; //disable PWR_CONF.adv_power_save (addr=0x7C,val=0x00) address = 0x7C; value = 0x00; //Read address before err = I2C_read(&address, buffer, 1); if (err != HAL_OK) {return err;} //Print result UART_print_char("test pwc 1: ", 12); UART_print(buffer, 2); UART_print_char("\r\n", 2); err = I2C_write(&address, &value, 1); if (err != HAL_OK) {return err;} HAL_Delay(1); //Read address afte
Several discussions on this topic have been lost in the forums transition, or not moved yet, I could not find them here. So I’ll post again to summarize.In recent changes of the Cube ETH drivers for several STM32 packages (H7, F7, maybe others as well) handling of ETH_MACFilterConfigTypeDef.BroadcastFilter seems to be corrected.The BroadcastFilter = ENABLE means that broadcast receive is blocked. This field should be left DISABLED.The hardware defaults are good for typical (UDP, TCP) apps. Especially, receive of broadcasts is enabled. In ethernetif.c of the ST LwIP examples, HAL_ETH_SetMACFilterConfig() is not called, because the default state is OK.The problem could occur with the old versions of HAL drivers, when the network software tampers with multicasts and other advanced filtering and calls HAL_ETH_GetMACFilterConfig - this one could return the BroadcastFilter bit inverted, so calling HAL_ETH_SetMACFilterConfig again with result of HAL_ETH_GetMACFilterConfig could block broadca
Hello,I am looking for an IC to monitor cell voltages of a 12s lipo battery.I found the L99BM114 IC. To get started, I bought the STEVAL-BMS114TX.Currently, I have connected 12 resistors in series to my lab supply with 48v. In between these resistors, I soldered cables and connected them to the Connector 7 (P1). On Connector 5 (CN1) I connected an STM32 Development MCU. With that MCU, I try to communicate via SPI. On Connector 2 (CN3) I connected my MCU: GND to GND, VIO to 3V3 and VDD to 5V. My Problem is that I don't get any sings of life from that board via SPI. The Cellcoltages measured at the PCB are correct. I also tried to pull pin20 (SPIEN) of the IC to VCOM, but this doesn't help. Can you give me a point where I can start? Kind regards and thanks in advance Dennis
Reposting due to last topic vanishing during migration.I have an project running great on a STM32WB05 nucleo platform. I have built my own custom board and everything works great until it starts to advertise and then it reboots.. I have double checked everything on the board and it matches the reference design. I am using the internal SMPS and running on a bench supply currently at 3.3V limited at 300mALooked at a bunch of things but really cant understand the issue. If i stop it advertising (change nothing else) then it starts up perfectly and runs. Other symptoms/infoBoard is drawing 7mA which seems high for idle (no low power mode enabled yet). I had 4 boards made. One worked briefly on the PSU. I then used a coin cell and it starting failing on that. Now doesnt work on PSU.Any sensible ideas welcome especially from anyone who has seen this. In many years of BLE development, i havent
I would like to use the Stop3 low-power mode on an STM32U545RE (NUCLEO-U545RE-Q board) and to wake-up the device by the RTC. I have a working example for Stop2 mode for which I largely used the inspiration from the stm32u5 workshop. But when I replace the HAL_PWREx_EnterSTOP2Mode call(s) with HAL_PWREx_EnterSTOP3Mode, the device does not wake up from the stop mode anymore. At least the current consumption drops down to 3uA so I am confident that the Stop3 mode itself is working.The code parts of my main function which I believe are relevant look as follows:HAL_Init();SystemClock_Config();SystemPower_Config();MX_GPIO_Init();MX_ICACHE_Init();MX_RTC_Init();/* The SMPS regulator supplies the Vcore Power Domains */HAL_PWREx_ConfigSupply(PWR_SMPS_SUPPLY);/* Enable ultra low power mode */HAL_PWREx_EnableUltraLowPowerMode();/* Enable the Autonomous Mode for the RTC Stop0/1/2 */__HAL_RCC_RTCAPB_CLKAM_ENABLE();/* Set RTC wakeup timer for 2s */HAL_RTCEx_SetWakeUpTimer_IT(&hrtc,
Hi,I do have two STM32H563 devices connected together via UART. I would like to use one as a ‘programmer/flasher’ and the other as a ‘target’. On the ‘target’ MCU I would like to use an already in-built bootloader available over USART1. The only problem is the programming/flashing implementation on the ‘programming’ MCU. Is there any example code available somewhere that contains such an implementation? I can see that there is this code publicly available:https://github.com/STMicroelectronics/stm32-mw-openbl...but it only contains implementation of the bootloader protocol for the target device, not the programming/flashing one.I am trying to evaluate the effort needed to make such an implementation to happen. I would like to avoid writing my own bootloader with my own custom protocol (although at the moment this seems like an easier option to be honest).Kind regards
Iam triying to capture data using timer+hpdma cofiguration , but hpdma is not working, not copying data .. but the same configuration with gpdma is working fine.. how to configure hpdma any special configuration regarding RIF.. please give some brief explanation
I need to develop an application for night vision using NUCLEO-N657X0-Q for a customer and I want to connect the right camera to the CN6 connector.I don’t know which camera I should choose. I need support to find the best solution.Thank you
I have a custom board with G491 and an LED driver (Kinetic KTD2037). MCU is the I2C master. Any attempt to read a register using HAL from the KTD2037 fails, ErrorCode = 0x2 (arb lost). Register writes are OK. I can read/write other devices on the same bus OK. The KTD2037 datasheet has this for an I2C register read:This doesn’t seem consistent with HAL_I2C_Mem_Read() or HAL_I2C_Master_Receive(). On a scope HAL_I2C_Mem_Read() results in S, 7-bit addr, write, ack, reg addr, ack, Sr, 7-bit addr, read, ack, 0xFF, nackI try setting the internal register pointer (it may not have one) using HAL_I2C_Master_Transmit(), which works OK. Then I follow it with HAL_I2C_Master_Receive() resulting in S, 7-bit addr, read, ack, 0xFF, nackIt looks like the master says arbitration lost because of unexpected nack from the KtTD037.The KTD2037 datasheet does not mention I2C repeat start.Any way to read this device without writing my own I2C driver?
Hi, I would need FIT or MTTF for M24512-RMN6TP. ThanksBest regardsEnrica
I’m in the process of moving a project from Standalone STM32CubeIDE to the STM32Cude for VSCode extension. I fully expected project and configuration changes, but not changes to the source code.However, if I just change the Toolchain / IDE setting from STMCubeIDE to CMake and regenerate the code I see changes to the Core/Src/syscalls.c and Core/Src/sysmem.c. files.For example, the CMake versions of syscall.c and symem.c seems to be an older version based on Copyright being 2025, while STM32CubeIDE version is 2026 (see below).I also notice I get a very different linker files; different names and content (and again the CMake Copyright date is older).Why is this? Is this a bug, or an indication that the two generators have diverged and the Cmake version is not being kept up-to-date?This potentially negates some of my testing, as it goes against my assumption that moving to VSCode will not change the build ‘because it uses the same code and same toolchain’. This is the diff for syscall
This account only shares restored community content posted by members between May 22 and June 9, 2026, who did not register for the new community.This topic was created on June 8 2026 10:14 PM. @MariaWilliams posted:Hi everyone,I'm designing my first custom PCB around an STM32H7 microcontroller and would appreciate some advice before sending it for fabrication.The board will run at high clock speeds and includes:STM32H7 MCU External QSPI Flash Ethernet PHY TFT display interface Several ADC inputsI've already followed the reference schematic, but I'm unsure about the PCB layout side of things.What are the most common mistakes you have seen in STM32H7 PCB designs?In particular, I'd like to know:How critical is crystal placement and routing? Do all decoupling capacitors need to be on the same side as the MCU? Any recommendations for ground plane partitioning? Are there any Ethernet or QSPI routing pitfalls that beginners often overlook?I'd appreciate any tips, design guides, or examples
Hello powerSTEP01 Experts, we did a re-design of our powerSTEP01 driver PCB. Unfortunately, we created a problem in the new electronic, which causes the powerSTEP01 not working anymore and after weeks of test and research, we can't find the reason for this. So, we hope someone can give any advice to locate problem. The device is behaving like follows: After a power reset, the first drive command causes a current pulse of 3A at 4V von OUTA and the motor stalls. After this, the voltage level on OUTA1 and OUTA2 remains GND. On OUTB1 we have 1V. The STALL_A, STALL_B and OCD bits remain set to 1 (no error) It seems like the powerSTEP01 is trying to move the motor, not knowing that OUTA isn't working. We have several new electronics behaving like this.Did anyone observe this behavior before? What can be the reason for this? Thank's in advance,Stephan
I am using LSM6DSV16X with MLC configured in MEMS Studio v2.3.1. The MLC has an IIR2 high-pass filter on accelerometer XYZ with "store in FIFO" enabled. The UCF was generated by the MLC Tool (internal version 2.4.4 as reported in the output JSON). Expected: IIR filter output values appear in FIFO as tag 0x1B frames, as declared in the mlc_identifiers section of the generated JSON. Observed: Tag 0x1B frames never appear in the FIFO. Firmware drains the FIFO after each 60-sample window and observes exactly 3 MLC words per window — 2x tag 0x1C (features) and 1x tag 0x1A (result). No tag 0x1B words arrive. Verified:- EMB_FUNC_FIFO_EN_B (0x45) = 0x02, MLC_FILTER_FEATURE_FIFO_EN bit is set (confirmed against DS13510 Section 13.18)- mlc.json correctly lists fifo_tag 0x1B identifiers (FILTER_HP_ACC_X/Y/Z) in the metadata- mlc_settings.json has "input": "Acc_XYZ + store in FIFO" for the filter- Firmware FIFO drain handles tag 0x1B explicitly — not dropped in software- No unknown FIFO tag warnin
Hello,I am working on a custom FOC Inverter Board. I am trying to assign the pins for current sensing, but I keep getting warnings. I am using an STM32G431CBT6 MCU, and I completed all the other pin assignments without issue. Here is the Current Sensing information:"Three Shunt AmplifiedCurrents using External Op-Amps"CURRENT_AMPL_U -> Assigned to PB14 ADC1_IN5CURRENT_AMPL_V -> Assigned to PB12 ADC1_IN11CURRENT_AMPL_W -> Assigned to PB11 ADC12_IN14It looks OK in the board designer application with no warnings, but when I try to generate the project in Motor Control Workbench, it gives me the following errors: I cannot find any documentation on the list of warnings/errors. How do I correct this? Or can it be ignored?
The issue feels really simple, and it's easy to do on N6. At the core, I am running out of MPU regions as there are only 8 available. So it would be nice to have a small chunk of SRAM, where privileged code can share data with unprivileged code. Say a status or something like this.GTZC only controls both read and write. So I cannot say that a single 512 byte block is read/write for privileged code, but read only for unprivileged.
I need to connect a USB Type-C connector to the USB OTG interface of the STM32H7B3ZI microcontroller. Is this possible? If so, could you provide the connection diagram, explain which pins need to be connected, and share a reference schematic or wiring diagram for the implementation?
This is a sister thread to this one.Essentially, I can’t get a ping out of either Nucleo-H755ZI-Q or STM32F779I-EVAL, the other thread focuses on the Eval board.I’ve tried many examples but I’m focusing on this one. There are other threads about this example but I think they may have got lost in the migration.I’ve attached the project as it sits on my computer.The STM32 device’s IP address is 192.168.2.180.If I ping it on my PC, I get Request timed out.This is my network configuration.The Nucleo board is connected to a TP-Link Ethernet switch, which my PC is also connected to.Do you have any idea why this is not working?Thank you.
Dear mister/misses, Regarding the latest version of MEMS Studio with AlgoBuilder I have the following question:How can I create a AlgoBuilder firmware target for the NUCLEO-L073RD+X-NUCLEO-IKS02A1 (IIS2DLPC)? How to import this target in the AlgoBuilder.The step I have taken so far:a) Create a CubeMx file for this configuration using the MotionTL library.b) Generate Code (open+build in CubeIDE) and program firmware in MEMS Studio using binary file obtained from CubeIDE.c) Successfully connect to setup in MEMS studio and real-time evaluate Motion Tilt. I have included the used CubeMX file for more information. Kind regards,D.
I have been working with the single core LoRaWAN_End_Node example application on a B-WL5M-SUBG1 board with good success. With STM32CubeMx v6.16.0, WL Firmware 1.4.0, I see a current draw of under 2uA between transmissions.Last week I upgraded STM32CubeMx to v6.17.0 which in turn upgraded the WL Firmware to 1.5.0, changed the end node example to use the LBM library rather than the LmHandler for managing the radio, and changed the example application name to LoRaWAN_End_Node_LBM. The application functionality is good but the power consumption jumped to around 80uA between transmissions.In both cases I configured pullups in the USART2 pins (PA2, PA3).I can alternate between these two versions of the application on the same board and the results are very consistent.Has anyone else seen this and does anyone have any suggestions?
Hello, I am re-posting this.My original post on the old forums seems to have disappeared !?!I have prepared an SFI (with firmware, debug authentication key and option bytes)After SFI I want to boot to address 0x0C000000To achieve this I have programmed Option Bytes:BOOT_UBE = 0xB4 (OEM-iROT)TZEN = 0xB4PRODUCT_STATE = 0x72 (closed)(and some other bytes) After (successful ??) SFI, the Option Bytes are not programmed correctlyIt seems that SFI terminated early. PRODUCT_STATE is 0x17, UBE = 0xC3 Programming log is attached Am I being stupid? Am I missing something…? Note : I cannot attach the programming log because the attach feature does not work anymore. But it’s not really a useful feature anyway right? Who needs it. So I have made a copy-paste instead. 14:18:32 : Requesting Chip Certificate from device ...14:18:32 : Reading chip Certificate finished14:18:32 : Get Certificate done successfully14:18:32 : requesting license for the current STM32 device14:18:32 : Init Communication ... 14
I’ve followed the instructions for the STM32WB55 as a BLE sniffer, but I cannot get the st_ble_sniffer.py script to recognize my device as a BLE sniffer for usage in wireshark. Is this supported at all? Or are slight modifications required to make this work? As far as I can the tell the --extcap-interfaces should list all capable interfaces, but even the output example here does not list any example. The current result is that there is no entry in wireshark to use the STM as a sniffer.I’ve already tried updating the internal device.pid to 14163 instead of 14155 to account for the updated integrated ST-LINKv3
Hi everyone,I’m currently working on a design to integrate an ESP32-C6 with the ST85MM PLC modem, and I’m hitting a few roadblocks regarding the best hardware architecture and communication flow.To be honest, I'm also a bit confused about the specific differences between the ST8500 and the ST85MM. I’ve been reading documentation for both, and while they seem very similar (same package, similar pinouts), I'm not clear if the host interface or boot behavior differs significantly between them.Crucially, I haven't been able to find any firmware examples or reference code for either chip. I feel like I'm flying blind regarding the actual host communication implementation. If anyone has a code snippet, a repository, or a specific application note that shows how to initialize the modem or handle the host exchange, that would be appreciated.My main goal is to use the ESP32-C6 as the host controller to manage the ST85MM, specifically for loading firmware
Greetings,I am working on a Hardware-based password manager. When the device is first setup, A 512-Bit key is created which is used to encrypt & decrypt the passwords. This key will be stored on STSAFE-A's Symmetric Key Table and the password can be encrypted/decrypted using this key on the STSAFE-A.Now, I want to be able to set a user specified password on the STSAFE-A and then this password will be used by STSAFE-A to authenticate before performing any encryption/decryption/etc operations. After a set amount of wrong attempts, STSAFE-A should erase the key.Is this achievable?Regards,Aditya M.
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.