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,I am trying to create an FSBL XIP project for the NUCLEO-N657X0-Q with the following structure: FSBL running from internal SRAM Application executing in place from the external XSPI flash ThreadX and NetX Duo running in the Application context Ethernet using the onboard LAN8742 PHY External Memory Loader project The STM32CubeN6 firmware package contains two relevant examples: Projects/NUCLEO-N657X0-Q/Templates/Template_FSBL_XIP Projects/NUCLEO-N657X0-Q/Applications/NetXDuo/Nx_UDP_Echo_Client However, the two examples use different project structures.Template_FSBL_XIP provides the required FSBL, XIP Application, and External Memory Loader structure, but it does not contain the ThreadX, NetX Duo, and Ethernet application configuration.Nx_UDP_Echo_Client, on the other hand, contains the required ThreadX, NetX Duo, Ethernet, LAN8742, and UDP configuration, but the complete application is assigned to the FSBL context instead of being built as a separate XIP Application.Copyi
Hi,I struggled a while to find out why my STM8S I2C was always “Busy”.Even AI had some headaches (except only one put me on the track ...)This device requires to configure the definition of I2C pinout in special FLASH.To do this, compile your project and open ST Visual Programmer.Load your “My_project.s19” file. There are three TABS in the window: PROGRAM MEMORY, DATA MEMRORY and OPTION BYTE. Click on option byte, select AFR6 and change it for “I2C SDA SCK” instead of “AIN4 AIN5”. Save your “My_project.s19” file.When your will burn the device, it will write the new parameters in the FLASH and the device will always be configured for I2C. You do this exercise only once.Hope it will help ….
Hi, I'm seeing a consistent issue where every sensor connected via I²C (as far as I can tell) produces 0 bytes of streamed data over USB:HTS221 (temperature + humidity) LPS22HH (pressure + temperature) STTS751 (temperature) IIS2MDC (magnetometer)At the same time, all SPI-based sensors stream normally:IIS3DWB IIS2DH ISM330DHCX (accelerometer + gyroscope)Both microphones also work correctly.Execution details:Board: STEVAL-STWINKT1BFirmware package: FP-SNS-DATALOG1 v1.5.1 (Utilities/HSDPython_SDK included)Host SDK: HSDPython_SDK (st_hsdatalog 3.0.1, st_dtdl_gui 2.1.0, st_pnpl 2.1.0), Python 3.10, Windows 10Connection: USB (WinUSB), using hsdatalog_cli.pyResult (consistent across multiple runs and after a full USB power-cycle of the board):Name Length---- ------AcquisitionInfo.json 226DeviceConfig.json 28090HTS221_HUM.dat 0HTS221_TEMP.dat 0IIS2DH_ACC.dat 76608IIS2MDC_MAG.dat 0IIS3DWB_ACC.dat 1542000IM
The test conditions of VINCL parameters of VNS3V04DPTR-E chip are: Does light inject 1mA current into the IN pin, and does the SOURCE pin need to be grounded?
Hi community,I am using yocto build ( version - openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11) in this I am facing challenge over below build time error.Exception: subprocess.CalledProcessError: Command 'tar --exclude=./sysroot-only -cf - -C .../linux-libc-headers/6.6/image -p -S . | tar -xf - -C .../linux-libc-headers/6.6/package' returned non-zero exit status 2. got *at() syscall for unknown directory, fd 4 unknown base path for fd 4, path include couldn't allocate absolute path for 'include'. function package_prepare_pkgdata finished DEBUG: Executing python function perform_packagecopy ERROR: Error executing a python function in exec_func_python() autogenerated:The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:perform_packagecopy(d) 0003: File: '/home/datadir/EVK-build-CMS/layers/openembedded-core/meta/classes-global/package.bbclass', lineno: 363, function: perform
The magnetometer doesn’t start over I2C and doesn’t output data via UART. Please help solve the problem; the files are attached.
I recently purchased the STEVAL-LLL001V1 evaluation board, which uses the STLED524 LED driver. According to the user manual (UM2143), the board requires the software STLED524_V1.44.exe (or a later version) for operation. However, I have been unable to locate this software.Could you please let me know where I can download it?
Hi everybody,I’m struggling with the lwip stack in order to get it working with freertos.I had succesfully achieved to bring up the connection and optain an ip in dhcp mode and ping the board in bare metal mode, now I switched to freertos and I’m no longer able to send discovery packets on the network.I followed the instructions stated here stm32-hotspot/STM32H7-LwIP-Examples: Ethernet examples using LwIP + FreeRTOS for STM32H7 Discovery and Nucleo boards and tried to copy .ioc configuration from H745 example but I still have the same problem, the phy connection goes up but I cannot obtain the IP address from dhcp server. I’m monitoring the network activity with wireshark but there is nothing coming from the board mac address (in bare metal mode I was able to see dhcp negotiations).Please find the attached files in order to check what happens and addres the possible issue.My configuration: STM32CubeIDE Version: 2.2.0STM32CubeMX Version: 6.17.0STM32Cube FW_H7 V1.13.0PS: please note that
Hi ,I generated a new STM32F407 project using STM32CubeMX.However, I cannot find I-CUBE-LRWAN under Software Packs or Middleware for the STM32F407G-DISC1 board.From what I understand, CubeMX only exposes I-CUBE-LRWAN for certain STM32 devices such as:STM32WL series B-L072Z-LRWAN1 Discovery Kit Some STM32L0/L4 examplesbut not for STM32F407.Because of this, I am unsure about the correct integration method.What I have DoneCreated a new STM32F407G-DISC1 project in STM32CubeMX. Configured the required peripherals (SPI, UART, GPIO, RTC, etc.). Added the SX1262 driver from the following repository: https://github.com/Saba-abiri/LORA1262 Identified and copied the required I-CUBE-LRWAN source files into my STM32F407 project. Resolved most of the compilation errors after integrating the middleware. Successfully built the project.Although the project now builds successfully, I am still unsure whether the middleware has been ported correctly because the LoRaWAN stack does not appear to initializ
I have a custom design with STM32mp135f + MT41K256M16TW-107 DDR3L @ 533MHz that I want to bring up. I built a Linux image based on OpenSTLinux guides and it boots until my kernel is loaded (uboot logs : “starting kernel”) then its crashes without any logs even with earlycon. By testing the DDR with ST DDR Tool, I realized that byte-masked writes fail (test 9), but halfword & RMW32 work. I noticed the byte lane swap but it is identical on the dk board. I am a bit lost and don’t know if the issue is timing/config related or due to my hardware design.
Good morning,I'm working on some new automotive designs and on the current boards i found what are , presumibly, STM components but i can't really identify them with the offerings in the online catalogs, (at least IF they are STM engineering samples)The body is specifically PowerSSO-16 but the marking of the components i found for now present similar but very different top markings2HTS90 D1B1HTS20 D11HTS10 200U2HTS30 D1B1HTS50 D1(these 5 are the ones i classified so far) Can i have some help in documenting them, if they indeed are VND productsBellow a picture of one of the components, there are all the same except the top markings (no logos or such)
Dear Team,I am facing an issue while programming an STM32H533 device using the ST-LINK V3SET. I have observed different behavior depending on the compiler optimization level and programming interface. The details are provided below.Case 1 – Flash Programming FailurePlease find the debug log below:-------------------------------------------------------------------STM32CubeProgrammer v2.20.0-------------------------------------------------------------------Log output file: C:\Users\29397\AppData\Local\Temp\STM32CubeProgrammer_a36804.logST-LINK SN : 0042001A3234510537333934ST-LINK FW : V3J17M11B6S1Board : STLINK-V3SETVoltage : 0.00VSWD freq : 8000 KHzConnect mode: Under ResetReset mode : Hardware resetDevice ID : 0x478Revision ID : --Device name : STM32H533/523Flash size : 512 KBytesDevice type : MCUDevice CPU : Cortex-M33BL Version : 0xE2SFSP Version: v1.2.0Debug in Low Power mode enabledOpening and parsing file: ST-LINK_GDB_server_a36804.srecMemory Programming ...File : ST-LINK_GDB_serv
What is the correct way to implement multiple ADC channels? I have tried various tutorials on YouTube, but none of them work correctly. I am using two potentiometers. The ADC readings are random and cannot be controlled by the potentiometers. At one point, I managed to get it working, but only one potentiometer responded. The second potentiometer did not work, and the value of Channel 2 followed the value of Channel 1, even though Channel 2 should be controlled independently by the second potentiometer.
Hello,We are designing a custom board using the STM32MP157FAC1 device. For programming and debugging, we are providing an STDC14 connector on our board and use the STLINK-V3SET debugger/programmer.As per AN5031 (Section 8.3.3), the recommended ESD protection device is ESDALC6V1W5. Snapshot is attached for kind reference.We have the following queries:Query 1:Can we use the HSP053-4M5 device instead of the ESDALC6V1W5 for ESD protection? We are already using the HSP053-4M5 to protect the data, clock, and command lines of the microSD card interface. Using the same device for the STDC14 interface would help us optimize the BOM.Query 2:Can we connect USART1_TX (PA9) and USART1_RX (PB15) of the STM32MP157FAC1 to Pin 14 (T_VCP_TX) and Pin 13 (T_VCP_RX), respectively, on the STDC14 connector for the STLINK-V3SET Virtual COM Port interface? Regards,PS
Hi, I’m using Nucleo-64 development board with STM32H533RE. On the board,H533:RTC crystal is Crystal, 32.768kHz, 9pF, +/-20ppm, 70KR, 1.6x1mm and load capacitors are 3.9pF each.Crystal 24MHz, 6pF, +-20ppm, 80ohms max, SMD, and load capacitors are 6.8pF each. F723:on the same board, the STM32F723IEK6, it is Crystal, 24MHz, 6pF, +/-20ppm, 80R, 2x1.6mm and load capacitors are 2.7pF each.should the RTC load capacitor value close to 15pF each? should be 24Mhz load capacitors close to 10pF each? why STM32F7 and STM32H5 24MHz have different capacitor values?Thank you for your concerns
I’m designing another PCB for the STM32L452 LQFP48, and I was wondering - how big is the die? Can I see a picture of the structure of the LQFP 48 before it is encapsulated?I use double layer boards, and have as much ground plane under the micro, both top and bottom layer as possible. But I often sneak some power tracks around the inside perimeter of the micro. But under the plastic goo I do not know how big the die is. How far can I go with tracks before I am under the actual microprocessor? I think knowing the internal dimensions of the package would help me fine tune my printed circuit board designs.I suppose I could destroy one to find out, but that seems like a waste (and messy). I can’t imagine it would be company confidential… or could it? If a photo is confidential, how about a CAD drawing? … or maybe an artist’s impression...
Heyho,just played with / checked the FPU on a G431.I found that the CubeIDE setting overrides the enable via register SCB->CPACR.So, if source code sets FPU on, but IDE says FPU off, the FPU is off.That a bug or a feature?
Hello everyone,I’m currently working with an STSPIN32G4 MCU on a custom board.Two version of this board exist: version A and version B.When I upload the firmware to the MCU on board A everything works correctly. The exact same firmware on version B doesn’t work.What happens:Board B is powered on and the MCU is still fabric new (no firmware uploaded) The custom fw is uploaded using the “Debug” feature of STM32CUBEIDE via JTAG The code is executed succesfully by the MCU Board B is powered off After repowering on board B the issue starts to present: the firmware gets stuck as soon as any interrupt is calledHere’s an image of where the program points at when I press stop on the debugger after an interrupt callWhat has already been tried:Performing a full chip erase on the MCU and redownloading the firmware, but it still gets stuck on interrupt call Removing the interrupt that was causing the firmware to get stuck (UART1 interrupt), but it still gets stuck as soon as TIM2 interrupt gets cal
STM32CubeProgrammer settingsJust got a NUCLEO-L476RG and connected to my computer. I cannot connect to it with STM32CubeProgrammer or STM32CubeIDE2.0.I had STM32CubeMX generate some code to blink the LED and haven’t changed any code in IDE.How to I actually connect to this board?I have tried changing to hardware reset, holding reset button pushing connect in Cube, then releasing etc. I am able to run Firmware upgrade in Programmer and it says it completes successfully. debug authentication discovery fails also IDE Debug error: (when I connect the board it opens in file explorer automatically)
Hi ST community I'm working on a simple application to get USB Device CDC ACM up and running. My goal is to make my STM32N6 Nucleo board detectable by my laptop so that it appears as a Virtual COM Port under Windows Device Manager.Here are my STM32CubeIDE settings:Step#1: Clock Configuration. Step#2: Set SYS clock : HSE -? DIGBYPASS Clock Source Step#3: Select TIM6, check off : Application Step#4: Select TIM6 as Timebase Source, check off : Application Step#5: Select USB1_OTG_HS, and select Internal HS Phy: Device, check off : Application Step#6: Select Threadx and check off Core and Mode: Application Step#7: Select USBx with the following setting :1. Mode: Application mode 2. Check off Core system3. UX Device: Device CoreStack HS and Controllers HS4. Device Class HS: CDC_ACM And here is my main.c file : Here is my project folder structure.To program the board, I've set the boot switches to DEV mode and compiled only the application code. I don't build or progr
Hi, its my first postLet me introduce myself, my name is Manuel, I am from Spain (English is not my native language) and I have joined the forum looking for help. My profile is that of a maker with very little programming experience (an AI maker). AI helped me a lot to make the programs I’m migrating a project from Arduino to an STM32 Blackpill; I managed to get it working on Arduino.Sim racing pedalsThe pedals are a potentiometer (for the accelerator) and a loaded cell (for the brake). Well, what I thought would be the hardest thing to do—getting the STM32 Blackpill to “read” those sensors—I’ve managed to do. I press buttons on the console and see the changes… but what was easy on Arduino—turning it into a game display for Windows—I’m not being able to do on the STM32… the libraries that Gemini recommends are either missing or don’t work… I’m looking for help getting Windows to recognize my STM32 as a gaming device. I thought this part would be easier; the Blackpil
Hello ST community,I am trying to understand the current support status of USB composite devices when using the classic stm32-mw-usb-device middleware.I know that the classic USB Device middleware already contains `CompositeBuilder`, and I have seen ST tutorials using it to build composite devices. For example, the STM32H5 CDC + HID tutorial and the dual CDC ACM tutorial.However, those tutorials still require a lot of manual integration: editing `usbd_conf.h`, editing `usbd_conf.c`, manually writing class registration code, and manually maintaining the generated `USB_DEVICE` folder. This is quite fragile because future CubeMX regeneration can overwrite important changes.For newer stacks, USBX seems to have much better composite support, where all the relevant code for composite could be generated by CubeMX. My questions are:1. Is there currently any STM32CubeMX-supported MCU package that can directly generate a classic `stm32-mw-usb-device` composite project using `CompositeBuilder`, i
Embedded veteran here, been involved in all manner of MCUs and MPUs professionally (especially safety-critical) but for personal use most of my prior experience has been with PIC16F and 18F (to save money obviously), of course those are only 8-bitters. I’m very interested in learning STM32 MCUs (gee they look ALMOST like DSPs except it’s single-cycle multiply not MAC and no simultaneous pointer adjustments etc.). Thing is my PIC experience has given me a pretty decent collection of chip initialization routines that I can adapt as necessary for small differences with peripheral features and such. My “inherent bias” is bare metal, no FreeRTOS, I understand I may be “going against the grain” a little but I want to get my hands on every nanosecond I may have coming. I don’t necessarily need this in C language, but I would like to get my hands on at least a very detailed list of all the HW registers that COULD need to be set, and the EXACT order in which this is “most safely accomplished”.
Hello,another day, another N6 "issue" :)I want to do RAM to RAM copy by HPDMA, but the data never get copied from Src to Dest, Dest always stays unmodified. I have checked the 'DMA_RAMToRAM' example for N6 and went from there, but with no success.DMA Init:__HAL_RCC_HPDMA1_CLK_ENABLE(); HAL_NVIC_SetPriority(HPDMA1_Channel1_IRQn, 0, 0); HAL_NVIC_EnableIRQ(HPDMA1_Channel1_IRQn); handle_HPDMA1.Instance = HPDMA1_Channel1; handle_HPDMA1.Init.Request = DMA_REQUEST_SW; handle_HPDMA1.Init.BlkHWRequest = DMA_BREQ_SINGLE_BURST; handle_HPDMA1.Init.Direction = DMA_MEMORY_TO_MEMORY; handle_HPDMA1.Init.SrcInc = DMA_SINC_INCREMENTED; handle_HPDMA1.Init.DestInc = DMA_DINC_INCREMENTED; handle_HPDMA1.Init.SrcDataWidth = DMA_SRC_DATAWIDTH_HALFWORD; handle_HPDMA1.Init.DestDataWidth = DMA_DEST_DATAWIDTH_HALFWORD; handle_HPDMA1.Init.Priority = DMA_LOW_PRIORITY_HIGH_WEIGHT; handle_HPDMA1.Init.SrcBurstLength = 2; handle_HPDMA1.Init.DestBurstLength = 2; handle_HPDMA1.Init.TransferAllocatedPort = DMA_SRC_ALLOC
Could you share ST60A3H1 IBIS model?Due to ST60A3H1 include eUSB signal, we would like to simulate the eUSB signal integrity on our design layout.ThanksHank
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.