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 did not find the proper PCB footprint for the GaN MOSFET SGT1D5R10MEA. The ST recommended Ultralibrarian file is not suitable and its dimensions are too large compared to what is recommended in the datasheet.So, I made my own footprint. kindly anyone check this footprint is good or not. Please find the kicad footprint in the attachment.Thank you.
We are observing an intermittent issue on a subset of our devices where the accelerometer(LIS2HH12) outputs become stuck at approximately the following values:X: around -2 g Y: around +2 g Z: around +2 gWhen this condition occurs, the reported acceleration values remain fixed and do not respond to changes in device orientation or movement.
Hello,I am currently designing a SiC MOSFET gate driver circuit using the STGAP2D.As part of the design process, I am performing thermal simulations to evaluate the temperature rise of each device.Based on the simulated case temperatures, I estimate the junction temperatures to verify that sufficient thermal margin is available.However, while the STGAP2D datasheet provides the junction-to-ambient thermal resistance, Rth(JA),it does not specify the junction-to-case thermal resistance, Rth(JC).Could you kindly provide the junction-to-case thermal resistance, Rth(JC), for the STGAP2D?Alternatively, if another thermal parameter (such as ΨJT or a thermal model) is recommended for estimating junction temperature from the case temperature,I would appreciate your guidance.Thank you for your support.
Hi there,We are aiming to use the E-TDA7391PDTR in our new design and we would like someone from ST to share the relationship between C3, R2 and the Mute/sync pins, as the older related question does not explain much and does not resolve the issue in case we want to change the values. The datasheet does not have any explanatory section on the working principles of the chip, so no relevant info is found there.For reference: Many thanks in advance.Best regards,Manuel Gomez Galan
Hi everyone !Following this webpage about running touch gfx on H7R/S series I have seen two things that I think can be interresting to add.https://support.touchgfx.com/docs/development/scenarios/running-graphics-on-stm32h7r1 - ERRATA FOR GXFMMU following ES0596 errata document section 2.2.17 basically says that if GFXMMU isn’t used (clock not enabled) the user should mark the region as Device or Non-cacheable with eXecute Never (XN). I tjinh it can be good to add this as a important info because this leads to CPU stalls that are very hard and the issue isn’t simple to fing for new users of Cortex M7 and graphical line microcontroller of ST 2 - MPU FOR SRAM SHAREABLE If I follow the MPU table given by the page I see that region 5 is ‘SHAREABLE’ and ‘CACHEABLE’ . Reading many documentation and forum threads about the Cortex M7 I discovered that if the region is ‘SHAREABLE’ the region isn’t cached and it leads to performace hit . In a normal scenario (SRAM for variables and DMA buffers i
Hello,I’m reviewing a design that uses an STM32F767ZIT6 as the I²C_3 master. This I2C_3 bus is shared by: U18: PCA9535A I/O expander U19: SHT40 temperature and humidity sensor U3: STUSB4500 USB-C PD sink controller SDA and SCL have external 2.2 kΩ pull-ups to 3.3 V. In the schematic, the STUSB4500’s VSYS pin (pin 22) is connected to GND, and its VDD supply appears to come from the USB VBUS path. Therefore, when no USB-C cable is connected, I believe both VDD and VSYS may be absent.The STUSB4500 datasheet’s I²C pin description says that SCL and SDA are pulled down when neither VDD nor VSYS is present.Could you please confirm: With both VDD and VSYS absent, will the STUSB4500 pull SDA and SCL low strongly enough to prevent the STM32 from communicating with the other devices(U18, U19) on the shared bus? Is it acceptable to connect VSYS to the board’s 3.3 V rail so the STUSB4500 remains powered when USB-C is disconnected? Would this affect USB-C attach detection, VBUS monitoring, or
Is there a ready-to-use starter project for the STM32F107RCT6 with LWIP, FreeRTOS, and TCP/IP already fully configured and working?
I am looking for the STEVAL-VL53L9 evaluation board for vl53l9cx, but it is out of stock at all distributors I checked.could you please let me know the expected availability / ETA, where i can buy it or, if there is any similar alternative board with same specs.
Dear all,I am making a SMPS to operate from PV voltage (35-120V) to 24V@1A . circuit is not working because VCC is not developing even though startup resistance is reduced. No VCC , there is no Vref = 5V and hence no opertation. I have attached my schematic as well pcb layout. Please share your feedback on layout as well. Thanks a lot
When Comparator is configured, the init sequence do not generate the option for Positive input selection one has to add this line manually, depending on the pin selected as INP. hcomp1.Init.InputPlus = COMP_INPUT_PLUS_IO1; or hcomp1.Init.InputPlus = COMP_INPUT_PLUS_IO2; orhcomp1.Init.InputPlus = COMP_INPUT_PLUS_IO3; and so Comparator do not work if not checked. I am using CubeMX version 6.18.1
Hi,Few days ago i've encountered a strange behavior of the comparator at STM32G4. I investigated the problem under controlled conditions (used Nuclo kit instead application PCB) and the result is startling.Comparator 4 configured to get positive input from pin PB0, negative from DAC1 Channel 1 (set to 500mV).Hysteresis set to maximum (70mV)DAC output is not connected to external pin (only internal connection)Input signal is 50Hz sinewave with 400mV amplitude and 600mV offset (to reliably cross 500mV thresholds +- hysteresis)Enabled Comparator 4 rising edge interrupt.Interrupt routine simply generates fixed length pulse.On blue scope trace you can see clean input signal (scope input AC coupled), it certainly does not contain noise that would be close to hysteresis value (more detail at last screen).On Red trace is application output. You can see that many times interrupt fires also on falling edge, or fires multiple times on tha same rising edge. It looks like that comparator works with
Hello everybody! I am working on an animatronic for my niece, and I am using the STM32F103C8T6 blue pill to control it.I want to share the code, (still in progress) hoping it will be useful for some of you.include "main.h"void SystemClock_Config(void);int count;int adder;int leg1;int leg2;int neck;int main(void){HAL_Init();SystemClock_Config(); RCC->APB2ENR |= RCC_APB2ENR_TIM1EN;TIM1->PSC = 72;TIM1->CR1 |= TIM_CR1_CEN;TIM1->ARR = 19999; RCC->APB2ENR |= RCC_APB2ENR_IOPAEN;GPIOA->CRH &=~ GPIO_CRH_MODE10;GPIOA->CRH &=~ GPIO_CRH_CNF10_0;GPIOA->CRH |= GPIO_CRH_CNF10_1;GPIOA->ODR &=~ GPIO_ODR_ODR10;RCC->APB2ENR |= RCC_APB2ENR_IOPBEN;GPIOB->CRL |= GPIO_CRL_MODE5_0;GPIOB->CRL &= ~ GPIO_CRL_MODE5_1;GPIOB->CRL &= ~ GPIO_CRL_CNF5;GPIOB->CRL |= GPIO_CRL_MODE6_0;GPIOB->CRL &= ~ GPIO_CRL_MODE6_1;GPIOB->CRL &= ~ GPIO_CRL_CNF6;GPIOB->CRH |= GPIO_CRH_MODE12_0;GPIOB->CRH &= ~ GPIO_CRH_MODE12_1;GPIOB->CRH &= ~ GP
We are in the process of large-scale production with the microcontroller indicated in the title. The process goes almost entirely smoothly: we program the chip and then set the RDP (Readout Protection) to level 1, using the ST-Link Utility.However, out of hundreds of units, some exhibit abnormal behavior: they work perfectly after programming, but stop working once RDP is set to level 1.The strange thing is that the faulty components are programmed in exactly the same way as the ones that work correctly. Even after clearing the memory and doing a second programming, the behavior remains unchanged: the device works after programming, but stops working after RDP is set.Has anyone encountered a similar problem?
In this case, I want to debug a new control board whose MCU is STM32H563. But I didn’t have a proper debugger, so I want to use the ST-LINK debugger of the STM32H5 Nucleo-144 board for the new board’s debugging.The debugger connector of the STM32H5 Nucleo-144 board : The debugger connector of my own board : I want to connect the 2 connectors through a cable for the external board’s debugging.So currently my issue is that the ST-LINK debugger can’t be used on the external board, I tried some methods for this, but it didn’t work, such as removing the jumper of JP5, connecting the jumper for JP1. My question is that : Can the ST-LINK debugger of STM32H5 Nucleo-144 board be used on an external board, if possible please show me the steps of the configurations on the Nucleo board.
I use semihosting configured according to The problem is that the output is unnecessarely manipulated insted of displaying as it is sent by code. First it adds new line to every semihosting packet. If text is sent one character at a time you get vertical text, one character per line. And if you try something like this:printf(“The data is ”);printf(“%d\n”, data);You get two lines, although one \n was used.But there is more: line breaks in semihosting text are removed.printf(“These are\ntwo lines”);This gives one line instead of two. Why Cube can’t just display text as it is instead of adding and removing line breaks at arbitrary moments? What is it for and how can it be disabled?
Introduction:Hello ST Team and Community, Following a recent architectural discussion on the Zephyr RTOS project (recommended by @erwango to be shared here), I would like to submit feedback and a feature proposal regarding how the Flexible Memory Controller (FMC) master controller enable gate is handled in the STM32Cube HAL/LL drivers.Background: On newer STM32 architectures (STM32H7, STM32U5, STM32H5, STM32H7RS, STM32N6, STM32MP1/2), the FMC block contains a master peripheral gate bit (FMC_BCR1_FMCEN or FMC_CFGR_FMCEN) which must be asserted for external bus transactions to occur. Currently in the STM32Cube firmware:There is no standalone HAL_FMC_Init() or public LL_FMC_Enable() API.The master gate is only asserted via the private macro __FMC_ENABLE() inside: HAL_SRAM_Init() HAL_SDRAM_Init() HAL_NOR_Init() Inversion of responsibility: While this chip-centric approach works seamlessly in standard STM32CubeMX bare-metal projects with discrete SRAM/SDRAM chips, it creates architectu
Hi,I cannot update to STM32Cube for Agentic AI 1.1.0. I tried to update both Manual and agentic installation. Every time it installs old 1.0.0. I need support for new controllers.
Why does the Nucleo-C5A3ZG IOC2 file provided by CubeMX2 have no Pin Labels for the User LEDs & Button ?The pins are reserved as GPIO, but have no labels; eg, PA2 and PA3 are labelled for their VCP functions - so why not PA5 for LD1?Similarly LD2, LD3, and B1?
I have been using the STM32Cube IDE (V1.16.0) for programing and debugger with the external ST-Link/V2 debugger connected to the STEVAL-IKR002Vx board. I use the SWV ITM Data Console in the IDE with no issues that is it will show me my printf output in the console. The problem is when I switch over and use the STM32Cube Programmer by downloading my x.elf file. Setting the SWV up the same way as in the IDE, the STM32Cubeprogrammer only outputs the first letter in my printf statement when I start the SWV. I cannot seem to get the SWV to output my entire printf statement. The clock and port settings are the same as in the IDE. What am I missing?? Thanks!
Hello, I am using the ST67W6X module with T02 mission in one of my projects.I am configuring the module in acess point mode, WPA2 and configure a password (10 characters).When connecting with the iPhone, everything works well.When connecting with the windows laptop, windows requests me to enter a 8 digit password (WPS). I have to click on a link below the password field to switch to password mode. Then I can enter the password and the connection works. Question:How can I disable the WPS advertising of the ST67W6X module when configured in access point mode?I could not find any C API call that does this. Thanks and best regards,Stefan
I downloaded the example from the Example Library:Unzipped, and opened the unmodified hal_gpio_toggle.ioc2 file: and there’s a red warning dot on the clocks!Something to do with ETH1_RMII_REF, it seems:After “resolving”: The ‘as-supplied’ and ‘resolved’ IOC2 files are attached.I had to rename them from .ioc2 to .ioc - because the forum doesn’t accept .ioc2 !D’Oh!! PS: PPS:CubeMX2 v1.2.0
I am currently using the STGAP3SXS gate driver and would like to clarify the behavior of the DIAG pin when the RST input is driven low. I could not determine from the datasheet whether the DIAG output is directly affected by the state of RST.Could you please confirm the following?When RST is held low and no DESAT fault is present, what is the expected state of DIAG Is DIAG asserted low only when a DESAT event has occurred?A brief timing description or state diagram of the interaction between RST, DIAG, RDY and the DESAT latch would be greatly appreciated.Thank you for your support.Best regards,
“by” should be “be” ?
I’m trying to set up flashing firmware and initializing the RTC clock on a blank or chip erased STM32H747Xi using the STM32Cube CLT package that contains the STM32_Programmer_CLI.exe command line tool. I can’t seem to write to the critical registers for RTC. Is there a procedure to set the RTC? If so, can you list the steps needed to do so?Thanks,Johnas
Hello, The STM706 is setup with the WDI pin pulled low via 10K resistor, all other pins are in a normal state (VCC high). When the WDI pin is probed in this condition a 200ms, 500mV pulse can be seen every 1.7 seconds. Is this the pulse referenced in the datasheet section 3.3 and is it expected performance?Thanks,Diarmuid
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.