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
Hello,how may I change font size for Live Expressions view?None of the options in General | Appearance | Colors and Fonts has effect. Alessandro
After a few bytes have been transmitted, the TXTF flag becomes '1', even though CTSIZE has not yet returned to 0. For now, I’ve implemented a temporary fix by setting the TXPIE flag to '1' each time TXTF becomes '1'. It is worth noting that the first transmission of 70,000 bytes runs normally, but from the second transmission onwards, this error occurs. I am following the instructions in sections 50.4.9, 50.4.10, 50.4.11, and 50.4.12. I am using an STM32H743IIT6 chip.Document page 2227 of STM32H742, STM32H743/753 and STM32H750 Value line advanced Arm®-based 32-bit MCUs - Reference manualTXTF: transmission transfer filled 0: upload of TxFIFO is on-going or not started 1: TxFIFO upload is finished TXTF is set by hardware as soon as all of the data packets in a transfer have been submitted for transmission by application software or DMA, that is when TSIZE number of data have been pushed into the TxFIFO. This bit is cleared by software write 1 to TXTFC bit at SPI_IFCR TXTF flag triggers a
Hello Team,We are using STM32N657 in our custom board design. We are operating MCU with 1.8V voltage level.We are facing some challenges regarding drive strength issue. We have set “Very High Speed” in GPIOx_OSPEEDR register but not able to meet multiple peripherals rise time and fall time requirement. We are defining below resisters.GPIOx_MODER : Alternate function mode GPIOx_OTYPER : Output push-pull (reset state) GPIOx_OSPEEDR : Very high speed GPIOx_PUPDR : No pull-up, pull-down (00) & Pull-up (01) (Both values we have tried)It would be helpful if you could guide us in resolving this issue and let us know if we have missed any register configuration or if any register values have been configured incorrectly.Your quick response is much appriciated.Thanks.
Here’s the situation. The system is built on the STM32WB5MM with basic code written using FreeRTOS. All works well, so now I add the BLE HeartRate application. If I prevent my code from running using a while (1) [ osDelay(10); } loop, the STM BLE Toolbox on my Android phone works fine displaying data. However, if I allow my code to run, the Toolbox connects, but no data is displayed. Pursuing this in my code, I determined that the wake-up interrupts were not occurring as they should.By moving where I stop my code, I have narrowed it down to the following sequence:HAL_PWR_EnableBkUpAccess();HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR19, Value);HAL_PWR_DisableBkUpAccess();If I simply comment out the last line allowing backup access to remain on. It also works. However, that leaves the backup registers vulnerable. (Note: I use this sequence frequently to protect data that must be retained through a power cycle. VBAT is provided by a coin cell. So, a general solution is preferable.)This is t
Hi, I am using stm32h743vih6 in my project and it works fine. But now I want to reduce the power consumption. I have separated VDD and VDDLDO pins on my pcb and was surprised when it had no effect.I checked ten or more samples from different sellers and all of them have VDDLDO short to VDD. This pins were tested: I know that datasheet is stated that if VDDLDO pin exists then it should work independently from VDD. So now I want to identify that chipsPhotos and UID of one of them: Is it OK or not?
Hello everyone,I am working on a motor control project and want to verify if my hardware combination is ideal, and get advice on tuning the parameters.My Hardware Setup:Microcontroller Board: NUCLEO-F411RE Driver Expansion Board: X-NUCLEO-IHM07M1 Motor: A2212-13T 1000KV BLDC My Software Environment:Toolchain: STM32CubeIDE Current Status & Questions:Has anyone successfully spun a 1000KV motor using the X-NUCLEO-IHM07M1? What is the recommended jumper configuration on the IHM07M1 board for this specific setup? Any advice, Motor Control configurations, or past experiences with this hardware combination would be greatly appreciated!Thanks in advance.
Hello everyone,I am trying to understand how the ADC regular trigger source "TIM1 Capture Compare 1 Event" works on STM32F401.My configuration is:ADC Regular Conversion:- External Trigger Conversion Source = TIM1 Capture Compare 1 Event- External Trigger Conversion Edge = Rising Edge- Continuous Conversion Mode = DisabledTIM1:- Counter Mode = Center Aligned Mode 2- ARR = 2099- CCR1 = 2000- Channel 1 configured in Output Compare mode (TIM_OCMODE_TIMING)I verified that the compare match occurs correctly. The TIM1 CC1 callback/interrupt is triggered, which confirms that CNT reaches CCR1 and the CC1 event is generated.However, the ADC regular conversion never starts and HAL_ADC_ConvCpltCallback() is never called.Interestingly, if I configure the ADC Injected Group and trigger it using TIM1 TRGO (Compare Pulse), the conversion works correctly.This makes me wonder what exactly "TIM1_CC1" means from the ADC trigger perspective.My questions are:1. Does ADC regular trigger source TIM1_CC1 corre
Hello,I'm trying to understand the UART availability on the STM32L4P5RE in the LQFP64 package.In the datasheet, Table 2 contains the note:"For 48-pin and 64-pin packages only 1x UART is available."I am not sure which UART this note refers to.Looking at Table 15 (pin assignment), I can see:Pin 12: PA2 = USART2_TX Pin 13: PA3 = USART2_RXand also:Pin 42: PA9 = USART1_TX Pin 43: PA10 = USART1_RXThis seems to indicate that both USART1 and USART2 pins are available on the package.My questions are:Which UART is referred to by the "1x UART available" note in Table 2? Are both USART1 and USART2 functional on the STM32L4P5RE LQFP64 package? If only one UART is available, which instance is actually implemented? Is the note referring to a peripheral named UART4/UART5, while USART1 and USART2 remain available?I would appreciate any clarification on how this note should be interpreted.Thank you.
Hi everyone,I'm planning to place my first order from STMicroelectronics for the NUCLEO-N657X0-Q and STLINK-V3SET, with shipping to the USA.The checkout total is $130.63, including shipping and estimated tax. However, there's a notice stating that additional tariffs or import duties may apply.Has anyone recently ordered from the ST eStore in the US? Were you charged any additional tariffs or customs fees after checkout? I'm trying to understand the final cost before placing my order.I've attached a screenshot of my cart for reference.Thanks in advance for any help!
Hi, I'm trying to get USART2 on my G070RB operational. When connected in loopback it doesnt recieve the sent message. When connected to computer Putty terminal doesnt recieve anything from board and vice versa. Both fuctions for rx and tx return HAL_OK.
On STM32F7 OTG_HS with an external ULPI PHY, is there a supported way for firmware to issue an ULPI Extended Register Read/Write transaction?The required ULPI sequences are:Extended read: TX CMD 0xEF extended address byte read returned dataExtended write: TX CMD 0xAF extended address byte data byteThe undocumented PHYCR viewport at USB_OTG_HS + 0x34 used by STM32CubeF7 only appears to support ordinary single register accesses. Can PHYCR issue an extended ULPI transaction?Thanks,Alex
After I configure EP1 to the double‑buffered mode, debugging reveals an issue inside stm32g4xx_hal_pcd.c. At line 1761, the endpoint register value is read. After executing PCD_CLEAR_TX_EP_CTR(hpcd->Instance, epindex); to clear the interrupt flag, the actual register content has already been updated. However at line‑1906, (void)HAL_PCD_EP_DB_Transmit(hpcd, ep, wEPVal); still receives the register value captured before interrupt‑flag clearing. This triggers incorrect conditional judgements inside the HAL_PCD_EP_DB_Transmit() function.Probable root‑cause: When transmitting data for the first time under double‑buffered setup, USB_EPStartXfer populates both buffers by default. After Buffer‑0 finishes transmission and triggers an interrupt, the program reads register data at line‑1761 of stm32g4xx_hal_pcd.c. Right after this read operation, Buffer‑1 also completes its transmission and updates the endpoint register. Since HAL_PCD_EP_DB_Transmit uses the stale register value obtained earli
STM32CubeMX2 Unable to Add CMSIS-DSP Properly? Manual Integration Using CMake and Project Structure OptimizationI. Background of the IssueI recently used the STM32C542RCT6 development board to conduct trigonometric function performance tests. The development environment is as follows:Project Version or Configuration MCU STM32C542RCT6 Development Environment VS Code Project Generation Tool STM32CubeMX2 1.1.1 Build System CMake CMSIS 6.3.0 CMSIS-DSP 1.17.1 Toolchain GCC The goal of this test is to compare the computational performance of the STM32C5 hardware CORDIC, CMSIS-DSP, and the standard math library’s `sinf()` function.The CMSIS and CMSIS-DSP packages were installed in the CubeMX2 Pack Manager, but a problem arose when generating the project: while the CMSIS Core integrated successfully, the CMSIS-DSP was not generated in the project directory as expected.Even after manually modifying the .ioc2 project configuration to include the CMSIS-DSP compone
Is there a STM32N6 throughput test on the USB 2-480Mb happened. I'm just curious because i'm getting a throughput on my design of * 97 Mb Just wondering what is a idealistic throughput to see if i need to edit something on my end or this is a expected throughput to get.
Is it possible to measure power consumption using software such as CubeMonitor-power with the NUCLEO-U031R8?I know there are ways to measure JP5 using a tester, but I'd like to measure it using software. Is this possible?
Dear STMicroelectronics Technical Support Team,We are developing a hardware design using the STM32U585RIT3Q microcontroller and would like to request a schematic review.We request your technical assistance in reviewing the following areas:MCU power supply, decoupling capacitors, and grounding. VDDA, VSSA, VBAT, and internal SMPS connections. ADC input circuitry and input protection. SPI interface connections to the TXE8124 GPIO expander and external Flash memory. UART, SWD programming/debugging, reset, and boot configuration. GPIO assignments and alternate-function configurations.I would like to identify a suitable 16 MHz SiTime oscillator for the STM32U585RIT3Q as an alternative to the conventional crystal, NX2016SA-16MHZ-EXS00A-CS07826, due to potential reliability risks under high mechanical stress.The selected SiT1602BI-23-33E-16.000000E SiTime device should match the conventional crystal’s key electrical specifications and be compatible with the STM32U585RIT3Q. Please provide a su
Hello Community,I would like to report another significant logic bug in the generated firmware libraries for the Vienna Rectifier project (specifically located in the Digital Power Control stack file BSP/DPC_FW_PACK/src/DPC_Loopctrl.c).The Issue:Inside the function DPC_LCT_FeedForwardCtrl(..), the firmware is supposed to evaluate whether the AC Voltage Feed-Forward task is enabled before adding the d-axis and q-axis AC feed-forward grid terms (fVd_feed_sub and fVq_feed_sub) to the current loop outputs.However, the original ST framework code erroneously checks the DC voltage feed-forward enable flag instead of the AC one.The Code Snippet:cvoid DPC_LCT_FeedForwardCtrl(DPC_LCT_CDC_t *pCDC_sub, float *pVd_ctrl_FF_sub, float *pVq_ctrl_FF_sub){ float fVd_feed_sub = pCDC_sub->fVdFeed; float fVq_feed_sub = pCDC_sub->fVqFeed; float fVd_ctrl_sub = pCDC_sub->fVdCurrentCtrl; float fVq_ctrl_sub = pCDC_sub->fVqCurrentCtrl; /* AC feedforward task */ // BUG: Checks bVDC_FF_Enable
Hi there,I’m using STM32L052 for PWM generation with TIM2.TIM2->CR1 is initialized once at start of the program and never touched again during runtime:TIM2->CR1 = 0x00000081;Even though, in some random cases TIM2->CR1 switches back to 0. How can that happen? How can TIM2->CR1 accidentally switch back to 0? Is there a known issue? I really don’t know how to debug such an error. TIM2->CR1 is the only register that changes randomly.Thanks in advance for your help!
Hello the community ! I would like make sound detection default with the B-U585I-IOT02A I had use the nanoEdgeAI studio, create my project, with microphone (picture 1) I had create the data logger Analog 1 axis (picture 2) And i have this curves, is this normal ? with or without sound i have the same curves. (picture 3) thanks.
Hello everyone,I am facing an issue with my STM32F401CCUx board. When I try to connect it in DFU mode, Windows fails to recognize it and shows this error in the Device Manager:"Périphérique USB inconnu (échec de demande de descripteur de périphérique)"What I checked so far:- BOOT0 is connected to 3.3V correctly.- Tried resetting the board via the NRST button.- Checked the USB cable.Does anyone know what causes this issue or how to fix it? Thank you in advance!
i am using stm32F107 ,H563,F100RC ,in our application we using GPIO for relay operating with Opto couplers(pc817). when we program to fresh cpu , relay is getting on and same i re program the cpu same, repeating, may i now state behavior of GPIO .
HelloWe are currently using the ASM330LHH in our product and conducting ATP (Acceptance Test Procedure). During the thermal cycling/temperature test phase of the ATP, we have observed significant fluctuations and instability in the sensor outputs.To resolve this issue, we are considering migrating to the ASM330LHHXG1.While we have already reviewed the standard datasheets for both parts, we would like to request additional engineering insights or internal test data regarding their temperature stability. Specifically, we would appreciate your guidance on the following:Does the ASM330LHHXG1 feature any hardware, packaging, or calibration improvements that provide better thermal stability or lower thermal drift compared to the standard ASM330LHH? Have there been any reported cases or internal ST data showing that the ASM330LHHXG1 delivers more stable and repeatable results under stressful temperature environments like ATP? Beyond the datasheet specifications, are there any specific PCB lay
I am working on a secure bootloader implementation for the STM32H755 microcontroller using the NUCLEO-H755ZI-Q development board.I am facing an issue where the MCU has become inaccessible after configuring the secure memory area through option bytes. I would appreciate your guidance on recovering the device.Hardware and software detailsBoard: NUCLEO-H755ZI-Q MCU: STM32H755 STM32CubeProgrammer: Version 2.20.0 Debug probe: Onboard ST-LINK V3 RDP: 0xAA (Level 0) SECURITY: Enabled SEC_AREA_START1: 0x000 SEC_AREA_END1: 0x1FF (128 KB secure area)Sequence of eventsI erased the user flash before configuring the secure memory area, so the bootloader firmware was no longer present. I enabled the SECURITY option byte and configured a 128 KB secure area from 0x08000000 to 0x0801FFFF. After applying the option-byte configuration, I could no longer connect to the MCU. The RDP level remains 0xAA (Level 0). I have not intentionally changed it to Level 1 or Level 2.Recovery attemptsI have tried the fol
Heyho,just when we got the quote from our PCB assembly company for a prototype of a big board with the STM32H733, I find that basically all HyperRam ICs with 3.3V are EOL. There’s no alternative to 8-pin HyperRam due to IOs, routing, and board space, so the best would be to switch the complete system from 3.3 V to 1.8 V.BTW, I find that the HyperRams are working great with the H7, 11 IOs, only, fast, relatively low power, no problems at all so far.It’s 2026, darn… I started working as an EE at around 2000, and then the 5V → 3.3V transition was mostly done. Now it’s time for 1.8 V.Anyway, I checked the H73x datasheets, and looks like these are fully operable at 1.8V without any problems (only exception: the internal OPAMP needs >= 2.0V, but we don’t use that), at full clock and IO speed.So my questions to the H723..H735 users:Anything I did oversee or forgot ? What’s your experience running the H7 at 1.8 V ?Changing the rest of the components is another … PITA, but first I need to kn
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!
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.