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 try to use TouchGFX with FreeRTOS, and one of the many problems I found, is thath the screen is nod refreshed because Thread (TouchGFX_Task) is waiting inside OSWrappers::waitForVSync, but VSync is disabled in configuration. I'm missing something? I followed all the steps in the tutorial (https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-configure-rtos) but seams doesn't working. I'm using an SPI display, the project is for M7 core on STM32H755
Hello, I'm looking for an example with TouchGFX and AZRTOS / Azure RTOS (and USB). I'm using a customer board with STM32H7S, LCD and USB. For USB applications, AZRTOS / Azure RTOS seems more suitable to me.Does anyone know of an example or instructions? Dear ST employees, It would be great if TouchFX could optionally generate code without RTOS.
I am working on the NUCLEO-H755ZI-Q, which contains a dual-core STM32H755 (Cortex-M7 + Cortex-M4). I configure the system clocks in CubeMX as follows: SPI1/2/3 Clock MUX: 400 MHz System Clock: Configured for high-speed operation CM7 core frequency: Correctly matches the configured value (e.g., 200 MHz / 400 MHz depending on settings) However, when I debug or read the CM4 core clock, I always see: CM4 clock = 64 MHz It does NOT increase even when I configure higher values in CubeMX. Regards, Prathiksha
Hi all,I'm looking for a way to remotely *flash* a B-U585I-IOT02A | Product - STMicroelectronics eval board using the built-in STLINK-V3.Remotely means over TCP. Can be at the same computer (e.g., to pass-through debuggers to Docker containers), or across computers.This works well with GDB for debugging, but I need this to get running with flashing, too.Questions:Is there a way to make STM32_Programmer_CLI or related ST apps connect via TCP instead of directly to the debugger? I found ST-LINK-SERVER | Software - STMicroelectronics which seems to create the TCP bridge, but do any ST tools actually use it?Are you aware of this working with free tools like openocd?I could also flash via GDB, but I'm concerned about the special parts like trust-zone, option bytes, etc. Plus, I'm evaluating Zephyr, and the default way to flash the board is to use the stm32cubeprogrammer: B-U585I-IOT02A Discovery kit — Zephyr Project DocumentationThanks.
Hy,we are about to create a Proof-of-concept system for a camera application. We want to use STM32N6 Nucleo-144 board (MB1940) Board and add a extension board to CN2, CN3, CN15 and CN16. The project needs Ethernet (which we want to use from Nucleo Board) and PSSI16 Bit (which we want to realize on the extension board).I create a CubeMX project from scratch and select Nucleo Board as starting point.I am not able to configure both, Ethernet and 16 bit PSSI. When I start from the controller itself (no Nucleo) it seems to workWhat do I miss?Best regardsHarald
I am working with the NUCLEO-N657X0-Q and I am looking for a reference project or a pointer to an example that implements USB Host Mass Storage Class (MSC).My Goal: I need to mount a USB memory stick to read test vectors, process them using the Cortex-M55, and then write the output results back to the USB stick.Current Blockers:I have searched through the latest STM32CubeN6 Firmware Package, but I haven't found a ready-to-use USB Host MSC example specifically tailored for this Nucleo board.Given the new architecture of the STM32N6 (including the high-speed USB PHY and the NPU/M55 pipeline), I want to ensure I am using the correct driver implementation for the USB stack.Does anyone have a pointer to a compatible example or a known working configuration for USB Host on the N6 series? Specifically, I'm looking for guidance on integrating ThreadX/USBX (or the classic middleware) with FileX/FatFs for this board.Any help or GitHub links would be greatly appreciated!
Sequent Microsystems designs and sells Automation Systems using Raspberry Pi. All our products use STM processors. We use about 10,000 processors per year in different configurations. Generally we do not have any quality problems, but occasionally we run into a defective lot. On a recent run of 30 prototypes using STM32G431CBT6, 50% were defective. We replaced the processors and all boards worked as expected. We buy all out processors from a Chinese distributor.We saved the defective processors and I would like to know if you would have any interest in inspecting them to find out why they entered the distribution chain, and to advise us how to avoid this problem in the future. Mihai BeffaCEOSequent Microsystems
Hello everyone,I’m working with an STM32F103RCT6 on a custom board, and I’m trying to use the built-in RTC using ST Low-Layer (LL) drivers.When I enter debug mode, the application gets stuck inside LL_RTC_Init(). It neither returns SUCCESS nor ERROR — it keeps looping internally, apparently waiting for a flag that never gets set.Here is the function from my application: void LL_RTC_Init_Custom() { // TODO: RTC clock needs to be set to LSE. On the dev kit, LSE isn't available LL_RTC_InitTypeDef rtcInit = { .AsynchPrescaler = RTC_CLK_PRESCALE, .OutPutSource = LL_RTC_CALIB_OUTPUT_NONE }; ErrorStatus status = LL_RTC_Init(RTC, &rtcInit); if (status != SUCCESS) Error_Handler(); } Inside this function, it stucks here, in this while loop below.ErrorStatus LL_RTC_ExitInitMode(RTC_TypeDef *RTCx) { __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; ErrorStatus status = SUCCESS; uint32_t tmp = 0U; /* Check the parameter */ assert_param(IS_RTC_ALL_INSTANCE(RTCx)); /* Di
From what I can read on this diode it is from ST for sure, and it says G beside the logo, the next line is BEX, and the last line is GP048. Any help would be appreciated
Hi,I want to design a voice announcement system using the STM32F103C8T6.My requirement is to Load WAV audio files from an SD card and play them using the STM32, without using any external DAC.I would like guidance on how to start the project using STM32CubeMX / STM32CubeIDE, including:Peripheral configuration in CubeMXAudio playback method without a DAC (for example, PWM-based audio)Basic coding structure to read WAV files from an SD card and play themAny help or reference projects would be greatly appreciated. I have design hardware also here attachment is there please go through it ...Thank you
Hi for all,I use Cube MX to generate code with CMake and then use Vscode with needed extension to compile my code.My question is : i want to use library that contain multiple folders to drive stepper motor, how to add this library to my project.best regard for all thanks for any reply
Dear Team,We are trying boot Uboot(V2025.04) on a Custom board with STM32MP157AAA3 Processor.But while booting we can see that code hangs at WDT: started Watchdog@5a002000 with servicing every 1000ms (32s timeout) and restart after sometime.We have attached the screenshot for the reference Thanks & RegardsAkshitha Pattem
Bit-banding Alternatives for Modern ARM Cores Background Information: The bit-banding feature available in ARM Cortex-M cores (ARMv7-M architecture including Cortex-M3 and Cortex-M4) provides hardware-level mapping of individual bits within a 1 MB memory region to words in a 32 MB alias region. This mechanism enables atomic bit manipulation without requiring read-modify-write operations. Specific Query: For ARM Cortex cores beyond M7 architecture that do not support the bit-banding feature, could you please provide detailed information regarding: Available alternative methods for atomic bit manipulation Performance implications of these alternatives Recommended implementation strategies for maintaining atomic operations Code examples demonstrating these alternative approaches Request for Documentation
Using latest STM32CubeMX version 6.16.1 on STM32N6570-DK. It is possible to assign peripherals like UART, I2C, etc. into multiple contexts - boot, app, memloader, but I cannot find a way to assign plain simple GPIO's into multiple contexts. CubeMX only allows to pick Free (which means none) or one of them. Needless to say, I would like to use same LEDs and buttons from multiple contexts. I don't think the RIF is the cause, not using it right now. Seems like a missing feature.
Hello!I wanted to set up some settings from CubeMX, specifically NX_IP_PERIODIC_RATE in NetXDuo and Rx Descriptor Length in ETH section. NX_IP_PERIODIC_RATE default value is set to 100, but when I set it to 1000, the value does not change when re-generating the code.Rx Descriptor Length default value is set to 4, but when I set it to 8/16/32, the value does not change when re-generating the code. Right now, whenever I re-generate the code, I just manually change these settings in my code due to these settings being set to their default ones. The same problem occurred in CubeMX version 6.15. One thing to point out also, is that the settings I changed are not set back to their default ones in CubeMX, only in the generated code. Also, no errors or warnings are displayed.Is this a bug or am I supposed to do something else before being able to change and apply these settings?
Hello,(@Gidi)Does a FreeRTOS BSP for SR5E1-EVBE5000P exist?Yacob.
I need help to setup TMP102 alarm function. My board is NUCLEO-F439ZIReading the temperature is working fine.uint8_t TMP102_ADDR = 0x48 << 1;uint8_t REG_TEMP = 0x00;uint8_t buf[12];buf[0] = REG_TEMP;ret = HAL_I2C_Master_Transmit(&hi2c2, 0x90, buf, 1, 10); // OKret = HAL_I2C_Master_Transmit(&hi2c2, 0x90, 0x00, 1, 10); //OKret = HAL_I2C_Master_Receive(&hi2c2, 0x90, buf, 2 , 10); //OKreads the temperature correctly. Buf[0] and buf[1]has correct temperature data. I am trying to setup the alarm function. Reading/writing the Limit registers are failing.Datasheet states that Thigh=80C, and Tlow=70C. After Reset.I am reading the Thigh registers, with the following code:uint8_t reghi = 0x03;ret = HAL_I2C_Master_Transmit(&hi2c2, TMP102_ADDR, reghi, 1, 10); // failis sending 0x00 on reghi. I verified by scope.ret = HAL_I2C_Master_Transmit(&hi2c2, TMP102_ADDR, 0x03, 1, 10); //fail it i
Hello Community,I have just started working with the Stellar SR6P3 microcontroller.Do you have any CAN XL application examples or CAN XL driver examples available?I have searched within the Stellar SDK, but I could only find examples related to CAN / MCAN, not CAN XL.Could you please help me with this?For your information, we have already signed the NDA.Thank you very much in advance.Best regards,
Hello,I am using STM32U5 with an external Winbond W25Q128 (Quad SPI NOR via OctoSPI).Could you please clarify from where an external loader (.stldr) for STM32U5 OctoSPI NOR can be obtained, if available?I checked the following locations and did not find any loader for STM32U5:STM32Cube_FW_U5/UtilitiesSTM32Cube_FW_U5/ProjectsSTM32CubeProgrammer default ExternalLoader directoryIs there an official external loader provided by ST for STM32U5 + OctoSPI NOR, or is it currently not supported?Thank you for the clarification
OverviewI’m working on a custom PCB based on STM32H757BIT6, conceptually similar to the STM32H747I-EVAL board. The original EVAL board uses a Micron MT25TL01G (dual-die) QSPI flash on BK1_CS (PG6). On my board, the flash is replaced with MT25QL01G (single-die) and connected to BK2_NCS (PC11).I need to know what changes are required in the BSP and external loader (.stldr) to make them work with this new flash and cs pin changes.HardwareMCU: STM32H757BIT6QSPI Flash:Original: MT25TL01GHBB8ESF (dual-die)New: MT25QL01GBBB8ESF (single-die)New QSPI CS is connected at BK2_NCS (PC11); BK1_CS is tied to BK2_NCS.ToolsSTM32CubeIDE 1.18.xExternal loader build: IAR EWARMProgrammer: STM32CubeProgrammer v2.18.0ST-LINK FW: V2J46S7Differences vs EVALFlash changed to single-die MT25QLCS moved to BK2Hardware is fixed; BSP/loader adapted from EVALCurrent StatusApp firmware: QSPI init works after making few changes like FlashID = QSPI_FLASH_ID_1, DualFlash = DISABLE, memory-mapped mode initialization
I'm looking to upgrade one of my years-old BLDC 6 step designs which used STM32F401 and too many other components! I like the look of STSPIN32G4 and so purchased an EVSPIN32G4 development platform.It seems I have successfully worked through MC Workbench 6 Step Wizard, including adding my test motor, without error and one warning - pwm generation "Danger: there is no OCP nor Driver Protection enabled" - this despite there being everything required for this on the EVSPIN board but no option to enable it (can we add this to the wish list please).'Generate the Project' works, I've followed through with CubeMX and IDE, produced code and downloaded to EVSPIN32G4 - all good.ST Motor Pilot connects ok with board, clicking on 'Start', motor briefly kicks before Pilot reporting 'Speed Feedback' fault. Using 'Ack Faults' to clear the error, 'Start' again produces same effect consistently.In 'Advanced Configuration' I notice a 'Speed Kp' value of 2038. Changing this to -2038, I can now run t
Hello We are implementing the memory CRC generation sequence as described in the reference manual. According to the documented procedure, the following steps must be executed:1. Write 0x0 in CRCC[1:0] of RAMCFG_xCCR1 to deactivate the CRC.2. Write 1 in SRAMHWERDIS of RAMCFG_xCR to disable the hardware erase.3. Select the buffer size to take into account during the CRC computation by settingCRCBS[2:0] in RAMCFG_xCCR1.4. Write 0x1 in CRCC[1:0] of RAMCFG_xCCR1 to activate the CRC.5. Write 1 in CRCCS of RAMCFG_xCCR2 to start the CRC computation.The calculated signature is stored in RAMCFG_xCCSR when CRCEOC is setin RAMCFG_xCSR.While following this sequence, the CRCEOC flag never becomes set. We have attached the code segment used to trigger the CRC operation and to subsequently start the Cortex-M33 boot process. Could you please review the implementation and confirm whether the initialization flow is correct?void ConfigRetram(void){/********************** 1 Enable ECC*****************
Despite enabling ADC, the ADC clock option is greyed out for MCU STM32G0B1KBUx. I'm using version 6.16.1
Hello team,I am using the GUI demo (single) for BMSCCTX and C4MINI with 4 LFP Batteries. I have followed the steps described by @ritehracingteam in this thread.After I run the program from the AutoDevKit Studio, my D9 and D2 LED are lit up and D8(Blue) is blinking. D7 remains turned off. Which according to the documentation means SPI is not working.I made sure Hotplug connection is made and the pin configuration is correct, also checked all the connections.Is there something I might be missing?Regards,Zen
Hi STNow I am using ST25R3916B evaluation board, it works well with the project code you provided.My final target is using 3920B on automotive for demostrating NFC card detection as well as digital car access to customer.But we will finally change to other platform's MCU, not use ST's hsot MCU.Due to our MCU has limited Fash / RAM size, we are considering to build our own middleware code to drive NFC frond end. but it looks like it's hard to understand the protocol through I2C waveform, and no any protocol document is avaiable on your website.Is migating RFAL the only way I can do for realizing NFC function with 3916B / 3920B? ThanksLeo
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.