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
Hello,we have developed our own RF modules based on the S2-LP transceiver and we are currently characterizing their maximum usable sensitivity.Measurement setupTX and RX are connected through a calibrated variable attenuator.The transmitter sends 500 packets with a 200 ms interval between packets.After the test, we create statistics on successfully received messagesOur RF settings: Frequency base = 433 MHz, Data rate = 3.84 ksps, Deviation = 2 kHz, Filter = 12 kHz; Preamble length = 64 bits. Rest parameters are identical to the configuration generated by the S2-LP DK GUI.The only parameter that changes is the RX timer configuration.Observed behaviorWe obtain different maximum usable sensitivity values depending on the RX timer setting:RX timer set to infinite (S2LPTimerSetRxTimerCounter(0)):→ Maximum usable sensitivity ≈ –105 dBmRX timer set to 200 ms timeout (S2LPTimerSetRxTimerUs(200000)):→ Maximum usable sensitivity ≈ –111 dBmThis is a significant difference (~6 dB), and we would li
Hello,I was playing around with different versions of MCU and I've notice STM32H7B3LIH has no Graphic Accelerator mentioned in Product Selector.But as soon as I'm selecting it in CubeMX I can enable DMA2D in Multimedia.And think there are more MCUs with Chrome-ART Graphic Accelerator which are not correctly shown in Product Selector.
I am using the STM32N6570-DK and I want to use the external PSRAM to declare a large variable buffer. Here is what I have done: 1. Initialized XSPI1 and the External Memory Manager. The PSRAM parameters I got from How to execute code from the external PSRAM using the STM32N6 . 2. Set the XSPI1 clock to 200MHz. Here is my system clock configuration: Here is my main code from the FSBL. I also added a `gpio_toggle` to turn the user LED on before `MX_EXTMEM_MANAGER_Init()` as a debug indicator.After adding the header and programming, the FSBL boots correctly — the user LED turns on — but then it gets stuck at `MX_EXTMEM_MANAGER_Init()` and never jumps into the `while` loop.int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MPU Configuration--------------------------------------------------------*/ MPU_Config(); /* Enable the CPU Cache */ /* Enable I-Cache---------------------------------------------------------*/ SCB_EnableIC
Hello ST Community,I am working on a commercial vending machine controller and would like to get feedback from ST engineers and experienced STM32 designers regarding a system architecture change.Problem StatementOur current system uses a single MCU, but we are now hitting hard peripheral limits, mainly:Timer availability (stepper + DC motor control)GPIO interrupt countGPIO pin availabilityIncreasing real-time jitter when multiple loads are activeThis is not a software optimization issue anymore; it is a resource saturation issue.Because of this, we are planning to move from a single-MCU architecture to a multi-MCU system.Proposed ArchitectureMaster MCU: STM32H563ZIT6Handles:All sensors (ADC / digital)Control logic & state machineRecipe executionSafety checksUI communicationNo direct motor timing generationSlave MCUs (2x):Dedicated load-handling controllersOne for stepper motorsOne for DC motors / PWM-based loadsSlaves perform only deterministic actuationNo sensors, no business logi
Hi I'm new to the STM32 board but not to Arduino IDE. I want to use two STM32 boards (with DXV lr30 900) for LoRa communication. I'm starting with a minimal program (without LoRa), just to see how the communication works between the STM32 and the Arduino IDE's serial interface. I can compile and download this program without any problems, but I don't see anything on the serial interface, whether using the ttyUSB0, ttyUSB1, or ttyS0 ports at 9600 baud. here is the test program void setup() { Serial.begin(9600); delay(2000); Serial.print("hello"); } void loop() { Serial.print("."); delay(1000); } Can anyone help me ? Thanks in advance
Hello,I’m working with an STM32MP255 and want to access GPIOs from the Cortex-M33 coprocessor (not from the A-core/Linux side). I’m trying to understand the correct workflow and configuration steps so M33 firmware can drive/read GPIO pins. Specifically:1. Are there any reference examples or official documentation showing how to assign GPIO pins to the Cortex-M33 coprocessor (M33 execution context) using device tree and RIFSC configuration on STM32MP255 / STM32MP2 devices?2. Is there a step-by-step for RIFSC/firewall, resource assignment, or device tree overlays that shows how to move ownership of a GPIO from the Linux/A-core domain to the M33?3. I’m using STM32CubeIDE to build the M33 firmware. Under SystemCore → GPIO there is no checkbox to select the Cortex-M33 execution context for a GPIO. Is that expected? If so, how should I configure ownership (is it a device tree / RIFSC setting rather than a CubeIDE option)?
Dear ST Community, Since the STUSB4710 is now NRND and no longer readily available, could you please advise what its recommended replacement is?I am specifically looking for a USB-C Power Delivery source controller that requires no firmware or only minimal firmware.Thank you in advance.
Hi,I am trying to get any communication with the source through VDM messages on my STM32G071RB + SNK1M1 setup and I am not able to. The source sends a request "VENDOR_DEFINED VDM:SVDM_DISCOVER_IDENTITY INIT" but PE on the sink responds with PE_SEND_NOTSUPPORTED. Power delivery works fine and manages to negotiate different power options.The code is generated with CubeMX following this step-by-step guide: https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Getting_started_with_USB-Power_Delivery_Sink I followed the manual (https://www.st.com/resource/en/user_manual/dm00598101-managing-usb-power-delivery-systems-with-stm32-microcontrollers-stmicroelectronics.pdf) chapter 4.5 and enabled these VDM features.To implement the VDM callbacks and some DPM callbacks I used this repo: https://github.com/STMicroelectronics/STM32CubeG0/blob/master/Projects/STM32G0C1E-EV/Demonstrations/Modules/ucpd/I am aware that there isn't sufficient hardware support for alternate modes on my current hardware but sh
Hello,Does anyone know how to setup the clock source for the N657 processor? I want to use an oscillator for the HS clock input and setup HSE = Bypass clock source...using Bypass clock it should only use PH0 (clock in) and free up the PH1 pin (clock out). But it seems the IDE / cubeMx always wants to use both pins regardless of the clock configuration.am I missing something or is this a bug?thanks, Matt
I am developing a solution using a STWBC2-HP tx running from a 24VDC supply to drive a STWLC99 rx and need to use the STSC protocol to achieve 50~100W. This is for bespoke power transfer rather than a conventional charger. I am basing the design on the steval-wbc2tx50 datasheet with ratings upgraded for the extra power. Also referring to '100w-wireless-charging-solution-based-on-stwbc2-hp-and-stwlc99-rayna-wang.pdf' from ST's website.Does the STSC protocol require Qi1.3 (ie does it need STSAFE-A110) and how do I enable this?Do I just need to configure the current and voltage parameters via the UART for this power level?Thanks.
Hi, I'm trying to spec a fully integrated H-bridge for driving a small motor taking up to 6A nominal, with spikes up to 12A (looking at the VNHD7012AY, VNHD7070AY, and the VNH7100BAS). There are a lot of numbers for current limitation on the ST datasheets that I've come across and I haven't been able to find an explanation for. How should I interpret all of these, and how are each of these numbers obtained?Specifically, I'm looking at:- Continuous maximum output current I_max- High-side current limitation I_lim_h- Shutdown low-side current I_sd_ls- Output saturation current I_out_sat (under Current Sense)
I want to make a speedometer with a STM32 MCU. What is the best solution. Do stm32 have any products wich works as a plug and play speedometer.
Hello Engineers,I have recently started developing a product based on the STM32F446RET6 MCU integrated with the RFM95W (SX1276) LoRa module. My goal is to transmit sensor data to a LoRaWAN network server such as TTN or ChirpStack.I am using STM32CubeIDE for firmware development. However, I have not been able to find clear documentation or structured examples explaining how to implement LoRaWAN (end-device) communication using this MCU and radio combination.What I am Looking For:A stable and recommended LoRaWAN library compatible with STM32CubeIDEGuidance on integrating the SX1276 (RFM95W) with STM32 HAL driversA basic bare-minimum example that sends dummy payload data to a LoRaWAN server (preferably OTAA)Any reference projects, repositories, or step-by-step guidanceTarget Setup:MCU: STM32F446RET6Radio: RFM95W (SX1276)IDE: STM32CubeIDELoRaWAN Server: TTN / ChirpStackRegion: (EU868 / IN865 — depending on deployment)Even a minimal working example that performs:Radio initializationLoRaWAN
Hi,I’m experiencing issues configuring a display using a custom PCB with the STM32H747BIT MCU and LVGL for the UI. Currently, the project runs a minimal setup with only one loop calling lv_timer_handler();. At this point, my main goal is to get the screen working correctly.I’m using LVGL in direct mode for the display buffers.The issue I’m facing is that the screen occasionally shows horizontal glitches. I’ve created a simple spinner using the following code: /* Create a spinner */ lv_obj_t * spinner = lv_spinner_create(lv_screen_active()); lv_obj_set_size(spinner, 64, 64); lv_obj_align(spinner, LV_ALIGN_BOTTOM_MID, 0, 0);You can see the glitch in the attached video.As you can see, the glitching is more noticeable in Video_1 than in Video_2. These are the display timing configurations used for each:Video_1:Video_2: Please note that the configuration in Video_1 follows the manufacturer’s recommended settings. In Video_2, I performed some tests and observed that increasing either
Hi, Does anyone know the default voltage level of an LPUART output as I am trying to interface with a device with a UART logic level of 1.8V so might need a level converter? Couldn't see anything about LPUART voltage on the datasheet?
Dear Community Members, Please be informed that the Server Update Pack will be temporarily unavailable on February 26 due to scheduled maintenance. Date: February 26 Time: From 7:00 AM (for approximately 1 hour) Central European Time (CET) During this maintenance window, you will not be able to access the server or download packs and bundles. other services are expected to operate normally. We apologize for any inconvenience this may cause and appreciate your understanding and patience.
Hi all,I’m using STM32H755 on a Nucleo board with FreeRTOS, the socket-API and CubeMX-generated LWIP. Sending a UDP packet immediately after network init works fine, but if I wait ~10 seconds before calling sendto(), it returns successfully, DMA descriptors OWN=0, ETH IRQs are triggered, yet no packet reaches the wire. Calling sys_check_timeouts() before sendto() does not help. The tcpip_thread has high priority, while the sender task runs at IDLE priority. In my tests, I disabled the Cache.It seems the issue is not PHY or DMA. It seems that sendto() copies data to the LWIP buffer, but the tcpip_thread does not process it after a long idle. How can UDP packets be reliably sent after idle without changing the network stack or manually triggering anything?Thanks for any insights!
I'm encountering a persistent issue when setting up an STM32Cube project in VS Code. Even when reverting to a previously working commit or starting a fresh setup from scratch (using the "Setup as an STM32Cube project" button), the process fails.The following error message appears:"Cube project discovery CMake configure step failed. Setup might be incomplete. Please check output logs"I have tested this on two different machines running both Linux and Windows, but the result is the same. Here are the relevant logs: 2026-02-20 08:41:11.309 [Info] Adding cube-cmake path to environment: /home/user/.vscode/extensions/stmicroelectronics.stm32cube-ide-build-cmake-1.43.0/resources/cube-cmake/linux2026-02-20 08:41:19.016 [Info] Running STM32Cube commands 'cube pack sync + cube pack install STMicroelectronics.stm32f4xx_dfp.1.1.0'2026-02-20 08:41:19.665 [Error] /home/user/Downloads/project needs to be configured first2026-02-20 08:41:22.979 [Info] Activating STM32Cube configurations for the c
Generating code for the STM32WLE5CBU.In timer_if.c:extern RTC_HandleTypeDef h;but in rtc.c:RTC_HandleTypeDef hrtc; It happened in CubeMx 6.16.1 and STM32Cube_FW_WL_V1.4.0 and is still happening using CubeMX6.17.0 and STM32Cube_FW_WL_V1.5.0
Hello!Please tell me how to create a basic C/C++ BareMetal project in CubeIDE for the A35 core of the STM32MP257F-DK board?When I create a project for STM32MP1 I have a choice to create a "BareMetal" project or a Linux project.Unfortunately, when I create a project for STM32MP257F-DK, I did not find such an opportunity for the A35 core. Only a Linux project.Considering that I need LVDS on the board, I cannot switch to the STM32MP1 series and the Linux boot time does not suit the customer.My CubeIDE Version: 1.18.0Build: 24413_20250227_1633 (UTC)
I have a problem with disabling gfxmmu. I don't have a rounded display so that actually I do not need GFXMMU.I created a project by using Touchgfx Designer Templates (STM32H7S78 DK BPP). GFXMMU is activated in default. I would like to disable it. So, I disable it in cubemx then exclude instrumantation files. Then I updated TouchgfxHal.cpp and frame buffer adresses as 0x9000 0000 - 0x9020 0000.Then I could succesfully build the project. When I run it, it is working particularly but the frame/image is broken down. I am adding the image here!Could you explain me how to enable or disable gfxmmu properly from project?
Hi I have downloaded some face detection sample code from the following repository. My doubt is that how can i replace the models in this project opened in cube IDE. which are the files need to be replaced and what are the steps need to be performed. GitHub - STMicroelectronics/STM32N6-GettingStarted-FaceDetection: AI software application package demonstrating simple implementation of face detection use case on STM32N6 products. Best Regards Ranjith Remasan
I'm attempting to modify STM32DDRFW-UTIL to test my DDR on a custom board, but when I try to connect via putty I get a continuous loop of error codes "Unknown command" without ever typing anything into the console. I noticed that the console header seems to be appearing on the input line (see attached photo). I can't figure out if this issue is caused by an incorrect DDR setup on my side or something more on the hardware side (i.e. something I don't know). Any input would be appreciated, thanks!
HiI am trying to generate anomal detection library by neai_studio v 5.1 and get library successfly.But the _studio_emulator.py shows "Error -NEAI_LEARNING_IN_PROGRESS".Please someone help me to do next?
Hello, I read somewhere that I can use the ST-LINK built into my H563ZI to program my custom cards with STM32F401.Could someone help me figure out how to do this?Thanks in advance.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.