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 was making a demo project so needed a really straightforward way to use the ADC of my STM32F446RE.I configured the ADC1 with only channel. Default parameter everywhere except I enabled ‘Continuous Conversion Mode’ as I understood it, all I had to do with it was to start the ADC (HAL_ADC_Start(&hadc1)) and pick the values every time my loop needed it. I was surprised to notice that ‘HAL_ADC_PollForConversion(&hadc1, 100)’ worked only the first call then always yield HAL_TIMEOUT as I was expecting the ‘Continuous Conversion’ mode to allow me to not call HAL_ADC_Start and stop every time.After finding the linked post, I found the solution was to change the ADC setting from hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV Into hadc1.Init.EOCSelection = DISABLE The thing is this option is not available in STM32CubeMX (V6.17.0) so I have to pick either ADC_EOC_SINGLE_CONV or ADC_EOC_SEQ_CONV.I have the behavior I wanted but I wonder if this can be improved in STM32CUBEMX or is the
HI, It appears that the LSM6DSO32X has a higher shock/acceleration rating when compared to the automotive rated ASM330 IMU modules. 20’000g rating for the LSM6DSO32X and a 3’000g rating for the ASM330 modules. Am I reading that right? The automotive modules have a lower shock rating than the consumer module? thanks
We are considering using IIS2ICLX for product development.I would like to know the following specifications for this product. ① “stability” of “bias” with respect to a fixed calibration value over a period of one year② “stability” of “scale factor” with respect to a fixed calibration value over a period of one year
Regarding the behavior of temperature drift of the IIS2ICLX, I would like to ask for your guidance.- When the temperature increases, how does the zero-point temperature drift behave?- Does the amount of zero-point drift change depending on the rate of temperature increase?For example, after heating rapidly to 80°C and then allowing the temperature to stabilize sufficiently, compared with slowly heating to 80°C and allowing the temperature to stabilize sufficiently.
Hello,I am currently working with the IIS2ICLX MEMS inclinometer sensor, and I am unable to find the noise spectral density curve as a function of frequency.Would it be possible for you to provide it, in particular for the low-frequency range (0.1 Hz, 1 Hz, 10 Hz, etc.)?Thank you very much in advance for your help.Best regards,
STM32F411RET6 Can't boot, a floating GPIO during startup.I am designing aى energy meter. It has a "Capacitive power supply" so it is very limited power (16mA @ 16V), rise time for the voltage rail is in ms.The meter has Latching relay. We are driving this latch through GPIO & npn as shown in the schematics pic. My bad design, I didn't put a pull-down resistors in the latch control lines.During startup the latch control (MCU_L_ON & MCU_L_OFF) are float, till the FW boots and set the GPIO to 0.Out of 50 produced & flashed: 40 pcs success in booting. 10 didn't success. The failed ones has consistent behavior of having voltage of 0.6v on MCU_L_OFF which makes the npn turns ~ on and draws current, so the voltage in the power supply won't increase as it should. Vcc (3v3) voltage stays around 2.2v. it has small oscillations but never fall below 2v. If latch control disconnected, no issue occur.latch control Capacitive power supply stm mcuWe don't have brown out enabled. Only the
Hello Gyessine, We tested the board in chamber, it seems that it can only work @105℃, even we decrease the CPU clock to 40MHz, if CPU clock is 200MHz, it only can work @95℃. We are using seperate LDO for 1.2V Core, you can check the circuit below.
Hi,I'm currently encountering an issue with USB CDC on the STM32F466: the device is not being recognized as a USB CDC device.I'm using the USB_OTG_FS peripheral, with the USB_DEVICE middleware configured as CDC. However, in the Parameter Settings for USB_OTG_FS, I don't see an option for Internal PHY.I then tried using USB_OTG_HS with Internal FS PHY instead, and in that configuration, the Internal PHY option is available in the parameter settings.So I'd like to confirm the following:Is the Internal PHY option only available when using Internal FS PHY (i.e., only through USB_OTG_HS configured for FS mode), and not available for USB_OTG_FS directly?If I need to use CDC with USB_OTG_FS, do I need to add external pull-up resistors (since there's no internal PHY option to handle this automatically)?Thanks in advance for your help.
Hello,I’m using an Karo SOM module (MP257) on a custom board with SFP module.The SFP module is powered with the main 3.3V regulator. It has a TX_DISABLE input (0=ON, 1=OFF). This input :Is TTL Has an internal pull-up R (around 10k) Has an external pull-down R (10k) In connected to PE2This makes a voltage divider : without driving the TX_DISABLE line, the voltage is something like 3.3V / 2 (1.8V to be precise)Some simple tests to confirm that :SFP module unplugged => voltage is driven only by the pull down R => 0V A source meter on the TX_DISABLE confirms the presence and value of the internal RPU. Now let’s play with the MP2. Is this processor able to blink a led ? Don’t laugh, nothing could be further from the truth. After linux boot : gpioinfo shows PE2 is input. It should logically be driven by the driver, but for an obscure reason, this is not the case. At least we can do things manually… Set it to 0 ?gpioset -b disabled -d push-pull PE2=0=> Voltage is still 1.8V Ok, bad.
Hello,I am integrating the VD5943 image sensor with a Lattice FPGA acting as a MIPI CSI-2 receiver.I have reviewed both the VD5943 Datasheet (DS14968) and the Reference Manual (RM0532), but I could not find any information about the operating mode of the MIPI CSI-2 clock lane.Could someone from ST please clarify the following?Does the VD5943 transmit the MIPI CSI-2 clock in Continuous Clock mode or Non-Continuous Clock mode? If this behavior is configurable, which register controls it? If it is fixed, which mode is implemented by default?This information is important to ensure compatibility with our FPGA CSI-2 receiver and downstream processing.Thank you for your support.
Hi,I am trying to perform injected conversion of two channels in ADC1 (STM32G431x), and I wish to trigger them in discontinuous mode. The ScanConvMode is enabled and the discontinuous mode for injected measurement is also set (injectedDiscontinuousConvMode = ENABLE). However, the conversion still happens continuously. I had to hard set the bit (SET_BIT(ADC1->CFGR, ADC_CFGR_JDISCEN)) to make it work in discontinuous mode.Any help here will be appreciated! Thanks.
This is more of a suggestion, really... but I would love to see CubeMX (along with other standalone programs) fully integrated as a VS Code extension. For instance, the development environment for the nRF54 series allows you to handle everything from pin mapping to clock configuration directly within VS Code.In contrast, CubeMX requires installing far too many components, and compatibility issues are a major problem. I really don't understand why every tool has to be created separately and installed natively. I am certain that a setup involving just a single SDK installation and a VS Code extension would be far more convenient for users. Furthermore, this approach offers significant advantages for remote development; traditional native development environments require extensive configuration—such as X11 forwarding or RDP—just to access the GUI. However, if everything could be handled via an extension, the user would simply need to connect to the server via SSH in VS Code and install th
Hi ST team,I am working with an STM32MP257 where Linux runs on the Cortex-A35 and a FreeRTOS application runs on the Cortex-M33. The M33 firmware is loaded and started by Linux using remoteproc.The application is running correctly, but I would like to understand the recommended workflow for debugging the M33 application.I have read the "Debug support" section of RM0457 and understand that the M33 can be accessed through the shared SWD/JTAG interface by selecting the appropriate Access Port. However, I'm still not clear on the recommended debug workflow when the M33 is managed by remoteproc.My questions are:Can STM32CubeIDE/ST-LINK attach to an already running M33 started by remoteproc, or should the M33 be stopped first? If Linux has already loaded the firmware, should the debugger load only the ELF symbols instead of downloading the application again? Is there any special OpenOCD/ST-LINK or CubeIDE configuration required for this use case? Is there an ST application note or example de
I want to make analytical loss model of SCT50N120 device so for that I need Eon and Eoff vs Rg(ext) variation plot. where to find it?Sorry for the wrong description name .
Hi,I am currently working to simulate my linear motor and its control algorithm (FOC) on Simulink for PIL and HIL with the STM32 Microcontroller Blockset.I am using the STM32C562, but the C5 series is not supported in the Matlab Blockset.Is the C5 series going to be supported on Matlab in the future? (If yes, would you have an estimated release?)In the meantime, can I use the H5 module for at least the shared functions between C5 and H5?
Hello,In the reference schematic of the STM32MP157F-DK2, the HSE clock is generated using the NDK NZ2016SH 24 MHz END4869F oscillator. However, this part is not readily available, and we are therefore looking for a suitable alternative.Could you please confirm whether the Abracon’s part ASE-24.000MHZ-LR-T can be used as a replacement to provide the HSE clock for the STM32MP157FAC1 device ? If this part is not recommended, kindly suggest a suitable alternative that is compatible with the STM32MP157FAC1.Regards
Hello,We are designing a custom board using the STM32MP157FAC1 device. In our design, we are not using the DSI interface or the ADC peripheral.We would like your guidance on the recommended handling of the corresponding unused pins.(1.) DSI Interface:Since the DSI interface is not used, how should the following differential signals be terminated ?(a.) DSI_CKP / DSI_CKN(b.) DSI_D0P / DSI_D0N(c.) DSI_D1P / DSI_D1N(2.) Analog Inputs:As the ADC is not being used, what is the recommended way to connect or terminate the ANA0 and ANA1 pins ?Could you please advise the recommended hardware implementation for these unused pins?Regards,
Hello teams,I tried to use STM32N6570-DK DCMIPP Pipe0 to read data from my camera that has own ISP. The camera output format is UYVY (YUV422 BPP16). The issue is that I can't get any data from DCMIPP and CSI-2 Host, I only received SOF and EOF events from CSI-2 Host. I've referred to other people's posts, but my issue still exists. Is my DCMIPP and CSI configuration wrong?Additionally, I'm not sure if the CSI and DCMIPP clock is set correctly, I just follow the example. If my camera out is 640x480@60fps and format is UYVY, how should I configure this clock?My settings are as follows.static void MX_DCMIPP_Init(void) { /* USER CODE BEGIN DCMIPP_Init 0 */ /* USER CODE END DCMIPP_Init 0 */ DCMIPP_CSI_PIPE_ConfTypeDef pCSI_PipeConfig = { 0 }; DCMIPP_CSI_ConfTypeDef pCSI_Config = { 0 }; DCMIPP_PipeConfTypeDef pPipeConfig = { 0 }; /* USER CODE BEGIN DCMIPP_Init 1 */ /* USER CODE END DCMIPP_Init 1 */ hdcmipp.Instance = DCMIPP; if (HAL_DCMIPP_Init(&am
On STM32U375KGU6 pull up on D+ does not work when calling function HAL_PCD_Start, USB hardware works because if I start chip with BOOT0 pin to “VDD” it boots in DFU bootloader. What did I miss?
hi, I created a project by the MCSDK, i tried running it as a C++ project, but im getting an error compilation that i cant solve: ../../MCSDK_v6.4.2-Full/MotorControl/MCSDK/MCLib/Any/Inc/revup_ctrl.h: In function 'void RUC_Stop(RevUpCtrl_Handle_t*)': ../../Inc/mc_type.h:77:32: error: invalid conversion from 'void*' to 'RevUpCtrl_PhaseParams_t*' [-fpermissive] 77 | #define MC_NULL (void *)(0x0) | ^ | | | void* it seems that there is a wrong casting issue. I tried to solve it in some fifferent wauys like: pHandle->pCurrentPhaseParams = (RevUpCtrl_PhaseParams_t*)(malloc(MC_NULL)); or pHandle->pCurrentPhaseParams = static_cast<RevUpCtrl_PhaseParams_t *>malloc(sizeof(MC_NULL)); but its not solving the issue. but when i tried to delete this line it keeps having the same error !!!!!! what could be the problem
Hello! We are using the STM32G431RBT6 microcontroller and designing our own BLDC motor driver. Everything was fine until a week ago, but recently we have been encountering a "Bad CRC Header" error. We have checked our Motor Control Workbench and Motor Pilot software; no changes have been made to either the software or the hardware. After Motor Pilot reports this error, the connection drops, then re-establishes, and the motor driver resets.Thanks in advance.
Hello,We are using STM32 Motor Profiler to identify the parameters of an IPMSM motor, but the profiling process always stops at approximately 7% and reports a “Driver Protection” fault.Hardware configuration: - MCU board: NUCLEO-F446RE - Motor-control expansion board: X-NUCLEO-IHM09M2 - Power board: STEVAL-IPMM15B -Motor type: IPMSM Thank you.
Hi Team,We are looking for detailed thermal information for the STD47N10F7AG MOSFET. I am new to power MOSFET thermal analysis and would appreciate your support.Could you please share the junction-to-ambient thermal resistance (θJA) value or any relevant thermal characterization data required for thermal calculations?From the datasheet, I could find:RθJC (Junction-to-Case) = 2.5 °C/W [st.com] RθJ-PCB (Junction-to-PCB) = 50 °C/W (mounted on a 1 in² FR-4, 2 oz copper board) [st.com]However, I could not locate the θJA specification and would like to use it for thermal analysis.Thank you for your support.Thanks & Regards,Surya
I’m trying generate code via MC Workbench for custom a board.I am getting a create failure notification for current sensing assignment.Could this be due to dual ICS sensing or ADC channel mismatch? In the MC Workbench, the current sensing has a red x at the heading and the notification of “Two ICS (isolated current sensing) Currents”I’m doing PWM generation by using TIM1 from STM32H563 for general purpose driver.Let me know and thank you.
Dear STMicroelectronics Support Team,I am writing to request technical clarification regarding the wake-up configuration of the L99DZ300G's EI1 pin. We are currently debugging an issue related to sleep mode and false wake-ups in our system.[Background]An external controller inputs a 50Hz (20ms period) PWM signal to the EI1 pin for Crash Unlock detection. The signal operates as follows: Steady State: High 16ms (80%) / Low 4ms (20%) Crash State: High 4ms (20%) / Low 16ms (80%) [Current S/W Configuration]The EI1 pin is configured to Cyclic Mode using Timer 2: EI1_FILT[1:0] = 0x01 (Cyclic mode with Timer 2) Timer 2 Period = 20ms (T2) Timer ON Time = 0.1ms (ton1) [Our Analysis & Concerns]Based on the datasheet, our understanding is that the "blanking time 80% of timer ON time" applies to the 0.1ms ton (i.e., 80µs), followed by a brief 16µs sampling window ($t_{WU\_cyc}$).Since the monitoring period (20ms) matches the input PWM period (20ms), we suspect an aliasing/phase lock issue
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.