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 all, Is there any way to retrieve a list of all peripheral registers Address and Names for a specific MCU?I would like to have it as a json document, My Approach right now would be to parse the MCU-Specific Header file in STM32 HAL. I would need to do it for many different MCUs, so I am looking for a possibility to have it done without huge manual effort.I am wondering if there is any easier way to do this, like extract from SMT32CubeIDE? Or maybe it is somewhere available already? Best Regards,Dietrich
Hi,We have STM32N6570-DK and are testing camera input, video encode and write to SD cardWe have not been able to make the "VENC_SDCard_Appli" example work, the SD card just contains zeros.The "VENC_SDCard_ThreadX" example does work however, resulting in an 800x480 video.Are there any examples on encoding at 1080p resolution? Changing the encoder parameters and level results in memory allocation failures in EncAsicMemAlloc_V2.Many thanks
Hi,we are experiencing an issue with the STM32G0B0 when RDP level 1 is enabled, following the steps below:Flash the device using J-LinkStart the device and let the application set RDP = 1Enter the STM32 ROM bootloader (via UART)Disable RDP protection (perform mass erase)Program new firmware with bootloaderReboot the device and set RDP = 1 againAfter this sequence, the device remains locked.Even if we apply multiple resets using the NRST pin, the device does not recover.The only way to unlock the device is to completely power-cycle it (turn the power off and on again).Is it possible to re-enable RDP protection and start the new firmware without removing power from the device?Thank you for your support.
Hello Community,I'm currently facing an issue with entering the USART bootloader mode on my STM32U5 development kit (STM32U5A9JDK). Despite following the standard procedure, the device refuses to enter bootloader mode, and I'm hoping someone here might have insights or experience to share that could help resolve the issue.Here's a breakdown of the situation:I'm using a USB to UART converter that I've confirmed is pulled high.The BOOT pin configuration is set to '0' as required for USART bootloading.While the STM32 reference manual indicates the need for an RS232 transceiver, I've come across posts suggesting that it's not necessary if the voltage levels are correctly maintained.The voltage levels between my converter and the STM32U5 seem to be compatible, yet the bootloader mode remains elusive.I'm wondering if there's a nuance I'm missing here, especially regarding the RS232 transceiver. Has anyone successfully entered the USART bootloader mode under similar conditions? Could there be
Hello,I'm integrating the custom TouchGFX application with the SPI display on the custom hardware.Used MCU is the STM32WB55 display is based on the SSD1357, connected with the SPI.The application seem to hang during rendering of the first frame after the first vsync is called.This is the traceback:touchgfx::LCD16bpp::TextureMapper_L8_RGB565_Opaque_NearestNeighbor_GA::drawTextureMapScanLineSubdivisions() at 0x803702e touchgfx::LCD16bppSerialFlash::drawGlyph() at 0x8043fb0 touchgfx::LCD::drawStringInternal() at 0x8032bec touchgfx::LCD::drawStringLTR() at 0x8033018 touchgfx::LCD::drawString() at Texts.cpp:54 0x8030008 touchgfx::TextArea::draw() at TextArea.cpp:55 0x802431a touchgfx::Screen::JSMOC() at 0x80352e8 touchgfx::Screen::JSMOC() at 0x8035292 touchgfx::Screen::JSMOC() at 0x8035292 touchgfx::Screen::JSMOC() at 0x8035292 touchgfx::Screen::startSMOC() at 0x803533e touchgfx::Screen::draw() at 0x803536c touchgfx::Application::draw() at 0x803369c touchgfx::Application::drawCachedAreas()
Hi, we use the ST25DV16KC and for development i use the ST25R3911B. Problem is: ST25R3911B connected via micro usb to the pc. so far looks good Pressing the TAG Editor Button I just want to read the config: Pressing Button Read Configuration leads to this: Same board same chip on my colleagues desk works. 1: What could be the issue? 2: Is there an alternative reader? Suggestion for scripting? Kind Regards
I have// Prevent a compiler warning on fall-through from one 'case' to another in // a 'switch' statement // https://gcc.gnu.org/onlinedocs/gcc/Statement-Attributes.html #define INTENTIONAL_FALLTHROUGH __attribute__((fallthrough)) But the IDE flags it as a syntax error:and it's not just the macro: The usage is correct according to GCC documentation:https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Statement-Attributes.html This is purely in the editor - the actual compiler gives 0 errors and 0 warnings.IDE v1.13.1 on Win 11. Seems to be a known Eclipse issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=567227
Hello everyone,I am facing an issue with the STM32CubeIDE V1.17.0 indexer, where it highlights a syntax error when using the C11 _Generic primitive. Due to company project policies, I cannot upgrade to a newer version of the IDE at this time, so I need to find a solution or workaround for V1.17.0.The indexer flags the code as a "Syntax error" as shown in the attached image:The PAR_SET macro is defined as follows: Key details:There are no missing includes or path issues.The code compiles successfully without any errors or warnings (GCC is happy).Runtime performance is intact, and the macro functions exactly as expected.The problem seems to be strictly with the indexer being unable to parse the C11 _Generic keyword correctly. Has anyone encountered this or found a way to "hint" the correct syntax to the indexer?Any suggestions are greatly appreciated!Best regards, Žiga
HelloI am new to this forum, so if I am at the wrong place, let me know. How can this software: https://www.st.com/en/development-tools/stm32cubeclt.html be installed from a script? Namely into docker container? I get the following error: ``` DISPLAY not set. Cannot display license. Aborting. ```Thanks in advance.
Hello everyone,I’m working with STM32CubeIDE (v1.19) and STM32 projects, but currently I don’t have any STM32 board or debug probe available.What I want to achieve is not real hardware simulation, but something like:Step-by-step executionBreakpointsVariable watchingLogical flow debuggingConstraints::cross_mark: No STM32 board:cross_mark: No ST-Link / J-Link:cross_mark: No QEMU / Renode / Proteus:white_heavy_check_mark: Only PC-based development
I'm currently working on an STM32WB project and would appreciate guidance on the correct sequence to enter STOP2 low-power mode and wake up via an EXTI interrupt, ensuring all peripherals resume normal operation post-wake-up.Specifically, I’m looking for:The recommended steps to enter STOP2 mode, including any pre-conditions or configurations.The proper configuration for EXTI-based wake-up (I’m using a GPIO line for this).Best practices to ensure that all necessary peripherals (UART, SPI, ADC, USB, etc.) are correctly restored after wake-up.Any important considerations related to Core 2 (BLE stack), clock sources, or peripheral clocks that should be handled manually before or after STOP2.I’ve reviewed the reference manual and some ST examples, but a consolidated, recommended sequence or reference to an app note/code example that handles these aspects cleanly would be very helpful.Thank you in advance for your support!Refrence code:int main(void) { /* USER CODE BEGIN 1 */ /* USER CO
Dear allI am relatively new to STM32, using STM32H563 as an SPI slave to receive data and send some feedback data as same time, The SPI master is a Tiva MCU form Ti, as data is relatively long, I need to use DMA, I tried to find an example for it, but there is none with DMA, could some one please provide some starting point for me? Thanks in advance.Ping
In the STM32L4P5xx datasheet, some pins' IO structure is labelled with _l (in combination with other letters). However, this letter is not explained in Table 14 nor anywhere else.Can this please be explained?Thanks,JW
I'm having trouble enabling RTOS proxy for debugging. I followed the following tutorial:https://www.youtube.com/watch?v=iRaiMvYZ08oI get the following error:Error in final launch sequence: Failed to execute MI command: target remote localhost:60000 Error message from debugger back end: Remote replied unexpectedly to 'vMustReplyEmpty': timeout Failed to execute MI command: target remote localhost:60000 Error message from debugger back end: Remote replied unexpectedly to 'vMustReplyEmpty': timeout Remote replied unexpectedly to 'vMustReplyEmpty': timeout STM32CubeIDE v2.0.0STLink connected with SWCLK and SWDIO with up to date firmwareSTM32H725 custom boardTested on new project generated using CubeMXHere are my debug configuration settings:Please let me know if you require any additional information.Thanks in advance!
I am testing power consumption. The hardware is using nucleo-L476 and X-NUCLEO-NFC08A1, and the software is using the NFC06A1_PollingTagDetect routine from X-CUBE-NFC6. The test revealed that the average power consumption was 180 uA when entering the wakeup. I was using a 3.3V power supply. The minimum current is 40 uA.I'm not sure how to make the necessary modifications to achieve the description in AN5320.
Hi,My name is Siyabonga.I am working with the STM32MP257F-EV1 board and have downloaded the STM32MPU-Ecosystem v6.1.0. I am trying to generate a pulse-per-second (1PPS) signal using the Ethernet module.I followed the guide titled "How to configure PTP PPS OUT" from the STM32MPU wiki. According to the documentation, pin PB15 on the MikroBUS can be used for PPS OUT, and when configured with AF10, it can function as ETH-PPS-OUT. I have added this pin configuration to the device tree and rebuilt the image.However, I am unsure how to correctly link the PPS output of the Ethernet MAC to pin PB15. When I connect an oscilloscope to PB15, the signal is either not as expected or, in some cases, appears to be only noise.I would appreciate your assistance and guidance on this matter.Thank you in advance.
Hello everyone,I’m working with the 1N5822UB1 Schottky diode and need forward current (If) vs forward voltage (Vf) characteristics at -55°C. The datasheet only provides graphs for 25°C, 100°C, and 120°C, but my application requires performance data at -55°C.Does anyone have a graph or table for If vs Vf at -55°C?Any guidance or resources would be greatly appreciated.Thank you!
Hi you all,as a breef summary; I set up a timer to trigger an adc that should than use the DMA to transfer the data to memory, i need 111 samples at a time. Sadly for some reason this only works for one sample so if i check __HAL_DMA_GET_COUNTER(g_hadc1->DMA_Handle) it will get stuck at 110.and subsequently my HAL_ADC_RegisterCallback(g_hadc1, HAL_ADC_CONVERSION_COMPLETE_CB_ID, ADC_LineScanComplete_Callback); is never called.Though the timer and ADC for sure triggeres as i can the see the DR register updating its value.And as far as the reference manual goes (Page 961 DMA One-shot) it should be possible to use HAL_ADC_Start_DMA(g_hadc1, (uint32_t*)dest, 111); to get like 111 sequential timer triggered samples, that are transfered to memory via DMA I tried various combinations of all possible adc settings, and all of them keep beeing stuck on 110 remaining DMA cycles. As well as trying to look up the resgisters for any errors that might have been accured, but
MCU: STM32H7S7L8H6HIssue: Choppy scroll animations after regenerating TouchGFX/target/generated in CubeMX files with TouchGFX 4.26 (previously 4.24.1 or 4.25)SymptomsScroll wheel with custom containers (toggle buttons + text) now shows low FPS when swiping. The same widget was way smoother before regeneration. I have a device with old generated files still running smoothly, confirming the regression is in the regenerated target code (check video, the smoother one is the bottom one).Unfortunately, I haven't git the TouchGFX/target/generated because I thought it was being generated by TouchGFX Designer and not CubeMX, so I have no idea what code it was running before. Sure thing is, the scroll wheel logic in the GUI folder is the same for both things.I was already using TouchGFX Designer updated to 4.26 when everything was smooth so, I think the file generated by it are ok.What ChangedRegenerated via CubeMX, replacing:nema_hal.cOSWrappers.cSTM32DM
Hello,I want to ask if it is possible to install STM32Cube extensions into Cursor.I looked in the normal extension list but I could not find them.Is this supported now or will it be supported in the future?Thank you.
I am currently using the X‑NUCLEO‑IHM16M1 expansion board and noticed a discrepancy between the Motor Control Workbench and the official ST documentation regarding the rated current.In Motor Control Workbench, the Rated Current is shown as 2.1 A.On the official product page and data brief, it states Output current up to 1.5 A rmshttps://www.st.com/en/evaluation-tools/p-nucleo-ihm03.html Could you please clarify the following:What is the basis for the 2.1 A figure shown in Motor Control Workbench (e.g., RMS, peak, or internal limit)?Which current rating should be considered as the actual board limit for design purposes?Does the difference relate to the STSPIN830 driver’s internal specifications or to a configuration setting in the tool?Thank you very much for your support.Best regards,HyeonSeok
M95P16 data sheets says chip erase cycle is 100, but an5866 says chip erase counts as a cycle every page. Which is correct? Datasheet:AN5866:
I have managed to create a template application on a NUCLEO-H755 that has several CM7 FreeRTOS tasks running to flash various LED patterns combined with a CM4 application that flashes one of the other LEDs. I have mainly been testing using a run configuration (with LEDs to verify behavior), but sometimes a debug configuration, and when working, the program behaves well and runs overnight. Flashing and starting the code has always been somewhat questionable (likely due to my inexperience with STM32CodeIDE (V 1.19)), but recently I am no longer able to successfully Run or Debug at all.The current behavior is as follows:1) The first time I try to Debug (or Run), I get a "Failed to execute MI Command" with the error indicating failure to finish loading the flash for the CM7.elf.2) The second time I try the same Debug or Run command, I get a "Failed to Start the GDB server", and I am not able to communicate with the ST-Link on the NUCLEO at all.3) The only way that I have been a
Dear @YutinhLin , Post Edited by ST moderator to apply source code formatting and translate from Chinese to English to comply with the community rule: Best regards, Gyessine 晶片型號 : STM32H723VGTx RX 與 TX Buffer 都已配置到 D2 區塊 使用狀況 : 第一次執行 HAL_UART_Transmit_DMA 正常 執行 HAL_UART_AbortReceive() -> HAL_UARTEx_ReceiveToIdle_DMA() 後 再執行 HAL_UART_Transmit_DMA 無法正常工作 請問這樣的使用方式是否正確 或是需要另外的設定動作才能再正常使用 Chip model: STM32H723VGTx Both the RX and TX buffers are allocated in the D2 domain. Usage scenario: The first execution of HAL_UART_Transmit_DMA operates correctly. After executing HAL_UART_AbortReceive() followed by HAL_UARTEx_ReceiveToIdle_DMA(), subsequent execution of HAL_UART_Transmit_DMA does not function as expected.
This https://blog.st.com/stm32wl5x-stm32wl5m/ seems to suggest that the wireless module could be either 900 or 800 MHz bands."Hence, coupled with the wide frequency range supported by its STM32WL5x, the module can work in Europe, Americas, and Asia."Does this mean that my product can be built with identical hardware for two different markets and the software could select the proper region? Does it need a special antenna to operate over a wider range? Or is it just that this module has different variants for different markets?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.