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 engineers, I'm using the latest version of CubeMX and creating a project with STM32MP135FAFx, but the highest clock configuration I can select is 650MHz. According to the datasheet, the maximum supported clock is 1GHz. Someone else has raised the same issue before 👉🏻https://community.st.com/t5/stm32-mpus-products-and-hardware/stm32mp135f-clock-config/m-p/720882#M11932. My CubeMX version is 6.16.0.This is my screenshot:This is a screenshot I saw online of someone else configuring their computer to 1GHz, and I'm quite certain that someone else has configured their computer to 1GHz like this before.Could the engineers please help me determine if the problem lies with my usage or with CubeMX itself?Thank you!
Hi :We are using lsm6dsl chip on i2c bus. Our customer request to implement a api interface similar as int setIMUPowerMode(int powerMode, int sensorType); Noted that in "table 5/6" the powemode is not a one-to-one correspondence with some registers. In my unstanding the power mode can't be set directly. Is there anyway to implement the interface?
Hi everyone,I’m trying to connect a MIPI CSI camera to my STM32MP257F-DK board. I’m using Yocto (branch scarthgap) with core-image-minimal and created a custom Yocto layer to patch the device tree located at arch/arm64/boot/dts/st/stm32mp257f-dk.dts.The camera I’m working with uses the I²C address 0x3c, which unfortunately is also used by the ADV7535 HDMI chip on the STM32MP257F-DK board. As shown below (from the stm32mp257f-dk.dts file and i2cdetect), the ADV7535 occupies multiple addresses on I²C2:adv7535: hdmi@3d { compatible = "adi,adv7535"; reg = <0x3d>, <0x3c>, <0x3f>, <0x38>; reg-names = "main", "cec", "edid", "packet"; ... }; 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- 38 -- -- -- 3c 3d -- 3f 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ...My main question is: how can I connect my camera when
The App launches and immediately quits.App version 2.19 despite downloading 2.20 package.Any ideas? thanks! ./STM32CubeProgrammer?J2??chdir /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/.current dir /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/binLoading PRG Library: /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/libCubeProgrammer_API.dylibTrackedData.json file does not exist !99 external Loader list
I'm in the middle of attempting to reconfigure the clock tree on my STM32F303K8. The old clock tree looks likeThe new clock tree looks like The old clock tree works fine. The new clock tree always fails on boot; not always in the same address but always in the neighbourhood of HAL_RCC_ClockConfig. An example stack trace looks likeIn this case it claims to have failed on this line 769 of HAL_RCC_ClockConfig: /* Get Start Tick */ tickstart = HAL_GetTick();This is failing in the MX-generated code well before any of my own code runs. The goal is to keep the CPU clock at 64 MHz but reduce everything after the AHB prescaler. The diff of the RCC section in the .ioc file looks like this:
Hello,In my project, i am using 2 octoSPI devices connected to my STM32H735. (IDE is STM32CUbeIDE V1.19.0)After migrating the Project to STM32CubeMX 6.15.0 it is not possible to configure the octoSPI in Multiplexed Mode anymore. The existing config from V6.14.1 and below is automatically removed during the migration and can not be set/activated again.Is there any issue in this Version or am i missing something?best regardsAlexander
Hi all,I am able to generate an SFI image via the trust package and I am using a HSM card to attempt to program a STM32WBA55. As far as I understand is that during provisioning TZEN is set and RDP level is set to 0.5.Reading various documents such as the ref manual (section boot modes) and the an4992 on section 3.3.2.1 it states "The OEM internal firmware can be built to start at the beginning of the user flash memory (starting address0x0800 0000). After a SFI, the SRAM is fully available for OEM."It is not clear to me if it actually works once TZEN remains set after the SFI process. Can I just provision my non-secure application? My goal is to reach RDP level 2 once my option bytes are applied and have under control what happens at the contract manufacturer site.Thank you very much,best,Ivan
Hi Team,I have few questions regarding stm32h7 errata.Errata 2.2.21, Can silicon revision 'V' support a cpu frequency of 480 Mhz ? If yes, why is it showing 'P' for v revision. 2. Can I please ask if there is a fix in the HAL for the below given SPI errata (from 2.22.2 to 2.22.6)? Regards,Alex
Hello!I have a custom PCB using the STM32U5A9 microcontroller.I've been developing my code using Cube IDE with CubeMX generated software including TouchGFX.I need to implement secure boot and OTA. I am following the SBSFU example for the B-U585I-IOT02A board and struggling to incorporate my project in the Non-secure user application segment of that demo project. I’m also trying to go the other way around and implement the SBSFU infrastructure and files into my custom project.First question - all I need is secure boot and OTA is it true that I do not need to enable the Trust Zone? If so, how should I modify the SBSFU build process to only include one image?Second question - It’s been difficult to follow the SBSFU code especially the slot addresses and programming to replicate it within my custom project. The postbuild script for the SBSFU_Boot project pulls firmware size values from image_macros_preprocessed_bl2.c to populate addresses in other scripts like SBSFU_Update.sh. How is this
Hey Folks,I'm unable to Enable this MX_ADC_Init() function can someone please help me it to do it.Below down i had attached the image for your reference can you please help me into it.My aim is to control the speed of the motor by Potentiometer. I'm using STEVAL-ESC002V1 solution of STM.
I'm bringing up a design based off the STM32H573 and I believe I'm having a number of issues that are probably sharing a common thread with bad hardware. I don't usually screw those things up, but I guess I got unlucky this time.1) PC1 when configured as a (GPIO) output cannot drive a load. Works as a GPIO input. Sometimes, when configured as output after configuring it as input, it would start working and then die (this happened twice in two days). Pulls, OD, nothing seems to make a difference. Replicated over two boards -- the second board with no ESD damage possible. 2) HSI seems to be off by 9% (HAL_Delay and UART are showing this error). Tested on one board only. Here is my schematics:In my actual board, both VCAPs are not tied together. They are also not placed on the bottom of the board -- rather they are connected via a 0.1mm trace 3.5mm long to the edge of the BGA to the capacitor. Altium is saying this can carry 0.6A I guess impedance is bad and it might be the
HI USB-C Input (5–20 V PD) + USB-C Data (USB2.0 D+/D– to STM32H745) + charging phone at same time + Audio data transfer Problem: When I connect the USB-C input supply (PD 5–20 V), the phone only charges and the audio USB port does NOT appear.But when I do NOT provide PD input power, the audio USB port appears correctly.And if the audio port is already active, then when I connect the PD input afterwards, the phone does NOT charge — only the audio stays active
Hi, This webpage suggests that STM can offer ceramic packages for their IMU modules. How would I go about requesting or getting a quote for a ceramic package version of any particular IMU module? thanks
Hello everyone,This is my first post on the platform, so please bear with me.I would like to write raw data to an SD card very quickly.After quite a bit of research, I decided to use SDMMC with MDMA, and I want to write directly to the SD card blocks to avoid latency associated with the FATFS overlay.Apart from an old post that explains how to configure MDMA and link it to SDMMC, I haven't found any concrete examples of a function that allows reading and writing to the SD card.Could you give me a simple example of writing and reading to use MDMA with SDMMC to write to the SD card, or point me to existing projects or examples that I may have missed?Thanks in advance.
I have to dump my GUI made by using Qt framework on STMF769I-Discovery board on baremetal. If anyone has any baremetal sample implementation for the mentioned then kindly share the sample code with me email: binayak.d@coreel.com
I have a ioc file created with Version 1.18.1, that enables only the OCTOSPI2 (and some RCC and clock settings).Importing this file (see attachmend) the OCTOSPI2 gets disabled, further more it is non longer possibile to re-enable it as QUAD-SPI!If added with out migration the IOC it is working as before.
-------------------------------------------Board: STM32 WB55RGOS: Ubuntu 25.10 questingKernel: x86_64 Linux 6.17.0-6-genericSTMCubeProgrammer Version: v2.21.0-------------------------------------------I recently noticed that my board was not being flashed with the following error:No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug AuthenticationI tried connecting the board using the STM32CubeProgrammer and while the board is recognized correctly by ST-LINK (the serial number shows up) I still cannot connect the board because of the same error.When the issues started to occur, I was using my board normally with the usual code running when the board suddenly stopped providing power to the pins; I was using the board to power an external device using the 5 V pin, but my meter only measures about 1 V across the 5 V pin and GND and 200 mV across 3.3 V and GND.Connecting the board still shows bicolor LED blinking and the LED 4
Hello everyone,I’m currently working with the STM32WL55 and using the Ping-Pong example as a reference for my application. The example is great and helps me understand how the process scheduling works, but I want to modify it to transmit ADC data.The issue is that I cannot use the ADC properly within the example as it is. I would like to know if it’s compatible to integrate ADC readings (single-shot or interrupt-based) with this Ping-Pong structure, and what the best approach would be to read the ADC values and send them over UART or another interface without blocking the main loop or interfering with the Sub-GHz radio.Any advice or examples of integrating ADC acquisition into this Ping-Pong example would be greatly appreciated.Thank you!
I'm trying to port a proprietary code that is designed for another STM32H753 plateform, to a STM32H753-EVAL board.My code remains stuck waiting for HSERDY bit.The setup I am doing looks identical to STM32CubeHW example but I guess I forgot something: - set LDOEN in PWR_CR3 register and wait for ACTVOSRDY- set voltage scaling to VOS1 (bits 14 and 15 in PWR_D3CR register) and wait for VOSRDY- set bit HSEON and wait for HSERDY -> bit is never set I setup the eval board JP10 to be powered up through the jack (external power supply) If I power the board through STLink, I have no issue. Am I missing anything ?
Hello,If DCMIPP parallel mode is selected then CubeMX do not generate HAL_DCMIPP_MspInit function to initialize and enable DCMIPP CLK, pinout, IRQ, there is only weak empty declaration in stm32n6xx_hal_dcmipp.c, without initialization settings nothing works...I do not checked other modes.
I pulled down the latest CubeMX (v6.15.0) to do a parametric search for a new part. Needing > 70 GPIOs and USB device function but not much else, I narrowed in on the STM32G0B1 series.When I start CubeMX, I'm told there are 4801 items in the parts list, When I filter on "STM32G0B1", that drops to 103 items. However... if I then filter on either "USB FS" or "USB Type-C", that number drops to 97 parts. I exported a before and after and diffed the lists, and found that the 7 parts that fell out of the list were all STM32G0B1VE parts. The 'VB (128K flash) and 'VC (256K flash) parts were in both lists, only the 'VE (512K flash) parts appeared to lack the "USB FS" and "USB Type-C" attributes.This is a mistake, correct? The 'VE parts have all the same peripheral features as the 'VB and 'VC parts, yes?Dana M.
I want to use N657B0 to drive VD55G0, and the camera side can already enter the Stream state. After I use the function HAL_DCMIPP_CSI_PIPE_Start, I track the variable csi_instance through single-step debugging and find that several bits in its SR1 register are inconsistent with the normal state. And I find the defination about these.The normal state is 1 but I get 0.Could you please tell me what the reason for this might be? Is the issue caused by a voltage supply problem in the hardware connection, or by inadequate rate matching in the port?
I have a STM32U595 and I use the RTC in binary mode.If an SSR underflow occurs during Vbat mode, will the SSRUF be set so after power recovery I can manage the interrupt ?
The AutoDevKit ecosystem can now count on a new compact size BMS node and node with transceiver board to match the production form factor when mounted on a real battery pack.Check-out AEK-POW-BMSCC https://lnkd.in/dA8vtr76and AEK-POW-BMSCCTX https://lnkd.in/dxKS_WvV🤩
Hi Team,I am trying to communicate with my bms using raspberry pi.I am using 8 cells in series connected to AEK-POW-BMSCCTX from C0 to C8 (from cell taps-P1 connecter). From the P4 side VIO-3V, Vdd- 5v, GND. I have also connected the MISO,MOSI,CS and CLK of the pi with corresponding pins in bms. Also TXEN-high, DIS-low, BNE-low.Using this run a sample Spi code and there is no correct reply. I just need to know is this connections correct? any extra connections do i have to do?Also after connections, D9,D8 and D2 leds of my bms is light up. When spi is activated D7 led should blink but not in my setup. I hope i get this problem solved.Hardware we’re using now1× AEK-POW-BMSCCTX (one node powered with 8 cells for bring-up).Raspberry Pi with /dev/spidev0.0 enabled.Cell stack: C0..C8 populated (8 cells ≈ 26 V).Two GND_EXT pins tied to pack negative as per BMS hold manual.Actual wiring (current)P1 (cells)C0–C8 → 8 cell taps (≈ 26 V total)GND_EXT(×2) → pack negativeP4 (logic, to Raspberry Pi)
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.