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
Hi,I’m running a LoRaWAN end node on the B-WL5M-SUBG1 (MB1779B), based on the LoRaWAN_End_Node_LBM example from CubeWL 1.6.0. The board is powered from a 3.6 V battery on CN5 (E3V3). SB14 is removed and the STMod+ adapter and debugger are disconnected.In Stop2 I measure about 2 µA on JP2, so the module itself is fine. But on CN5 the whole board still draws around 80 µA.What I’ve done so far: PA3 pull-up and PA15 pull-down (from this thread), all unused pins incl. SWD/UART set to analog, RF switch pins PC3–5 low during sleep, SPI flash in deep power-down, and all four sensors put into power-down over I2C at boot. Opening SB15 made it worse (~600 µA), I guess because the sensors get back-powered through the I2C pull-ups.Is ~80 µA expected for this board on E3V3? Which parts are still powered from 3V3?Thanks!
Hello, I am working on one customized DFU on my controller, the procedure is working now. I can jump to application without touch user button, and the procedure will go to DFU mode when user button is pressed. However, when I am DFU mode, I open stm32 programmer, the programmer has detected DFU mode on USB OTG, but when I try to connect controller, I got the following screen: when I check “reading unprotection”, I got the following screen shot: also I got programmer log and I attached this post aswell. I saw some other posted talked this issue 2 years ago, does this issue fix? I still need slow hub between controller and pc? thanks a lot
Basic SAR ADC is depicted here:From AN2834, How to optimize the ADC ...STM32H750 showed it’s ADC block:Fig 138. from reference manual RM0433I want to know what is inside this block? Why it’s input signal should biased to 1.65+-10% strictly? But It’s sigle ended arrangement which is simply connect the negative pin to gnd have large common mode input from 0 to Vcc?
where can post techinical request about GAN device question
LSM6DSV80X: Measured Accelerometer 3 dB Bandwidth Lower Than ODR/2 — LPF1 Only EnabledHello ST Community,In our new application, we are using the LSM6DSV80X IMU, which has independent low-g (XL) and high-g (HG) accelerometer channels.Our configurationAccelerometer ODR: 960 Hz for both XL and HG. Accelerometer operating mode: High-performance]. Accelerometer filtering: LPF1 enabled, LPF2 disabled. HP_SLOPE_XL_EN = 0 and LPF2_XL_EN = 0 for the XL low-pass path. Frequency-response measurement performed using a controlled vibration input.Observed frequency responseWe measured the following approximate −3 dB bandwidths: Accelerometer channel Datasheet expected BW Measured −3 dB BW High-g (HG) ODR/2 = 480 Hz Around 400 Hz Low-g (XL) ODR/2 = 480 Hz Around 350 Hz The measured frequency response was obtained by comparing the peak-to-peak acceleration output at different input frequencies against the low-frequency reference.Ques
I built up an application using STM32CubeMX and FreeRTOS but left BLE disabled. Now, I want to add that connectivity.I went back into CubeMX and turned on BLE with the HeartRate application. The only thing I changed were ASYNC_PRESALER and SYNC_PRESCALER so that the RTC time keeping would be correct.Now, whenever I allow appe_TI_Init() to execute, I get an IPCC_C1_RX_IT interrupt (VECTACTIVE = 0x3C) as soon as osKernelStart() is called. If I comment out the call to appe_TI_Init(), the rest of the code operates as before. Yes, I know that BLE is not running.What have I missed that causes the interrupt when it is not handled?Thanks
Hi,We are developing a 380W/400W electronic ballast for a Mercury UV lamp (Dymax 36970), based on the circuit topology presented in ST AN2747 – 250W HID Metal Halide Electronic Ballast.Lamp specifications: P/N: 36970 (Brand: DYMAX) Rated power: 380W Lamp voltage: 135V ±15V Lamp current: 3.2A AC input: 230V We would appreciate technical guidance on the following questions: Topology: Is the AN2747 circuit suitable for scaling from 250W to 380–400W for a Mercury UV lamp? Power stage: Which components and design calculations need to be revised, particularly the PFC, MOSFETs/IGBTs, buck inductor, output capacitor, and gate drivers? Control: What changes are required for ignition, warm-up current limiting, and constant-power regulation? Regards.
Hello,This is a fairly obvious bug with CubeMX configuration of the ‘Block Size’ for TouchGFX Hybrid Double Buffering. Normal values are reported as errors but if I change the byte size to <-1, the errors disappear. The parameter description also reflects this wrong OK case. See screenshot for picture of bug being described. CubeMX ScreenshotContext:Recently migrated touchGFX from v4.22.1 to v4.27.0 for this project Using CubeMX v6.18.1 Configuring project for STM32U5 series (specifically STM32U5A9NJHxQ) Let me know if further information is required about my project configuration. Thanks
Hello ST, I have used this project \STM32CubeN6\Projects\STM32N6570-DK\Examples\PWR\PWR_STANDBY_RTC I have modified the project so that it enters stop mode instead of standby. The code that enters stop mode is put in a while(1) loop that looks like thiswhile(1) HAL_SuspendTick(); HAL_PWR_EnterSTOPMode(0, PWR_STOPENTRY_WFI); SystemClock_Config(); HAL_ResumeTick(); Toggle_leds(); // toggles the green led 50 times } All unused Gpios are set as analogue inputs Turned off RTC (wake up by button press instead)put the NOR flash into deep power-down and tears down XSPI2/XSPIM, the IC3 clock divider and LSI. It keeps the flash chip-select held high with a pull-up. Is the measured current higher than expected? How come VDIO is so high? VDDA1V8 can also be reduced i think, but how?The board is powered via CN18.
Hi everyone,We’re currently evaluating the LSM6DSV16X for a multimodal data acquisition application and are using its Machine Learning Core (MLC) to detect specific events and generate corresponding labels in a time-series data stream.To ensure accurate temporal alignment between different data sources, we’d like to understand the latency between the actual occurrence of a physical event and the availability of the corresponding MLC output.Has ST characterized this latency or published any relevant specifications, test results, or documentation? If not, is there a recommended test procedure or validation methodology for measuring it reliably?Any insights or suggestions from the ST team or community members with experience using the MLC would be greatly appreciated.Thanks in advance for your help!
On the STM32U385 the generated MPU_Config() never configures any MPU attributes. Region settings are generated fine, but the attribute call is missing, so MPU_MAIR0 stays at its UNKNOWN reset value.SetupSTM32CubeMX 6.18.1 STM32U385CGTx (eg. using the Nucleo-U385RG-Q), TrustZone disabled (CORTEX_M33_NS)StepsSystem Core → CORTEX_M33 → MPU Control Mode: "Background Region Privileged accesses only + MPU Disabled during hard fault, NMI and FAULTMASK handlers" Region 0: enabled, base 0x08080000, limit 0x080FFFFF, Attributes Number = ATTRIBUTE 0 Attributes Settings tab: Attributes 0 enabled, memory type "Normal non-cacheable" Generate codeExpected: MPU_Config() contains a HAL_MPU_ConfigMemoryAttributes() call for attribute 0.Actual: only HAL_MPU_ConfigRegion() and HAL_MPU_Enable() are generated. I tried every memory type (Device, Normal non-cacheable, Normal cacheable) and none of them generates anything.The .ioc does contain CORTEX_M33_NS.Attributes0-Cortex_Memory_Protection_Unit_Attributes0
Greetings all,This is my first go around with a USB microphone with the AL94 Composite USB library. Currently I have the device enumerating as a USB audio device, which I can select and use via an application such as Sound Recorder on Windows. Additionally, the SOF interrupt is firing, the USB link is active, the descriptors are accepted, and the endpoint is armed. However, no data is ever transmitted, despite data being fed into the USBD_AUDIO_MIC_Data_Transfer function. I am not entirely sure what else to do here, any guidance would be appreciated.Thanks!Edit #1 10:29:2026 7:31 AM - Added link to repository being used:https://github.com/alambe94/I-CUBE-USBD-Composite /* AUDIO Class Config */#define AUDIO_MIC_CHANNELS 0x01#define AUDIO_MIC_SMPL_FREQ 16000U#define USBD_AUDIO_MIC_CONFIG_DESC_SIZE (116 + AUDIO_MIC_CHANNELS)#define AUDIO_MIC_VOL_MIN 0xDBE0#define AUDIO_MIC_VOL_RE
Hello,I have a question regarding a ballast and would appreciate some input from an ST engineer.How can I convert a 250W HID metal halide electronic ballast into a 400W HID metal halide electronic ballast? Also, could I use it to operate a 400W mercury UV lamp?
I have a hardware where i need to measure the input signal of the AC mains signal 50Hz, the problem is the hardware does not have provision for input capture. Is it possible to measure? I also several other tasks running like RS485, 13 channels ADC measurement etc, the input signal is given to ADC channel.
I believe I’ve encountered an Issue with the current version of the STM32 HAL2 and wanted to raise an issue, but I’m not sure where best to raise the issue.The one of the new features in the new HAL2 hash is that HAL_HASH_Update can handle input sizes that don’t perfectly line up with the block size, using HASH_SaveRemainingBytes to save any excess bytes at the end of a call and then calling HASH_AppendLastIncompleteWord at the next call to write those excess bytes to peripheral along with using some bytes from the new buffer to bulk it up to 4. This means that I can write something like: (where the buffer is 163 bytes long)HAL_HASH_Update(&hhash, &u8InputBuffer[0], 10,0xFFFF);HAL_HASH_Update(&hhash, &u8InputBuffer[10], 10,0xFFFF);HAL_HASH_Update(&hhash, &u8InputBuffer[20], 1,0xFFFF);HAL_HASH_Update(&hhash, &u8InputBuffer[21], 62,0xFFFF);HAL_HASH_Update(&hhash, &u8InputBuffer[83], 7,0xFFFF);HAL_HASH_Update(&hhash, &u8InputBuffer[90], 73,0
Hello STMicroelectronics Community,I am working with an STM32MP257DAI3 processor running OpenSTLinux with Linux kernel 6.6.11.I am trying to configure an LT8912B MIPI-DSI to HDMI bridge instead of the ADV7535.and My openstlinux version version openstlinux-6.6-yocto-scarthgap-mpu-v26.I referred to the Linux Device Tree binding documentation:"Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml"I have configured the HDMI connector, MIPI-DSI interface, and LT8912B bridge in my device tree. However, after booting the board with the `st-image-weston` image, the '/sys/class/drm/' directory is empty. 1. Device Tree Configuration HDMI Connector Nodehdmi: connector { compatible = "hdmi-connector"; label = "hdmi"; type = "a"; port { hdmi_connector_in: endpoint { remote-endpoint = <&lt8912_out>; }; };}; MIPI-DSI Node &dsi { vdd-supply = <&scmi_vddcore>; vdda18-supply = <&scmi_v1v8>; status = "
I was trying to configure ethernet on my android phone via using usb cdc ncm on stm32 nucleo U5A5 and i was unable to see the ethernet option in the network settings of the phone.It was completely greyed out. I tried the same on ios and i was able to connect via ethernet. What am i supposed to do to resolve this ?im using ncm of tiny usb for this connectivity.
Not using calibration rotinesADC output not using calibration routines (ADC pins are differential and are shorted)VS using them:MX_GPIO_Init();MX_DMA_Init();MX_ADC1_Init();MX_ADC2_Init();MX_TIM15_Init();MX_TIM6_Init();/* USER CODE BEGIN 2 */// 1. Initialize Profiler hardwareprofiler_init();profiler_reset(&g_isr_profiler);setupRecorder();// HAL_ADCEx_LinearCalibration_FactorLoad(&hadc1);// HAL_ADCEx_LinearCalibration_FactorLoad(&hadc2);if (HAL_ADCEx_Calibration_Start(&hadc1, ADC_CALIB_OFFSET_LINEARITY, ADC_DIFFERENTIAL_ENDED) != HAL_OK)Error_Handler();if (HAL_ADCEx_Calibration_Start(&hadc2, ADC_CALIB_OFFSET_LINEARITY, ADC_DIFFERENTIAL_ENDED) != HAL_OK)Error_Handler();ADC output with adc calibration (pins are shorted in differential mode)As you can see the HAL library calibration made it worth instead of healing it.Then what is the right solution to calibrate? What is the problem here? I’ve used linear and offset only both introduced jumping on the short circuited sig
Hello I’m planning to try using the ToF sensor (VL53L5CX) on the B-CAMS-IMX (MB1854B) with OpenSTLinux on the STM32MP257F.Looking at the kernelconfig,> Device Drivers > Industrial I/O support > Proximity and distance sensorslists “STMicroelectronics VL53L0X ToF ranger sensor (I2C)”; can I use the VL53L5CX with this driver? Or would it be better to use this driver instead?Linux driver for VL53L5CX multi-zone sensor For now, before I set up a device driver,I’m planning to try accessing it via the I2C driver using Ultra Lite Driver (ULD) for VL53L5CX multi-zone sensor Best Regards,--okn
From what i've seen the Rust programming language is becoming more and more popular and since it does not rely on a virtual machine, like java or python, it could be a good option for embedded development and other low-level programs. I know that there are ways to get Rust on STM32 MCUs running, but without official support its really hard to start a series project using those tools. At this point i see it as something fun to try out and benchmark and compare with a traditional C program + FreeRTOS.Does anyone know if there are any official plans from ST to have a Rust wrapper on the existing C HAL or a complete ground-up Rust HAL? Maybe support in CubeIDE for both C and Rust?
Dear STM32 Team,In large-scale embedded projects that span multiple hardware platforms and coexist with multiple application firmware instances, the current STM32CubeMX workflow creates a full independent copy of HAL/LL libraries for every single project workspace. This redundant duplication makes it extremely difficult to maintain a unified, shared library baseline across the entire codebase.At present, I have to manually copy the auto-generated src/ and inc/ files from CubeMX output into our standardized fixed project directory structure. This manual workaround completely breaks the native iterative maintenance flow: every subsequent re-generation of code via CubeMX requires tedious manual file migration, which introduces high risk of configuration mismatch and human error.It would be a highly valuable feature if STM32CubeMX could add a dedicated configuration panel to let users fully define the custom directory hierarchy for all generated source files, header files, and library comp
Hello, I mistakenly programmed the HSM enable record into the host core DCF area at address 0x29F81A10. Could this introduce any risk of incorrect configuration? I found that I can overwrite the incorrect DCF record by programming all 0xFF. However, I am concerned that the programmed 0xFF may differ from the 0xFF of an unprogrammed blank device. Could you advise whether this operation is valid?
I have built up a project using FreeRTOS and STM32_WPAN on an STM32WB55M. It also implements the VBAT for the RTC and uses the EXTI0 and EXTI1 interrupts.The problem I’m having is that as soon as MX_GPIO_Init() completes an interrupt is generated, but the supporting FreeRTOS queues have not yet been defined and the program just hangs.My presumption was that on a reset (restart in the debugger) interrupts were disabled, but what I’m seeing doesn’t support this.What have I missed?
STM32WB55 - dongleI’m trying to send I2C data over BLE. The dongle board only has I2C1 exposed but whenever I try to use I2C1 I get a BLE time out error. If I change to I2C3, which is not connected to anything, I get no time out error & get a whole load of 0’s as expected. Also when I send dummy data with no I2C at all the BLE works as expected.I looked at what I thought were similar problems on here but so far the proposed solutions haven’t had any effect in the behaviour.Additional info, this code worked fine on the P-NUCLEO-WB55 board. I2C_HandleTypeDef hi2c1; I2C_HandleTypeDef hi2c3; // Timeouts when I use hi2c1 as below but send expected 0's when using hi2c3 /* ADT7410 set up */ /* temp_0 at 0x48 * temp_1 at 0x49 */ temp_0.adti2c = &hi2c1; // I2C Handler ADT7410_Init(&temp_0, 0x48); // I2C address depends of A0 and A1 pins ADT7410_Reset(&temp_0); // Optional ADT7410_SetResolution(&temp_0, ADT7410_16BITS); // Put the device in 1
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.