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
Hi all I have STM32 IDE installed in "C:\STM\STM32CubeIDE_1.19.0\STM32CubeIDE" and seem to work properly so far as I am on installing the 2 programs. I try to install TouchGFX 4.26.0 in "C:\STM\ to have those two in the same area., but I received an errorlike this one: Could not set file security for file "C:\STM". ERROR 5.........So anyone have an idea ?Thanks all.
Hello, I would like to know the H264 VENC performance for the STM32N6 using the ST example: STM32Cube_FW_N6_V1.1.1/Projects/STM32N6570-DK/Applications/VENC/VENC_RTSP_ServerI have a hardware setup with a nucleo-n657x0-q + a ST B-CAMS-IMX camera module.Question 1: The example provided by the STM32CUBE_FW is for STM32N6570-DK. Will it also work for the nucleo-n657x0-q Thank you.
Hello,I am trying to run a touchscreen with STM32H7R7L8Hx and I am having multiple issues.This is the structure I used, I am using FreeRTOS and TouchGFX in the STM32CubeMX. Years ago I run a touchscreen with STM32H7A3RITx, it was easy because it was not asking project structure.When I add FreeRTOS it is adding both locations, I know I can simply exclude from build the top one but there are more issues. In the TouchGFX Designer it can't find the project file so it can't add include paths and source files correctly, so I have to make it manually. I think this is the most important problem, TouchGFX uses older version of FreeRTOS but STM32CubeMX adds newer version of FreeRTOS and I am not able to select FreeRTOS version.STM32CubeMX Version: 6.16.0TouchGFX Version: 4.26.0How can I solve these issues? Thank you.
I have been working on an IoT project using STMicroelectronics' STM32 microcontrollers, and I have encountered a unique challenge around power management. My system needs to run on minimal power to ensure long battery life in remote applications, but I am facing issues with inconsistent power consumption during sleep modes.Here’s the problem:Despite using the low-power modes like Sleep, Standby, and Stop in STM32, I am seeing unexpected power drain when the device is supposed to be in a low-power state.I have implemented HAL libraries and checked my hardware, but I still get around 10-20mA of current draw when the microcontroller is supposed to be in the Stop mode.Some potential solutions I have considered:Reviewing the clock configurations to ensure the system isn't inadvertently running unnecessary peripherals.Using the dynamic voltage scaling feature, but I'm not sure if I’m configuring it properly.Checking for interrupt handling issues that might keep the MCU active unintentionally
Hi,I’m trying to read internal temperature sensor on ADC1, but the ADC result is always 4095.I use STM32L471, and I know that the problem is not HW related, when I run a different bin it reads the temp ok.Tried to read VREFINT, raw value is also 4095.Attached below screenshots with clock tree configuration and code.p.s. also tested with different clock speeds and sample cycles with no luck.
Hello, I have been trying to make the AEK-MCU-LNK work with my SPC56 discovery board with OPENOCD (I reached a dead end trying to make the .cgf files). So I have two questions:1.- I understand that the AEK-MCU-LNKU works with this SPC56 family using UDE. Is that true?2.- I saw in another post (https://community.st.com/t5/automotive-mcus/stellarlink-vs-spc5-udeskt/td-p/64794) in the last answer, that AEK-MCU-LNK with the UDE driver should work with SPC56 family. Can you please confirm this?Thanks,Agustín
Sir can i use the stm32 cube ide for the commercial in free of cost. is there any limitation pls tell me
We have a query regarding STM32U375 PKA peripheral.As per datasheet, the peripheral is available for this variant. Under the "STM32Cube/Repository/STM32Cube_FW_U3_V1.2.1/Drivers/STM32U3xx_HAL_Driver/" we can also see that stm32u3xx_hal_pka.c and stm32u3xx_hal_pka.h driver files are available. However, the ST official product page - does not seem to mention this peripheral as a part of STM32U375 series. Also, we cannot see this peripheral in graphical configuration .ioc. Please let us know if this is available as part of STM32U375 series and how to use it.We also need STM32U375.svd for debugging support, please share this file.
I have a project which runs fine using CMOX_PQC_ML_DSA_44_DET_SIGN_LOWRAM_ALGO but I would like to see how much faster I can get with CMOX_PQC_ML_DSA_44_DET_SIGN_ALGO. When I use it, cmox_pqc_dsa_sign returns 0x9000c, which apparently means "Not enough memory".I am also wandering what kind of memory we are speaking about because it does not seems to request heap memory and I don't expect it to detect if stack is large enough at runtime.I am going to have exactly the same question for CMOX_PQC_ML_DSA_65_DET_SIGN_ALGO and CMOX_PQC_ML_DSA_87_DET_SIGN_ALGO.Perhaps a more general question: is there a documentation for the cmox_pqc library ?
I want to use ILID9341 screen on STM32F407G-DISC1 without any libraries, just spi protocol. However, while the screen turns on, I can't draw anything on it. Why is this the case?This is SPI configuration.I have checked the physical wiring, and it seems to be correct.This is the code that is relevant for the LCD screen (there is also a code for functions for reading values from accelometer, which is probably not relevant).#define RST_GPIO_PORT GPIOD #define RST_GPIO_PIN GPIO_PIN_9 #define DC_GPIO_PORT GPIOB #define DC_GPIO_PIN GPIO_PIN_14 #define SET_ROW_CMD 0x2B #define SET_COL_CMD 0x2A #define SET_COLOR_CMD 0x2C void Reset_Screen() { HAL_GPIO_WritePin(RST_GPIO_PORT, RST_GPIO_PIN, GPIO_PIN_RESET); // pull low HAL_Delay(10); HAL_GPIO_WritePin(RST_GPIO_PORT, RST_GPIO_PIN, GPIO_PIN_SET); // release reset HAL_Delay(120); } void Write_Rectangle(uint16_t row_lower, uint16_t row_higher, uint16_t col_lower, uint16_t col_higher, uint16_t color) { //16 bit/pixel color order (R:5-bit,
Hello,I'm working with a STM32MP257D, which is using the I2C-driver "i2c-stm32f7.c" in the Linux kernel (compatible: st,stm32mp25-i2c). I'm using kernel version v6.6.78. I need to use I2C mangling, specifically I2C_M_NOSTART and I2C_M_STOP, to handle a receiving master scenario.My specific situation: I'm communicating with a device that sends the length of the data payload in the third byte of the transmission. This means I need to:1. Read the first 3 bytes to get the length information2. Continue reading the remaining data without sending a STOP condition after the initial 3-byte read3. Continue reading without sending a START condition when fetching the remaining dataCode Example:struct i2c_msg xfer[2]; xfer[0].addr = addr; xfer[0].flags = I2C_M_RD | I2C_M_STOP; xfer[0].len = 0x03; xfer[0].buf = buff; ret = i2c_transfer(i2c->adapter, xfer[0], 1); xfer[1].addr = addr; xfer[1].flags = I2C_M_RD | I2C_M_NOSTART; xfer[1].len = buff[2]; xfer[1].buf = &buff[3]; ret
Hello all Hardwarestm32h743iitxflash : W25Q256JV sdRam: w9825g6kh lcd : 7 pouces no driver 24bit parrallel I have dev a stm32h743ii pcb with a 7 pouces 24 bit lcd . the basic debug work for the lcd and sdramWhere i am facing problem is on flash W25Q256JV qspi work fine just with 1 line but impossible to make working bank 1 with 4 lines.Can i have some confirmation with the community about :if someone has experiment something please share i going crasy ........
Hello. I try to start a new project with two non-listed motors in Workbench. I use two gimbal 3-phase BLDC motor with encoder AS5048A https://cdn.sparkfun.com/assets/d/6/b/5/8/27477_27478_Datasheet.pdf Based on the motorShinano.json file, I built my own JSON file, please see below. However, I have the following questions. What to write in the compatibility: "sixStep"? The motor has the encoder. Hence, should TRUE be for HasHallSensor? I use a Pololu power board (voltage regulator) https://www.pololu.com/product/5576 and two Sparkfun 3-phase BLDC motor drivers https://www.sparkfun.com/sparkfun-brushless-motor-driver-3-phase-tmc6300.html . Therefore, what to write for pwr_board? What to write for foc_rate? What to write for acceleration and max_speed_startup? Thank you. {"id": "motorSparkfun","label": "Sparkfun DM3505/3505EC","hardwareFamily": "MOTOR","description": "Outer rotor type - 11 poles pairs - brushless DC motor with encoder", "compatibility": ["FOC", "s
do the example of LPGPIO,why show this error.Getting started with LPBAM - stm32mcu
I am trying to connect the STM32MP257F-EV1, following the guide on the wiki. Followed the LInux preparation. At startup, I get a blinking RED LD1 and steady green LED When start the laptop on windows, the device manager shows a DFU device a. But when booting up LInux, no device in DFU mode is detected by CubeProgrammer 2.210, either through the GUI or the CLI interface.Having tried several possible workarounds—such as changing cables, reinstalling drivers and VMs, and reinstalling CubeProgrammer and the supporting software The board seems to be working as when I reconfigure the boot switches, the display and camera work OKCould someone suggest what I might be doing wrong or if there is a known solution?Linux shows this:T: Bus=01 Lev=01 Prnt=04 Port=02 Cnt=01 Dev#= 11 Spd=480 MxCh= 0D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1P: Vendor=0483 ProdID=df11 Rev=02.00S: Manufacturer=STMicroelectronicsS: Product=DFU in HS Mode @Device ID /0x505, @Revision ID /0
I have just spoken with an ST sidekick, and I was informed that STM32CubeMX is currently not supported on Windows ARM64.Thank you for the clarification.
Hey,I am trying to develop firmware for a BLUE-NRG module using Wise-studio, I have done this before on a Windows machine.Now I am trying to install Wise-studio on a MacBook M4 Pro, which is Apple silicon.I downloaded the .dmg and installed it, and gave it permissions to run.When trying to open the application, nothing happens.I have a java 21 JDK installed and working.Does Wise-studio support ARM64 processors?I successfully installed the IDE on a Parallels VM Windows 11 ARM64 instance, but cannot in macOS.Help will be appreciated!
Dear ST Community, I have a working application for USB PD SPR and EPR and now I want to change the voltage (power profile) during an active contract.So e.g. I have 5V currently and want to request 9V from the source, or I have 20V currently and want to switch to 28V (EPR).How to do that? According to the USB Specification you would send a "Get Source Capability" Request so I used USBPD_DPM_RequestGetSourceCapability() [or USBPD_PE_Send_ExtendeControlMessage(m_uPort, USBPD_EXTENDED_CONTROL_EPR_GETSRCCAPA) in EPR]. Then the source responds with it's capabilities. USBPD_DPM_SetDataInfo gets called with the PDOs but USBPD_DPM_SNK_EvaluateCapabilities is never called afterwards....In SPR Mode nothing happens, voltage stays the same. In EPR Mode 30ms later a hard reset is triggered. Why does the ST Stack not Evaluate Capabilities after successfull reception of PDOs? According to USB Spec as a Sink we always need to respond to a capabilities message with our "wish".....&n
I have designed a STM32H723 board with LAN8742A PHY IC and its connected to a Hanrun HR911105A Magjack. I am running the Ethernet stack on mongoose network library. The stack is working perfectly on a STM32H7 Nucleo Board, the link auto-negotiates to 100Mbps Full duplex speed. Unfortunately, on the custom board, the link auto negotiates to 100M full-Duplex but ARP resolution fails(the link works fine at 10M speed). The schematic and layout are highly inspired by the STM32H723 Nucleo and the LAN-8742A evaluation board. I am attaching the schematic(PHY side, cannot show the STM side due to NDA reasons) and debug messages from LAN8742A registers for the same. Some Notes on the Layout: The Board is a 8 layer PCB. Majority of the routing has been done on the top and bottom layers. Layer 2 is the reference layer for the 100ohm differential TX and RX lines. The TX and RX digital lines ( from PHY to STM) are roughly matched to 50 ohm impedance. I can't show more than this unfortunately, b
Dear experts, why, under the same configuration for heterogeneous core communication, in the generated code, the debug section of the routine's initialization functions of IPPC and OPENAMP can be accessed, but the ones generated by ourselves cannot?The following picture was generated by myself.The following picture was generated by myself.Why does the routine configuration add an extra "remote" and "setting" in the file attributes?But there is none in the project that was generated by myself!Seeking help online, dear experts!
Greetings,I am trying my hands on STM32WLE5CCU6 and want to encrypt variable length data using inbuild encrypt hardware or feature of the controller. I am generating a byte array of variable length. Is it possible to encrypt that array ? In an example i have seen an array of 32bits but not 8 bits. Please guide me.
I recently updated my stm32cubeide from 19 to 20.0.0 but the .ioc files of my existing projects open as text file not graphical as before. How to fix it to work as before? PS: I mistakenly chose VS-code target and it's not possible to delete the post and repost. I use STM32CubeIDE on Windows and my issue have nothing to do with vs-code (I don't use it whatsoever)
It would be helpfull to have couple of function in addition toHAL_GPIO_WritePin( GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState )for cases when pin state is known in advance (not result of calculation in runtime)void HAL_GPIO_SetPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) { assert_param(IS_GPIO_PIN(GPIO_Pin)); GPIOx->BSRR = (uint32_t) GPIO_Pin; } void HAL_GPIO_ClearPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) { assert_param(IS_GPIO_PIN(GPIO_Pin)); GPIOx->BRR = (uint32_t) GPIO_Pin; }Props:1 One parameter less2 One assert less3 No condition check4 Less typing5 Less work in runtime6 Better search. One can serach SetPin or ClearPin instead of all HAL_GPIO_WritePin at first and then see pin state value in common list.7 Sense of command in one place instead of combination of command_name + parameter_value8 More uniform with HAL_GPIO_TogglePin. Set, Clear, Toggle have the same signatureEdited to apply source code formatting - please see How to insert
This is my first foray into STM32. I bought a couple of WIOE5 lora modules. This post will not let me post links to the the WIOE5 datasheet. I bought an STlink V3mini from Waveshare. There is not a datasheet available from waveshare. I downloaded STM32 Cube Programmer. I have read that before using the Arduino IDE to program the STM32, I need to install a bootloader via cube programmer. While trying to upload a bootloade via cube programmer, I have a steady 3.3 volt power supply going to my MCU/pcb. My understanding is that the STM32 mcu needs to be externally powered before using the STlinkV3. When powered, I can confirm with a DMM that I am getting about 3.27 volts to the STlink. The cube programmer says that my target voltage is 3.25 but it will not connect. The error message is “No STM32 target found! If your product embeds debug authentication, please perform a discovery using Debug Authentication”. The WIOE5 module is brand new, never been programmed before. I want to
HI,I'm using the VL53L4CX and in an enclosure and thus have a cover glass over the sensor.i've been doing some simple calibration, but have noticed that this requires a strict procedure and preferably a good setup to perform the calibration.I therefor want to make a box to perform the calibration in. This should remove any variables and make sure that calibration is handled the same every time.I know i should be able to copy the calibration data from one device to the other, but due to it being a lorawan device, and my current provisioning/flashing steps, it's easier for me to calibrate the sensor afterwards.I posted the same question here: https://community.st.com/t5/imaging-sensors/vl53l4cx-refspad-caliberation-no-target/m-p/869701/highlight/true#M6277 but that's a fairly old topic, so i'm starting a new one. My current idea for a wooden calibration box is:Wooden (probably MDF) box with an internal height from sensor to top of 60cm, probably 40cm wide.Matt black paint
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.