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
Following the directions in https://docs.zephyrproject.org/latest/boards/st/stm32n6570_dk/doc/index.html images signed using STM32_SigningTool_CLI version 2.20.0 run OK on the board.However, after upgrading to STM32CubeProgrammer 2.21.0, images no longer run (I believe the signature check is now failing on the device).Reverting back to 2.20.0 fixes the signing issue on Windows, macOS, and Linux for the STM32N6570-DK board.However, this is a blocker for developers using the Nucleo N657X0-Q board on Windows & Ubuntu because 2.20.0 has a bug which causes west flash to fail for this board on both Windows & Ubuntu. This west flash bug is fixed for Windows & Ubuntu in 2.21.0, but we can't use that version due to the signing issue in 2.21.0.
Heyho,question about FDCAN and repeating / timed transmission of the same messages:(this is neither about TT CAN nor auto re-transmission, but e.g. for messages which need to be sent every 100 ms repeatedly and "manually")After the first setting of the TX buffer or TX FIFO, and after the first successful transmission, is the TX buffer (incl. the 2 "control" words) somehow altered / changed?If not, can the same message simply be sent again by setting the corresponding bit in the register TXBAR ?
Hi Guys, I am completely new in the world of ST Microcontroller. I have worked with PIC Microcontrollers using MikroC Compiler. After studying various tutorials on this topic, I am getting it slowly. While going through code of generation of PWM, I came across a function " HAL_TIM_PWM_Start(&htim2, TIM_CHANNEL_1);" which, I assume, starts PWM. My question, Is it a library function? If so, how can it be accessed. Incidentally it is stated that I have installed STM32 CubeMX and STM32 Cube IDE.
Trying to report a minor issue with published development board design files.The files fail to import into KiCad on Linux with a fairly cryptic error message.After much digging I discovered that the Altium project file has: ```[Document1]DocumentPath=Project_Overview.SchDoc```While the actual file on disk in zip archive is "Project_overview.SchDoc" the difference in capitalization between "Overview" and "overview" causes the files to not open correctly on Linux (which is case sensitive about file paths), while working on Windows. I suspect someone re-named the file at somepoint without fixing all references to it.Re-naming the file, or editing the .PrjPcb file fixes the issue, but this is non-obvious.Specific board: https://www.st.com/en/evaluation-tools/nucleo-h753zi.htmlSpecific download link: https://www.st.com/resource/en/board_manufacturing_specification/mb1364_bdp.zip
I can use stellar studio to flash the new software when start a debug session, but I want a separate tool to just flash the new software just like Stm32CubeProgrammer.Does Stellar team have made such tools?
I have added digitalTime (digitalClock1), textArea (T_DATE_DISPLAY),,BoxProgress (tankLevelA), CircleProgress (valveOpenA), and button (buttonWithIcon1). Please find the code and the errors of the last trial (please note I have wandered through lots of modifications in vain, I must be doing something fundamentally wrong):ERROR:: Please see Reply due to excess charactersmain.c please see the 2nd. reply due to number of charaters model.hpp#ifndef MODEL_HPP #define MODEL_HPP #include <touchgfx/hal/Types.hpp> #include <touchgfx/Model.hpp> class Model : public touchgfx::Model { public: Model(); void tick() override; // Demo mode methods float getTankLevel() const { return tankLevel; } float getValvePosition() const { return valvePosition; } bool isDemoModeActive() const { return true; } protected: // Demo mode variables float tankLevel; float valvePosition; bool tankIncreasing; bool valveIncreasing; void updateDemoData(); }; #endif
Dear STM Community,Over the past while, I have steadily (and successfully) progressed through many STM32/TouchGFX tutorials - with the ultimate aim of sending/receiving data over an RS485 link. Most of these tutorials are produced by Controllerstech. All has been going well until one particular tutorial.I am using the very latest software:TouchGFX Designer 4.26.0STM32CubeIDE 2.0.0STM32CubeMX 6.16.0When I build the design in STM32CubeIDE, I get the error message:make: *** No rule to make target 'C:/Users/XXX/Desktop/TouchGFX-projects/TouchGFX-UART-Control/TouchGFX', needed by 'Utilities/jpeg_utils.o'. Stop."make -j16 all" terminated with exit code 2. Build might be incomplete. One thing I have noted is that this directory doesn't exist: C:/Users/XXX/Desktop/TouchGFX-projects/TouchGFX-UART-Control/TouchGFXCould this be a path length truncation - and hence the error I have spent days trying to drill down to why this error appears.I have loo
Hi all,I'm using STM32Cube IDE (version 1.13.1, build 17479_20230728_0839 ) to manage my company project based on a STM32U5 MCU.More specifically, I'm using linked list feature (for playing audio with SAI + DMA transfer) and I have noticed what appears to me as a bug in auto-generated code.Basically, I have created through CubeMx one list named SAIQueue, with one node named NodeTx and the auto-generated initialization code is the following: /** * @brief DMA Linked-list SAIQueue configuration * @PAram None * @retval None */ HAL_StatusTypeDef MX_SAIQueue_Config(void) { HAL_StatusTypeDef ret = HAL_OK; /* DMA node configuration declaration */ DMA_NodeConfTypeDef pNodeConfig; /* Set node configuration ################################################*/ pNodeConfig.NodeType = DMA_GPDMA_LINEAR_NODE; pNodeConfig.Init.Request = GPDMA1_REQUEST_SAI1_B; pNodeConfig.Init.BlkHWRequest = DMA_BREQ_SINGLE_BURST; pNodeConfig.Init.Direction = DMA_MEMORY_TO_PERIPH; pNodeConfig.Init
All clock setup and tracing enable checkbox checked and port0 selected but still no SWO printf debug messages in CubeIDE debugger. Further research led to the SWO pin function (PB3) that deliveres the trace data from the board to the debugger. However Blackpill's SWD header only has four pins GND,Vcc,CLK,DIO, enough for firmware flashing, manual memory inspection but I fear not for SWO tracing .Is my "analysis" correct, that the stock SWD header is per design not capable of SWO tracing?ST-Link V2 only offers one additional pin (besides NRST) named SWIM on its 10-pin connector.I assume that is not where PB3 ought be connected to, correct?
Hello people,I have been developing a firmware to be used in the stm32g051. One of the features is the ability to respon to request to get information from the uC. I used dma for the uart1 tx and rx. I was happily developing and testing the new feature added into the stm32g051. Then when I use it without the debugger, it is unable to stablish communications between the PC and the microcontroller. The curious thing is the fact that I remove the debugger -I disconnect it- and the communication still works. It is the "reset" without debugger what is unable to stablish the connection. I change the clocks following the several post regarding this problem but the solution still eludes me.
Hello everyone!I'm facing a problem when trying to switch a bank on STM32H745 MCU. The issue happens only when the debugger is disconnected. Our implementation uses the HAL library to perform Bank switch like this:HAL_FLASH_Unlock(); HAL_FLASH_OB_Unlock(); FLASH_OBProgramInitTypeDef info; HAL_FLASHEx_OBGetConfig(&info); // swap banks in option bytes info.OptionType = OPTIONBYTE_USER; info.USERType = OB_USER_SWAP_BANK; if (info.USERConfig & OB_SWAP_BANK_ENABLE) info.USERConfig &= ~OB_SWAP_BANK_ENABLE; else info.USERConfig |= OB_SWAP_BANK_ENABLE; __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_ALL_ERRORS_BANK1); __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_ALL_ERRORS_BANK2); HAL_StatusTypeDef ret = HAL_FLASHEx_OBProgram(&info); if (HAL_OK == ret) { // launch new configuration ret = HAL_FLASH_OB_Launch(); } (void)HAL_FLASH_OB_Lock(); (void)HAL_FLASH_Lock(); __HAL_RCC_CLEAR_RESET_FLAGS(); NVIC_SystemReset();In some of the builds it does not work and after reset it keeps r
I’m using an ST‑LINK V3 Minie with an STM32F100RBT6B Discovery board (which also has an STM32F103C8T6), and it works perfectly. However, when I connect the same ST‑LINK V3 Minie to my custom board that uses the same STM32F100RBT6B chip, it fails to connect.I’ve wired VCC (VTref), GND, NRST, TMS/SWDIO, and TCK/SWCLK exactly as specified.Black - GroundWhite - VccYellow - ResetBlue - ClockPurple - TMSOn the Discovery board this setup works fine, but on my custom board the debugger cannot establish communication.Could anyone suggest what additional checks I should perform on the custom board?
Hello, We are developing a design around VNF1048F & VNF1248F products. We are considering a multichannel design with different output settings. In a multichannel design, naturally we are expecting to have control and monitoring capability of individual channels. We would like to know if the SPI and Diagnostic functions are accessible if we disable VS supply (with external main switches). Basically, we want to disable the outputs and monitor or control the channels to see which one is broken. One absurd idea that we are thinking is that we could supply V3V3 pin (internal LDO output) with external 3V3 source to keep logic awake but we are not sure if it will damage the IC or if it will work. Could you please let us know if this is possible? Thanks.
HiI'm trying to make a text that gets bigger automatically with smooth animation.Is there any way to make it happen using touchgfx?I tried, but I couldn't find a good way to implement it.I tried to make two typed text (one bigger, one smaller), but switching these two seems too unnatural and awkward.Is there any way to dynamically change font size with animation?
Hi,I’m working with the LAN9253 and an STM32F446ZCH6, using Quad-SPI for Ether CAT communication. I attempted to interface with the LAN9253 over QSPI using the STM32 HAL libraries, but I haven’t been able to get it working.Are there any existing libraries or reference implementations available for using QSPI with the LAN9253?Thank you,Deekshitha.
This branches off from the second question I asked in here. Using the example code (Ux_Device_Audio2.0_PlayBack) right off the bat does not work, and this is what I've done so far.HardFault DiagnosisEncountered HardFault_Handler() when audio playback started.Fault analysis revealed:FORCED = 1IMPRECISERR = 1 (Imprecise data access violation)Fault occurred in _ux_utility_memory_copy() due to an invalid destination address: 0x3071BFBA.Buffer Pointer ResetThe destination address was out of bounds.Manually reset BufferCtl.wr_ptr = 0.This resolved the HardFault and allowed playback to start.However, pausing or stopping playback caused the last audio segment to loop indefinitely.Fixing Audio LoopingAdded BSP_AUDIO_OUT_Stop(0) inside the alternate_setting == 0 block of the stream change function.This stopped the looping but introduced a screeching sound mid-playback.This raised questions:Is the buffer not clearing properly?Is the screeching due to stale audio segments?Memory Layout Correc
Dear all, when I press Install button in the Toolchain Manager of the 2.0.0 CubeIDE it hangs after opening the subsequent dialog. I cannot close this dialog or press any button with neither mouse nor ESC key. Workaround: return first back to the Toolchain Versions dialog and close it. Then I could press "Next" and continue installing GNU Tools for STM32 version. Regards,Dmitry
Hello,We are developing a design around VNF1048F & VNF1248F products. From the other community posts, we learned that VNF1048F has ASIL - B for functional safety rating.We would like to confirm this information, and we also would like to know if VNF1248F has any functional safety capability.Can you also share the related safety documentation for both devices?Thanks.
Hi, I've got a STM32U5G9ZJ-DK2 Discovery kit.I'm trying to setup the ADC to work with GPDMA doing a continuous acquistion of two channels into a large buffer of samples. I got it working perfectly fine with ADC4, but I just don't get it work with ADC1.From what I can tell it looks like the DMA Request from ADC1 is not forwarded to the GPDMA.ADC1 itself works, too. It works well in interrupt mode (triggering an IRQ after the sequence of two channels).Is the a special trick to enable the GPDMA request from ADC1, like is there a certain clock or power domain that must be enabled? hdma_adcx.Instance = GPDMA1_Channel8; hdma_adcx.InitLinkedList.Priority = DMA_LOW_PRIORITY_LOW_WEIGHT; hdma_adcx.InitLinkedList.LinkStepMode = DMA_LSM_FULL_EXECUTION; hdma_adcx.InitLinkedList.LinkAllocatedPort = DMA_LINK_ALLOCATED_PORT0; hdma_adcx.InitLinkedList.TransferEventMode = DMA_TCEM_LAST_LL_ITEM_TRANSFER; hdma_adcx.InitLinkedList.LinkedListMode = DMA_LINKEDLI
Hello!I am trying to get an MQTT project to work, but having some issues. At some points randomly the program stops and does not respond to the remote server anymore. In hopes of figuring it out I tried to enable stack checking from ThreadX settings from CubeMX, and generated the code. BUT, whenever the stack checking was disabled, DNS was able to retrieve the IP address always. Now, it fails every time.The function "nx_dns_host_by_name_get" is called from the begging of SNTP thread. After calling the mentioned function, the return status is NX_DNS_QUERY_FAILED (0xA3). I have the DNS set up as to retry 3 times with a timeout of 10 seconds.Checking from WireShark I can see that the device did send out the query to get the IP address, and the router answered, but for some reason the packet was not received/saved on the device side. After that I get 3 different ARP packets from the router, which is trying to identify my device, but no responses. Finally, 2 more attempts are made by t
Hi,We're planning to integrate a file system with the VENC_SDCard example for the STM32N6x7:https://github.com/STMicroelectronics/STM32CubeN6/tree/main/Projects/STM32N6570-DK/Applications/VENC/VENC_SDCardWe found Revision 3 of UM1721 Developing applications on STM32Cube™ with FatFs dated February 2019 and were wondering if that's the most recent revision of the document?https://www.st.com/resource/en/user_manual/um1721-developing-applications-on-stm32cube-with-fatfs-stmicroelectronics.pdfWill
I am trying to start 6 virtual com ports over usb. I could start 4 using a USB composite pack made by a developer. From what I have read and tried, there are not enough endpoints for 6 com ports and only maximum for 4 (9 bidrectional EPs, 1 reserved for EP0; 2 IN EPs and 1 OUT EP per com port). Is it possible to start 6 com ports at all by reusing or bypassing an IN EP?
I am working with the Nucleo-STM32F753ZI board and using the internal OPAMP peripheral. The supply is 3.3 V, and according to the datasheet the OPAMP output should swing close to the rails, but in my case the maximum output I can get is only around 2.4 V.Has anyone faced this issue on STM32F7 series?Is there any configuration, calibration, or internal routing limitation that restricts the OPAMP output range on this board?Any guidance on how to achieve the full output swing (near 3.3 V) would be helpful.
Hi,I have noticed a little problem in the "Live Expressions" function.The first time I open STM32CubeIDE and debug my firmware, I can see the value of all expressions previously written by me.When I stop the debug and debug again, some expressions does'nt show the value. Instead this appears the message " Failed to evaluate expression".The curious is that if I "rename" the expression the correct value appears again. For example, adding a space (or removing a space) at end of a expression with the message " Failed to evaluate expression" solve the problem.This are happenning with anyone more?This is a real bug?! How this problem can be solved?Best regards, DIego Volpini
Hi everyone,I'm encountering a critical issue when attempting to debug/flash my STM32 microcontroller using my ST-LINK debugger in STM32CubeIDE.The Initial Error: When I start a debug session, I receive the pop-up: ST-LINK firmware upgrade required. Please upgrade the ST-LINK firmware using the upgrade tool.
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.