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
Good afternoon,I am working with the STSW-TTM005 example for a resolver-equipped motor and encountered an issue:Link: STSW-TTM005 | Product - STMicroelectronicsThe motor does not rotate, but instead oscillates between windings.In sensorless mode, the motor rotates correctly.During debugging, the resolver angle appears correct.I tried changing that setting:#define RESOLVER_ANGLE_OFFSET_DEGREE 185.0f // Angular offset in electrical degrees between the resolver and the rotor's magnetic flux, but it didn't workCould you please clarify which resolver-equipped motor was used to validate this solution? My setup is as follows:Control board: NUCLEO-G431RBDriver board: based on DRV8353Resolver board: STEVAL-TTM005AFirmware version: 5.4.8Motor specifications: PMSM with resolver, 20 poles, 24V DC, 67A peakI would appreciate guidance on whether my configuration is compatible and any recommended adjustments.Thank you for your support.Best regards, Anatoliy
Hello STMCommunity,I am a beginner working with the STM32H7B3I-EVAL evaluation board (MCU: STM32H7B3LIH6Q) and I am currently setting up my development environment on Ubuntu 24.04 Linux.I installed STM32CubeIDE using the following installer:st-stm32cubeide_2.1.0_27993_20260219_1630_amd64.deb_bundle.sh. zipHowever I am facing several issues during setup and project creation.Problems I am facinEmbedded Software Package Manager missingI cannot find the option: Help → Manage Embedded Software PackagesThe STM32H7 firmware package does not appear to be installed.Unable to create a proper projectWhen creating a new STM32 project for STM32H7B3I-EVAL, the project builds incorrectly and sometimes shows: make: *** No rule to make target 'all'. Stop.The expected firmware output files (.elf, .hex, .bin) are not generated.CubeMX integration problemIt appears that STM32CubeMX is not properly integrated with STM32CubeIDE on my Linux system..ioc file does not openWhen I double-click the .ioc
I noticed the following in the recent post announcing STM32CubeIDE for Visual Studio Code 3.8.0:CLI tools: A new bundle manager is enabling VS Code to download required CLI tools. This replaces the all-in-one STM32CubeCLT package. ...Now that STM32CubeCLT is no longer required by the VSCode integration, what is the future of STM32CubeCLT? In particular, will it continue to be updated and supported?
Hello.I am building a Thread SED product using the STM32W5MMG. Recently, after upgrading the firmware version to v1.24.0, I encountered a problem with low-power startup.Upon investigation, I discovered that the location of the “Init_Debug();” call within the MX_APPE_Init() method in app_entry.c was different.Previously (in v1.23.0), I had written the following code within the /* USER CODE BEGIN APPE_Init_1 */ block, and this worked correctly. HW_TS_Init(hw_ts_InitMode_Full, &hrtc); /**< Initialize the TimerServer *//* USER CODE BEGIN APPE_Init_1 */#if (CFG_FULL_LOW_POWER != 1) Init_Debug();#endif UTIL_LPM_SetStopMode(1 << CFG_LPM_APP, UTIL_LPM_DISABLE); UTIL_LPM_SetOffMode(1 << CFG_LPM_APP, UTIL_LPM_DISABLE); Led_Init(); Button_Init();/* USER CODE END APPE_Init_1 */ However, with the transition to v1.24.0, the call location of Init_Debug(); was changed as follows. HW_TS_Init(hw_ts_InitMode_Full, &hrtc); /**< Initialize the TimerServer */ Init_Debug();
Hello everyone!I will try to be short here… even though I will probably fail on this task.Hardware: ST-Nucleo-STM32F446REI have a 96kHz loop, which happens inside a callback from TIM3. I also have 4 analog signals to be sampled. Originally, I have set these signals into ADC1 (CH6 and CH7) and ADC2 (CH15 and CH9). Due to the ~10.4us period of time I have inside my callback, considering 168MHz system clock and 21MHz ADC clock (System Clock /2 /4), I need to act quick. I have decided to use DMA for this application: DMA2 Stream 0 assigned to ADC1 and DMA Stream 2 assigned to ADC2. Then, inside the loop, I am simply assigning the buffer values to variables (or, if I need to squeeze a few more cycles, I can use them directly). However, I noticed the variables assigned to ADC2 would not be sampled correctly: the first channel would be sampled just once, at the startup, and the second never, while the two channels on ADC1 would behave well. In my code, var3 and var4, respectively. The most re
We are seeing a very odd data corruption issue which is highly repeatable, and appears to be related to a configuration setting which we haven't yet identified.In our system (running on an STM32H7S7), we're using the STiROT + OEMuROT secure bootloader to load our application. After a minute or two, the application causes a hard fault.The issue comes down to a POP instruction. I can see in the debugger that a value is being copied from the stack to a register, but one of the bits is flipped. Subsequent instructions do some indirection which ultimately causes the hard fault.It's always the same instruction in the same line of code. It always occurs within the first minute or two of execution.Using the debugger, we can see that the value in the stack (stored in DTCM) is correct. The error occurs when it's copied to the register. And although the error always occurs at the same address, it doesn't appear to be a fault with that location, as when I moved the stack to elsewhere in DTCM,
Specific part: ST4SI3M004600HFWAccessed via Quectel modem AT commandshttps://estore.st.com/en/st4si3m004600hfw-cpn.htmlAccording to the product page, it features "Bootstrap connectivity profile provided by a trusted partner".Application note AN5740 says that it applies to ST4SIM-300M (https://www.st.com/resource/en/application_note/an5740-st4sim-with-truphone-connectivity--activation-procedure-stmicroelectronics.pdf).At time of writing ST4SI3M004600HFW, appears to be the only instance of ST4SIM-300M available.So it sounds like the activation instructions in AN5740 should apply to ST4SI3M004600HFW.Those instructions rely on reading the ICCID and feeding it to Truphone.However, the eSIMs that we (and other users) encounter have ICCIDs which are neither unique nor recognised by Truphone (https://community.st.com/interface-and-connectivity-ics-52/st4sim-300m-getting-the-same-iccid-162326).Questions:- Does AN5740 apply to ST4SI3M004600HFW?- Is there a version of the chip that does come with
Hi,I’ve just started a project with a TESEO LIV4F. The processor can communicate with the TESEO LIV4F module through a UART link. NMEA messages are received by the processor. Commands sent to the TESEO LIV4F module are acknowledged by the module (an answer is received by the processor). My problem is that the module do not receive any satellite.The antenna is a passive one which is DC shorted. Due to a BOM error, the serial coupling capacitor have been replaced by a zero ohm resistor. As the antenna is DC shorted, the TESEO LIV4F module input have been sorted to ground. I corrected the problem.Is it possible the module input have been damaged by the short-circuit ? I use a custom code based on the GetPos example. Maybe I missed something.Is there a specific command set to send to activate the reception of satellites ?Best regards,Nicolas
I’m trying to update thestm32WB55 - nucleo Version (MB1355C) SWD stm32wb5x_FUS_fw_for_fus_0_5_3.bin -- latest from STM32CubeWB-1.24.0But it keeps failing every-time i do it. StepsStart FUS check the wireless stack try and flash the first bin fileIt just doesn’t seem to want to work?Error: FUS_STATE_IMG_NOT_AUTHENTIC: It works on the USB sticks when i flash it this way. So i don’t know what it’s doing wrong? Or are these bin files only for the USB stick?
Hello All, I am looking for the CAD design files for the schematic and PCB layout (e.g., Altium, OrCAD, etc.). You are requested to share the design files in the CAD software format used by ST for STEVAL-STWINBX1 eval platform. I am planning use these design files as a base and modify them as per my requirement. Regards, Shailendra.
I was searching for a optimal cristal for my MCU and in the specs of HSE for my MCU (STM32F103) i found this highlighted in yellow Then in the guide shown below I saw and exampe but this doesnt match with the stated in the datasheet because of the following Here the CL1 and CL2 series equivalent is 5pF but the CL of the cristal is 8pF so I dont know if Im missing something or is that this condition is not always true, hope some one can help me to clarify this, thanks!!
Hi,I made a post a few weeks ago but I can’t find it now because I think this forum may have been updated.I have an STM32F779I-EVAL and I’ve managed to get LwIP_HTTP_Server_Raw compiled and running from this repo (STM32CubeF7/Projects/STM32F769I_EVAL/Applications/LwIP/LwIP_HTTP_Server_Raw).The display turns on, and within the debugger, there is no issue. It shows a DHCP timeout and then states its IP is 192.168.0.10, this is fine by me.With a normal ethernet cable connected to a network switch, or even using a crossover ethernet cable, I get nothing when I ping 192.168.0.10. Ethernet is set up correctly within Windows.Does anyone have a clue what’s going on here?I’ve tried basically every tutorial on the internet at this point to ping the device. The most hopeful looks like this one, but still nothing. I’ve also got a Nucleo-H755ZI-Q which doesn’t work with any example.I’m starting to think maybe it is my set up but I’ve tried across multiple computers, all using the correct settings (
Hello again.İ wrote a Python book, but I am new in STM32 boards. I am trying to learn.I bought a "STM32 Nucleo F7 56ZG(216 MHz)" boardand a "STM32 Nucleo H7 53ZI" this week.When I connected the USB socket at the ST-link side to the USB socket of my computer via an USB cable, there was no led light of the board. Both boards behaved like this.There were no led lights on them.What should I do?Should I connect both USB ports on a board to the computer at the same time?Thank you from now on.
My board is not waking up, i connected the cells and the VREG is zero, I connected the cells as it is stated in the user manual, i tried to send frames to wake it up, but nothing, no life is there, LD2 is dead, does anyone have an idea what should i do?
Hello everyone,I apologize for posting a similar message again, but for some reason I can no longer access my previous post.I am currently studying how my Nucleo N657X0-Q board works, and for this purpose I am trying to create a TCP server project using a static IP address.However, despite what seems to be a correct configuration, my board does not respond to ARP requests. I checked this using Wireshark and the arping command on Linux, but the result is always TIMEOUT.The MAC address seems to be correctly configured, the LAN8742 driver also appears to start correctly, and all IP, TCP, UDP, ARP, and ICMP services return SUCCESS.In the meantime, I also used the .ioc file from the following link, as suggested to me, in order to compare it with my own project : webserver Despite my new modifications, the symptoms remain the same. I also tested the steps performed in the nx_stm32_eth_driver code, and I was able to see that Initialize, Enable, and Attach are being called.I added a printf out
Hello,We are currently evaluating the EEPROM Emulation package provided for SPC58 devices and would like to understand the intended production usage regarding flash erase operations during block swap.While reviewing the EEPROM emulation source code, we observed the following call flow:eeprom_write() └─ eeprom_blockswap() └─ eeprom_lld_flasherase()Inside eeprom_lld_flasherase() we found the following implementation:/* Erase the block */returnvalue = FlashErase(&ssdConfig, C55_ERASE_MAIN, lowBlockSelect, midBlockSelect, highBlockSelect, nLargeBlockSelect);if (C55_OK != returnvalue) { return FLASH_ERROR_ERASE;}/* Wait for completion */while (C55_INPROGRESS == FlashCheckStatus(&ssdConfig, C55_MODE_OP_ERASE, &result, &dummyCtxData)){}if (C55_OK != result) { return
I am trying to interface the EEPROM AT24C04C with STM32G4 series controllers. I have confusion in the function parametersHAL_StatusTypeDef HAL_I2C_Mem_Read_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress, uint16_t MemAddSize, uint8_t *pData, uint16_t Size)Can you please clarify on the MemAddSize parameter what has to be sent to for the above EEPROM?2nd Question: 1 page is 16 bytes, is it possible for me to write data above 16 bytes as well?
I’m working on SPC58EC80E5 in autodevkit studio , serial tranmitter is working but serial recevier is not working , i attachesd the serial driver coniguration check it and also my main.c is below #include "components.h"#include "serial_lld_cfg.h"#include <stdio.h>#include <string.h>uint8_t ch;char buffer[20];uint8_t idx = 0;int value = 50;/* ── Strip \r and \n from string ── */static void stripNewlines(char *str){ int i = 0, j = 0; while (str[i] != '\0') { if (str[i] != '\r' && str[i] != '\n') str[j++] = str[i]; i++; } str[j] = '\0';}int main(void){ char msg[50]; componentsInit(); irqIsrEnable(); sd_lld_start(&SD12, &serial_config_configuration_name); sd_lld_write(&SD12, (uint8_t *)"UART Ready. Send number like 120#\r\n", 35); while (1) { if (sd_lld_read(&SD12, &ch, 1) == 1) { /* ── ignore \r and \n completely ── */ if (ch == '\r' ||
Hi everyone,I tried Secure Firmware Install (SFI) with the Nucleo-H563ZI. The process failed, however my device is still accessible. By connecting to the device via Hot plug and Access port 1 I am able to see that the device is in "Provisioning" state.The option bytes are as follows:{ "deviceId" : 1156, "bitNameToValue" : { "PRODUCT_STATE" : 23, "BOR_LEV" : 0, "BORH_EN" : 0, "IO_VDD_HSLV" : 0, "IO_VDDIO2_HSLV" : 0, "IWDG_STOP" : 1, "IWDG_STDBY" : 1, "BOOT_UBE" : 195, "SWAP_BANK" : 0, "IWDG_SW" : 1, "NRST_STOP" : 1, "NRST_STDBY" : 1, "TZEN" : 180, "SRAM2_ECC" : 1, "SRAM3_ECC" : 1, "BKPRAM_ECC" : 1, "SRAM2_RST" : 1, "SRAM1_3_RST" : 1, "NSBOOTADD" : 524288, "NSBOOT_LOCK" : 195, "SECBOOT_LOCK" : 0, "SECBOOTADD" : 0, "SECWM1_STRT" : 0, "SECWM1_END" : 127, "WRPSGn1" : -1, "SECWM2_STRT" : 0, "SECWM2_END" : 127, "WRPSGn2" : -1, "LOCKBL" : 0, "EDATA1_EN" : 0, "EDATA1_STRT" : 0, "EDATA2_EN" : 0, "EDATA2_STRT" : 0, "HDP1_STRT" : 1, "HDP1_END" : 0, "HDP2_
The BAT30 datasheet shows a storage temperature of -65 to 150C and a maximum junction temperature of 150C. There is no mention of the minimum operating temperature though. Can you clarify?
I am designing a PCB based on the STM32N657X0H3Q, using the STM32N6570-DK EVB as a reference.I would like to use an external Flash memory in my design. Since our firmware engineers are already working with the EVB, the preferred option would be to use the same Flash device as on the EVB (MX66UW1G45GXDI00). However, I am not sure about its availability and stock status. This is a 1-Gbit Octal SPI Flash.How can I determine which Flash memories are compatible with this MCU? For example, would the ISSI IS25WX256-JHLA3 be a suitable alternative?
Hi,We are running the STM32 programmer in parallel via Test Stand, the programmer 1 is working fine, but the programmer 2 gives us an error message: “Error: failed to generate license for the current STM32 device”. As the original setup, both programmers were running without any issue, the error just appeared in the last couple, which caused the FW programming step failed. We tried to reseat the cable that connect to the programmer, reseat USB connect to the card reader. Can’t solve the problem. ST-LINK FW : V3J15M7B5S1Board: STLINK-V3SETI hope any expert here can help me to solve this issue. Thanks for your time.
I am using an STM32 Nucleo-F746ZG board and trying to establish a TCP/IP connection between the board and my laptop. The laptop is configured as the TCP server using Hercules tool, while the STM32 board acts as the TCP client. I have configured static IP addresses, and I am able to successfully ping the STM32 board from my laptop, which confirms basic network connectivity. However, when I start the TCP server on the laptop using Hercules, the STM32 client is unable to establish a connection to the server.I attach code and .ioc configuration for reference.
Hi Guys,I am writing a code to measure a pulsating DC voltage. All that I have decided to take 50 samples and take the highest one. Multiplying the peak value by a factor will give me the approximate RMS value. Please see my code. When built, an error “ Incompatible pointer assignment” shows. #include "stm8s.h"unsigned int max_v;unsigned k;unsigned int val[100];void Clock_Config(void) {CLK->ICKR |= CLK_ICKR_HSIEN; // Enable HSIwhile (!(CLK->ICKR & CLK_ICKR_HSIRDY)); // Wait for stabilizationCLK->CKDIVR = 0x00; // HSI 16MHz / 1 = 16MHzCLK->SWR = 0xE1; // Use HSI as master clock}void adc_init(void) { ADC1 -> CR1 = 0x40;ADC1 -> CR2 = 0x08;ADC1 -> TDRH = 0xFF;ADC1 -> TDRL = 0xFF;ADC1 -> CR1 |= ADC1_CR1_ADON; }uint16_t read_mains_value(void) {unsigned int value;ADC1 -> CSR = 0x05;ADC1_StartConversion(); while(ADC1_GetFlagStatus(ADC1_FLAG_EOC) == FALSE);value = ADC1_GetConversionValue(); ADC1_ClearFlag(ADC1_FLAG_EOC); // return value; }vo
I tried for several days to download the STM32CubeMX but the download just breaks.Most of the time the download panel just circles around for even or if it comes up it just breaks mid download.I also tried with different users and different browser and also in incognito mode but with the same result.I even made ticket on it but it doesn’t seem that anybody cares and I ask the robot to report it to a human but it just guides in the support side. So it seems that nobody care in this company to fix the problem. Best regardsCasten
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.