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 allDo we knoiw for the example like ( https://support.touchgfx.com/docs/development/scenarios/running-graphics-from-external-ram ) but for the STM32H750B-DK board where the bigger LCD is used?Any comments are more than welcome!Best.
Hi, I’m trying to get SDMMC + FileX + ThreadX working on an STM32H5 (NUCLEO-H563ZI) and I can’t find any complete example. SDMMC works on its own, but once I enable FileX, fx_media_open fails and no files get created. I’ve tried the H573 FileX examples, aligning buffers, using 1-bit mode, and adapting the fx_stm32_sd_driver_template, but nothing has worked so far. Does anyone have a minimal working example project that shows FileX mounting the SD card through SDMMC and writing a simple text file? Even a small CubeIDE project or code snippet would be extremely helpful.
I am working on an STM32 device with TrustZone enabled, and I am using the RTC with backup domain powered by VBAT. My RTC is initially configured while VDD is present, and after power-off, the time is supposed to be retained using VBAT.When I use the LSI clock, the RTC initializes correctly, and the time is retained across power cycles. However, I observe some drift, so I switched to the LSE clock. With LSE, the drift problem is gone, but a new issue appears:The RTC time is NOT retained when the system is powered from VBAT only.After removing and restoring VDD, the RTC resets instead of keeping the previous time.Details :TrustZone is enabled in the project.RTC + Backup domain is configured in the secure domain.Powering the RTC from VBAT works when LSI is used but fails when LSE is used.LSE crystal is soldered and oscillation appears stable.VBAT is present and verified during power-off.No backup registers or RTC clock settings seem to persist when using LSE.1)What could cause the RTC no
Hi!I'm going to compile packages to bild a web browser that is optimal for the hardware of MP2.I know that ST Dev team have built an minimal web browser to use in kiosk mode. They have been using Qt Nano Browser.But my goal is to try to build a better web browser that works with down streaming and up streaming.My question is: I need some information from ST about what they have tried. What packages they have been using etc, their suggestions what will work and what they have tried with. A list of packages that support the hardware would be excellent.The source code is going to available at Github for all to use. Even for ST.
I have been trying to generate a motor control demo for TrustZone enabled environment but seems Motorcontrol work bench does not support that. Is there any procedure/ way to manually port the code to TrustZone enabled environment?
HiFrom the ST25R3919B datasheet, I cannot find or understand the voltage level of EXT_LM. Does the EXT_LM voltage level depend on the VDD supply?”BR
Hello,Has the integrated support for CubeMX been removed in the new CubeIDE?I just updated to the latest (2.0) and now, when clicking on the ioc file of a project (created with previous version 1.19), CubeMX opens up.The top right corner has also changed.Also all the new project dialogs have changed, and it does not generate an ioc file anymore... Did my update went wrong somehow?
i'm trying to receive some data by uart and send by spi, both dma normal mode, i've done comunication separately but when i join them get stuck on spi busy, i tried a lot rtos(queues and semaphores), i changed almost all the code, but i just can't do this alone, i need some help. I am starting now at this level of embedding sistem and i'll be greatfull if anyone cold help me. this is my code for: RTOS: /* USER CODE BEGIN Header */ /** ****************************************************************************** * File Name : freertos.c * Description : Code for freertos applications ****************************************************************************** * @attention * * Copyright (c) 2025 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * **********************
Dear All,I have been working on project to develop an HMI for vehicle for prototype purpose I am using MI0283QT-9A TFT display in SPI mode want it to work with my customized board using STM32F103CBT6. Currently I my using ILI9341 drivers available online and for their project it works where they used STMBlue pill.Mentioning detail of SPI and GPIO selection I made:1)SPI: pre scale: 64, Mode: transmit only master, Frame format: Motorola, 8bits ,First bit MSB,Baud rate:1.12MBits/sec2)GPIO: CS(GPIO_out=Low),D/C(GPIO_out=High),RST(GPIO_out=High)Connection:IM0=L, IM1=H,IM2=H,IM3=0.RS---> SCKWR---> D/CCS ----> CSRD---> VCCD0-D17--->GNDSDI ----> MOSISDO ----> MISOIssues and observations:1) The SPI communications starts MOSI send some packets SCK is have 1.1MHz stay active for 10 sec and stops, this activity is done after every resent or turn ON. Verified on CRO.2) The LCD backlight turns ON and doesn't display anything For reference I have provide links of l
I want to use stm32f103rct6 inner RTC, I write some code as below to active RTC, But I found I couldn't set DBP bit of PWR_CR reg to 1, __HAL_RCC_PWR_CLK_ENABLE(); __HAL_RCC_BKP_CLK_ENABLE(); LL_PWR_EnableBkUpAccess();when I debug the reg as below(gdb) x/2x 0x40007000 0x40007000: 0x00000000 0x00000000
Hi I am evaluating NFC function on your STEVAL 25R3916B board, but I would like to see how it works with the I2C interface. Currently, the default configuration is SPI.I have downloaded STM32CubeIDE and STEVAL-25R3916B_V2.1.0 project code, but am not sure where should I put this definition "RFAL_USE_I2C", could you help me check where this macro needs to be placed?Thanks Leo
Good dayI have a Custom PCB with a STM32F217ZG populated.When trying to program with the STM32CubeIDE I get a No STM32 target found error.Then I tried with the STM32CubeProgrammer and get the following:20:27:26 : UR connection mode is defined with the HWrst reset mode20:27:26 : ST-LINK SN : 0670FF36344550304303404220:27:26 : ST-LINK FW : V2J46M3220:27:26 : Board : NUCLEO-F207ZG20:27:26 : Voltage : 3.26V20:27:26 : Error: Unable to get core ID20:27:26 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication In STM32CubeProgrammer I have tried the Modes in Normal, PowerDown and Under Reset. In Reset Mode i have tried Hardware Reset and Software Reset.When measuring with an scope on Pins 105, 109 and 25(NRST) I do see the Reset, Clock Pulses and something like Data Pulses but still get the error.Can someone Please help me with this error.
CubeIDE 2.0.0 (and before as well) for MacMacOS 15.7.2 IntelRun your program in debug, forget that the processor isn't stopped, click on the SFR pane, click on any value.BOOM, spinning ball, never returns, have to force quit. Next, it leaves ST-LINK_gdbserver running and unattached, you'll have to find that and kill it or you can't restart and expect to debug again.I haven't seen a program that I had to kill and restart this often since NewtonScript on Windows 95. Grrrrr
We are facing an issue with the RTC on our STM32L-series microcontroller board. Below are the actions we tried and their outcomes:Main issue:When the battery is connected to the supercapacitor for the first time, the RTC initializes correctly.But when we simulate a power loss by manually removing the main power and reconnecting it, the RTC clock fails to configure on the second initialization.Tests performed:Removed the supercapacitor and replaced it with a coin cell and an RPS → the clock still fails to configure.When the system is configured without any backup power source, the system clock initializes and works normally.Referred to this article: https://mischianti.org/stm32-internal-rtc-clock-and-battery-backup-vbat/ and tested the small noise-suppression circuit, but it did not resolve the issue.Tried fully resetting the RCC using:__HAL_RCC_BACKUPRESET_FORCE();__HAL_RCC_BACKUPRESET_RELEASE();This allows the clock to reinitialize, but the stored RTC time/date are lost.Please provide
Dear ST Team,Our application need Magnetic information which is returned via message called $GPRMC as format below: $GPRMC,<Timestamp>,<Status>,<Lat>,<N/S>,<Long>,<E/W>,<Speed>,<Trackgood>,<Date>,<MagVar>,<MagVarDir>,<mode>*<checksum><cr><lf> However, Teseo-VIC3DA inside our Testbench can not get such information even after long hours of testing, please kindly refer to attached log file for more details and by the way please kindly guide us how to setting Module for getting such information. Thank you.Here is short extraction:$GPRMC,091446.200,A,1051.01966,N,10647.92288,E,0.1,0.0,111225,,,D*62$GPRMC,091446.300,A,1051.01967,N,10647.92288,E,0.1,0.0,111225,,,D*62$GPRMC,091446.400,A,1051.01967,N,10647.92288,E,0.1,0.0,111225,,,D*65$GPRMC,091446.500,A,1051.01967,N,10647.92288,E,0.1,0.0,111225,,,D*64$GPRMC,091446.600,A,1051.01967,N,10647.92288,E,0.1,0.0,111225,,,D*67
Now I am working on my own project which involve with detecting the pattern of hand gestures using LSM6DSOX. I planned to use decision tree to detect each gesture and use FSM to detect the sequence of gestures and send the interrupt signal.Now the project has 2 decision trees which detect different type of gesture. Both are working fine. In FSM, It program to detect 2 results from the decision tree. I use SETP command to change the DECTREE variable to check other decision tree address and value. But when upload the config, it doesn't work.I not sure that I am misunderstanding something about MEM_ADDR and MEM_VAL in SETP command, or my FSM has other issueThe picture attached is the FSM I use now for clarification. I want to check decision_tree_1 if the result is 4 first, then check decision_tree_0 if the result is 4.p.s. Actually, I have other question, how can I program the FSM to detect if the sensor is tilt and stay still for a period of time (the tilt data is from dec
Dear community,first of all: I'm new to using STM32 controllers. I did some quite complex project using Arduino (consisting of Arduino Nano Every (ATMega4809) and a custom board using ATMega328P), but for my next project I consider switching to STM32 due to higher need for SRAM. So, I begin with simple blink-application to learn.Board used: Nucleo-L432KCIDE: STM32CubeIDE, STM32CubeMXOS: Win 11LED that shall blink: LD3 (the green one)So far, code is working, but with unexpected GPIO_PIN_3.I did some search here in the forum related to my question, but no sucess. Consulting documentation was also not helping at the end:With reference to User Manual UM1956 Rev 6, Table 16 on page 30, and schematic on page 33 (of Rev 5!, Rev 6 does not show the schematic), the green LED LD3 is connected to pin PB3 of STM32L432KC. In Table 16 of UM1956 the pin number is given for PB3 as 15.So, I would have expected to toggle the pin by using:HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_15);but instead I hav
Hello Forum,I upgraded my (alredy working) project, based on AT-Slave to the latestSTMCubeIDE: V2.0.0STMCubeMX: V6.16.0and STM32Cube_FW_WL_V1.4.0My problem: suddenly I get Flash Error -6 "FLASH_IF_PARAM_ERROR" after "AT+CS".Is this a know issue? Before, all worked and "AT+CS" stored well.My Stack, derived from AT-Slave:AT+VER=? APPLICATION_VERSION: V1.4.0 MW_LORAWAN_VERSION: V2.6.2 MW_RADIO_VERSION: V1.3.1 L2_SPEC_VERSION: V1.0.4 RP_SPEC_VERSION: V2-1.0.3I think there might be some issue with the FLASH-IF-Driver? I also reconised in "lora_at.c" a missleading comment:(it should be 256kBytes, not 128), whereas ADDRESS is right. /** * @brief LoRaWAN NVM Flash address * @note last 2 sector of a 128kBytes device */ #define LORAWAN_NVM_BASE_ADDRESS ((void *)0x0803F000UL)Thanks for any help,Jo
The code completion provided by clangd automatically introduces the header file corresponding to the functionThis is a very bad thing !A configuration item needs to be added to the setting.json to disable automatic header file insertion
Split from STM32G431CBU: section `.bss' will not fit in region `RAM' as that issue is solved, and this is a new question.One more question. If you can help.BSP_TS_Init e BSP_TS_GetState is not recognized in IDE versions 1.19 and 1.20.Therefore, TOUCH doesn't work.BSP_TS_Init(ILI9488_TFTHEIGHT, ILI9488_TFTWIDTH);BSP_TS_GetState(& osc->touchScreen);What did I forget to port?
Hello,I can't find reference to the expected chip markings for the ISM330DLC and IIS2MDC in their respective datasheets. My PCB assembler is requesting this information to validate the components.Are these the correct markings?ISM330DLC: SY 203IIS2MDC: M Thank you in advance for your time and kind regards,
In the STM32CubeMX configuration interface, there are two identical options here.They can be configured into different options.After generating the code, it will be based on the configuration of the second option.
There is an error in table 17 on page 33 in regards to two of the pin positions for the MB1880A adapter. Table 17 states that pin 2 is SPI1_MOSIP (PA7) / UART1_TX (PC1) and pin 3 is SPI1_MISOP (PA6) / UART1_RX (PC0). These two pins are reversed in both the CN2 and CN3 columns. In actuality, pin 2 is SPI1_MOSIP (PA7) / UART1_RX (PC0) and pin 3 is SPI1_MISOP (PA6) / UART1_TX (PC1). This is confirmed by table 13 (page 28), the MB1779 schematic (MB1779-HIGH-BAND-B02 Board schematic under the B-WL5M-SUBG1 CAD Resources tab), and wasting an hour trying to determine why the I2C3 port was not talking to a device.
Hi,I am currently trying to update my STM32L433 on my custom board and I am having some issues with the RDP level 1.When receiving the blank boards (not programmed yet), I use a RPI with OpenOCD and a JTag to update the chip. When I set the RDP level 1, I can't seem to find a way to restart the device with having to do a manual power cycle. I am missing something?This is what I do :initreset initstm32l4x mass_erase 0sleep 50flash write_image "$name"sleep 50reset runAfter first programming, I am trying to update through USB dfu using a custom application in C# based on CubeProgrammerApi. I am able to boot the device in the Bootloader (I have control over the Boot0 and Reset pins), to connect to it, remove the readout protection (using connectDfuBootloader2) and flash the new firmware.I am unable after that to set the readout protection using sendOptionBytesCmd("-ob rdp=0xbb") (gives me an error) and if I set it in the application itself, my STM32 cannot restart unless I do a manual powe
Im looking to use the STM32G0B1KBU processor including the USB-C interface.I only want to use it as a UPF with VCP and update the firmware, no advanced PD or role switching. The issue is that UCPD1_CC2 is not routed to a pin on the processor.Is it possible to substitute the UCPD1_CC2 function with the "Dead battery pulldowns" UCPD1_DBCC2?Will it work with the bootloader after the "dead battery" has been programmed/configured? I could place the CC1 & CC2 pulldowns discreetly on the board but i am space constrained.I could also switch to the N variant of the processor that seems to have the UCPD1_CC2 pin broken out. I Already have several of the GP variants laying around from a previous project and want to reuse them if possible.Thanks for any input!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.