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
I'm have the HAL_I2CEx_ConfigDigitalFilter call in my H743VIT6 code with the setting of zero.The AI recomends 4 to take out 8ns noise pulses, RF; etc., but where is the STM documentation or an AN about this, and the analogue filter?Its not in the RM0433 bible as far as I can search.
I'm bringing up a very simple board that uses STM32MP135 with LAN8742A-CZ-TR Ethernet PHY as on the eval board. Unlike the eval board, however, I clock the PHY directly from the SoC: PA11/ETH1_CLK from the STM32 is connected to XTAL1/CLKIN on the PHY.I obtained the drivers from the STM32CubeMP13 package (version 1.2.0, or GitHub commit 0ef689b06775da063006da84d952d8bd48f9e5e1). Since I'm not making use of the ETH1_RX_CLK, I tell the HAL to source the 50MHz clock directly from the RCC: eth_handle.Init.ClockSelection = HAL_ETH1_REF_CLK_RCC; The Ethernet driver in stm32mp13xx_hal_etc.c (correctly) makes use of this information to set a bit in the PMCSETR register: if (heth->Init.ClockSelection == HAL_ETH1_REF_CLK_RCC) { syscfg_config |= SYSCFG_PMCSETR_ETH1_REF_CLK_SEL; } HAL_SYSCFG_ETHInterfaceSelect(syscfg_config);However, later on, an assertion fails which does not expect the RCC bit to be set in this register:#define IS_SYSCFG_
(v2.21.0+) (Cube IDE)Hello everyone,I am currently working with the STM32N6 DK 570 board for an ST Innovation Fair 2026 project and wanted to share an important observation related to binary signing and boot behavior, which may help others working on this platform especially first-time users.Since the STM32N6 series has no internal flash, the device boots only signed binaries from external memory. Unsigned .bin or .hex files generated directly by STM32CubeIDE are rejected by the hardware, which is expected, but not very clearly emphasized in the current documentation.Observed Issue: Header Alignment RequirementWhile signing binaries using STM32_SigningTool_CLI v2.21.0 and later, I faced repeated boot failures (black screen) even though the binary was correctly signed.After debugging, I observed the following:The STM32N6 ROM expects the application header at a 0x400 offsetNewer versions of the signing tool do not automatically pad or align the binaryWithout explicit alignment, the First
Hello. I have been researching how to use the STEVAL-ESC002V1 with a NUCLEO-F031K6 board to run a BLDC motor. The documentation mentions using the IAR Embedded Workbench for ARM 8.22, but I am programming with the STMCubeIDE and the MotorControl Workbench 6.3.2. Could someone help direct me on how to do this?
I want to change heap4.c to add a feature. I want the heap program to tell me, when I ask for memory and I get a Malloc Failure, I want to know the shortfall. I have a method for this, which works, but involves changing heap4.c. When I do that, any time I go back to the configuration program to change the IOC file, the program regenerates all files. Since heap4.c does not have a user section, and certainly not there, the changes are overwritten.I have a similar problem in main.c, but if I can do one source change, I can do others.
I am trying to use some machine vibration data to identify running condition. In my use case, i was able to create decision tree and configuration file in sensor with MEMS studio 2.2.0, but the sensor is not detecting any decision tree information.the decision tree information is stuck at 0x00.my decision tree label value: 1 ---> not running ( no accel vibration detection) 4 ---> running What could cause the LSM6DSV16X sensor to provide no data in the decision tree?feature.arff file few lines: using acc_v and gyr_v information.@relation 'MLC'@attribute F1_VARIANCE_ACC_V numeric@attribute F2_VARIANCE_GYR_V numeric
I'm using stm32u535RCT mcu and I've requirement of zero crossing detection using analog watchdog.I need 6 channels and configured DMA circular buffer to collect 1Kb data on each channel. Channel 5 is mapped to analog watchdog.Here I want to understand in callback how do I get channel 5 last sampled data.Should I calculate by calculating the index with help of NDTR register or how.
How to implement IGMPV3 in STM32f429ZGT6? Can anyone please guide me with
Hi - What is the best algorithm for a very low speed and low current application, <50 RPM and <1 Amp with a high resolution encoder (~4096 counts per revolution) on a 3 phase brushless motor? Do the HSO or ZEST algorithms provide any advantage over the standard FOC algorithm when running with an encoder like this? I'm assuming the FOC algorithm is better than the 6 step algorithm, is that correct? Are there any other tips for this application? Thanks
Where using a STM32G081EBY6TR 25-pin wlcsp - package This part doesn't seem to have pins for a external clock pins. Just making sure that the internal clock is sufficient to handle USB-PD. It say's that 6 to 18mhz is fine, but really its looking for 6 to 12mhz. The internal one is 16Mhz.
Hi everyone,I'm using 2 LIS2DU12 on one object.The first one is configured in continuous mode. I forward the samples directly to a computer. I use it to check the wake up triggering configuration of the second one.The second one is configured in continuous-to-FIFO mode. And I'm trying to get it to wake up when the acceleration on one axis is over 2g for at least 8.75ms. ODR is 800Hz, FS=16g, so I set :WK_THS=8WAKE_THS_W=0=> threshold = 2g x 2⁶ / 16g = 8WAKE_DUR=01 (7 ODR_time)WU_DUR_X4=1=> Wake-up duration = 7 / 800 = 8.75msThe first LIS2DU12 configured in continuous mode shows that during my tests I get 4g for over 20ms, yet the second LIS2DU12 does not wake up. But if I set the threshold to 4 (i.e. 1g according to my calculations) it does wake up, and I recover 2 very similar acquisitions.What did I misunderstand ?Here is a code snippet of the configuration of the LIS2DU12 in continuous-to-FIFO mode: lis2du12_pin_int_route_t int_route; lis2du12_status_t status; lis2du12
Hello Team,We are using SensorTile.box Pro with the STEVAL-MKI251A (LSM6DSV320X) adapter board and MEMS Studio version 2.2.0. Flashed the sensor tile box pro with the DataLogExtended.bin firmware which is available in the MEMS StudioWe have logged accelerometer Low-G and High-G data at 1.9 kHz. Additionally, we enabled and monitored interrupts from INT1 to INT10 during the test.We observed that only INT10 shows an output value of 1, while all other interrupts remain inactive.Could you please confirm from your side whether INT10 = 1 corresponds to the Free-Fall interrupt for this sensor configuration? Also, kindly let us know if this behavior is expected when using MEMS Studio 2.2.0 with SensorTile.box Pro and the STEVAL-MKI251A.Thank you for your support.Best regards,Ahilesh
Hi, Currently I working with Nucleo-H7S3L8 board and trying get XSPI interface up by trying to read memory device ID in STR OPI mode. It is not working yet.Can someone share detailed steps to get it to working stage? I am able to read id in single SPI mode. Thanks, Samiksha
Dear ST Technical Support Team,I am currently working with the EVSPIN32G4-DUAL evaluation board.I understand that this board uses a single-shunt current sensing topology, and therefore the Motor Profiler feature in Motor Pilot is not available (Profiler requires three-shunt current sensing with STO-PLL).In this context, I would like to ask for ST’s recommended procedure to obtain the following motor parameters when using EVSPIN32G4-DUAL:Stator resistance (Rs)Inductances (Ld / Lq or equivalent)Back-EMF constant (Ke)Could you please advise:Whether ST recommends specific manual measurement methods for these parameters with single-shunt hardwareWhich Application Notes or User Manuals describe this procedureAny best practices for entering these values into MC Workbench for stable FOC operationThank you for your support.Best regards,Hyunseok
Hello, I'm working with the STM32H7S7L8-DK and i want to use both USB HS and FS in device mode but it seems in cube mx that i'm unable to enable both IRQ If i enable the HS one the FS one isn't generated and same fort the other way Is it a bug and how manage this to get it work?Thanks
I am currently working with the EVSPIN32G4-DUAL board and have a question regarding the I2C pin configuration.According to the EVSPIN32G4-DUAL schematic, the I2C signals are connected to pins PC4 and PA8.However, when generating a project using MCSDK version 6.4.1 and checking the pin mapping, the I2C interface is assigned to PC9 and PC8.When I modify the project to change the I2C pins from PC9/PC8 to PC4/PA8 and then update the firmware image, the system does not operate correctly.Could you please clarify the reason for this discrepancy between the schematic and the MCSDK pin configuration, and advise on the correct way to configure the I2C pins for this board? Thank you for your support.Best regards,Pelino
We're bringing up yet another custom board with the STM32H735 as the core processor. Built the first one, handed it to the software guy, and a few minutes later he says it's broken. Won't program, won't go to DFU mode, nothing. "You must have zapped it by accident!" Grumble.....get out the hot air gun and swap the part. At least it's a QFN100 and not some BGA package. Fixed, dropped it on his desk. Go to lunch.Phone rings. "It's broken again. As soon as I downloaded code it died." Aaarrggghh! Back from lunch, steam off processor #2, install #3. This time, I'll make sure. Create a new IOC file, populate it with all the right pin settings, configure the peripherals, generate code in CubeMX, open project in CubeIDE. So far, so good. Add a couple lines to flash the debug blinkylight, hit download. Code downloads, processor goes away. No blinky. No nothin'. Vcore is at zero. On power-up, but NOT after hardware reset, there's a momentary blip on Vcore followed by a decay to ground. Some
JW
I have ST win BX1 development board and I am using Zephyr RTOS for my development. I am not sure, How can I use the WiFi module on this board.First, the module is connected over SPI and I have tried to send some AT commands but I did not get any response.So, do I need to update firmware first? my answer is no because it comes already with the firmware installed.I tried SPI with CS pin low and WiFi-EN pin High.
Hi we need a clarification on this controller STM32L4Q5RGT6 here it is mentioned as voltage range V1 and voltage range V2. can you clarify what voltage exactly refers to Voltage v1 and v2 and in which IO volt does this OCTOSPI works.
Hi everyone.I'm using the STM32U073Mx / LQFP-80 pin.While designing a schematic, I ran out of ports, so I'm curious to see if I can use the VDD (battery voltage) to VBAT pin trick to measure the battery voltage. I'm looking at the datasheet and reference manual(RM0503).For reference, I'm using VREF+ as an Internal voltage reference mode to measure the temperature sensor (will use thermistor's power source), so I can no longer use the VREF+ pin as an input.So, I'm trying to configure it as needed.When measuring the thermistor temperature sensor, I use VREFBUFF(Internal voltage reference mode) to power the thermistor. And for normal ADC operation, VREFBUFF(maybe Hold mode) is connected as the ADC reference voltage.Anyway, I found the following sentence in the RM documentation, and I'd like to know its exact meaning.[Temperature sensor, DAC output, VREFINT and VBAT internal channelsThe temperature sensor is connected to channel ADC VIN[11].The internal voltage reference VREFINT is co
Hi,after updating STM32CubeMX, I was no longer able to start the program without admin rights.In the past, I always used STM32CubeMX integrated with STM32CubeIDE and was able to update everything without any admin rights. Starting with version 2.0.0 of STM32CubeIDE, STM32CubeMX was removed, so I installed it separately (STM32CubeMX 6.16.0). For the installation, my company's IT department selected the installation for all users, and until now I have been able to use the program without any problems.I needed to update STM32CubeMX to the new version 6.16.1, and that's where I ran into my first problem: I couldn't update to the new version without admin rights, so I had to contact the IT department to do the update. The big problem is that after the update, I was no longer able to start the program without admin rights, and the quickest solution was to uninstall STM32CubeMX and then install version 6.16.1 directly. Now I can use the application again without any problems, but I would like
Hello Forum,I’m working with a custom display that uses an ST7789V controller (GRAM) connected via FMC and MDMA.The single framebuffer is located in .RAM2.The microcontroller is an STM32H750.The application (the .text section) runs from QSPI flash, while the internal flash contains only the bootloader.Some widgets (such as TextArea) are rendered correctly, but others (like ToggleButton) appear corrupted.Additionally, the background image shows horizontal line artifacts.Please compare the two pictures:The first image is the expected reference.The second image shows the artifacts — the button is distorted, and the horizontal lines in the background image should not be there.Has anyone experienced similar issues or has suggestions on what might be causing this behavior?
Hi,we are planning to use STM32H742xI/G controller in our design, we have reviewed the datasheet and need a clarification on the IO logic for QSPI.Does this controller supports 1.2v IO logic for the QSPI.
Hi, I tried to find a solution in the forum, but unfortunately without success.The problem is as follows: I need to generate a PWM signal that changes the period (not the duty cycle) with each iteration. (MCU: STM32F411)I'm setting up the timer to use a PWM output on channel 1:Global interrupts are also active: Then the DMA will be configured to update the ARR register:In the code the DMA will be activated as following:for (int i = 0; i < 32; i++){u32FreqUpdate[i] = 2000 + i*100;}// Activate PWM channel 1:TIM_CCxChannelCmd(htim4.Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);// Activate PWM output:__HAL_TIM_MOE_ENABLE(&htim4);// Activate ARR Update:HAL_TIM_Base_Start_DMA(&htim4, u32FreqUpdate, sizeof(u32FreqUpdate)/sizeof(uint32_t));As a result:The Output updates 3 times (without to change the frequency (period)) and then PWM Stops...Could someone explain me, what I'm doing wrong?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.