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
In the version of cube mx 6.4.0 you can set parameters and advanced parameters, but in the version of cube mx 6.16.1 you can only select the chip in the platform setting in the LWIP in middleware. I configured the firmware by installing the KSZ8863RLLI LAN driver in the STM32F407VET6 MCU. Cube IDE used version 1.18.1. Ping test went well in the version of cube mx 6.4.0 and it doesn't work in the version of cube mx 6.16.1. Is there a way to do it in the version of cube mx 6.16.1? What are the problems?The 00.ETH file is the firmware created in the version of cube mx 6.4.0 and the 02.ETH_16.1 file is the firmware created in the version of cube mx 6.16.1
Hello,Normally we use HAL_GetTick() in HAL driver.I want to use GetTick() in STM32 LL driver. How to get and use GetTick() in STM32 LL driver?
..
Dear All,I have a total of 8 boards with eMMC from Alliance Memory. All of them boot from SDCard and work well. On 4 of them eMMC is detected correctly and boots fine with 50Mhz/8bit/ddr speed.4 boards are failing in exactly the same manner, that is: EXTCSD/CID registers have some wrong values and eMMC is discovered as 128MB (instead of ~4GB), with with wrong manuf. ID and manufacturer code. Writing gives io-error (timeout) - reading returns "ER18" ascii code every 512bytes.I have lowered down params of sdmmc interface down to: 400kHz / 1 bit / no-ddr, with different slew-rates on IO ports without a success. I've observed these changes on an oscilloscope and also with simple logic analyzer on lower speeds/1bit bus. Failure is persistent between restarts and also between boards. I have also manipulated series resistors and pull-up resistors.Normally I'd expect some layout issues, but this failure mode is really stable and I am looking for other ideas. I can't imagine tha
I was able to successfully build a TouchGFX demo project for a development board with clang+cmake using STM32CubeMX and STM32Cube plugin for VSCode. Although it required tweaking as it didn't work out of the box.Before ST officially supported clang I was able to build a simple blinky project using clang for arm and cmake and then analyze the code using clang-tidy. Now I want to use clang-tidy on the project, but I get several errorsIf I use clang-tidy from clang 1.19.5 I get the following issues:PS C:\LLVM_19.1.5\bin> ./clang-tidy.exe -p C:\TouchGFXProjects\MyApplication_24\build\Debug C:\TouchGFXProjects\MyApplication_24\Core\Src\main.c21 errors generated.Error while processing C:\TouchGFXProjects\MyApplication_24\Core\Src\main.c.error: too many errors emitted, stopping now [clang-diagnostic-error]error: unknown argument: '--multi-lib-config=C:\ST\STM32CubeCLT_1.19.0\st-arm-clang/multilib.gnu_tools_for_stm32.yaml' [clang-diagnostic-error]C:/TouchGFXProjects/MyApplication_24/cmake/s
When we want to debug only the M7 core, we use the following line and connect from VsCode:/c/ST/STM32CubeIDE_1.14.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.2.200.202505060755/tools/bin/ST-LINK_gdbserver.exe -cp '/c/ST/STM32CubeIDE_1.14.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.2.200.202503041107/tools/bin/' -d -e -v -m 0 -gBut the problem is that always the whole processor is reset because of the following as described in https://www.st.com/resource/en/user_manual/um2576-stm32cubeide-stlink-gdb-server-stmicroelectronics.pdf-g, --attach Attaches to the running target. Attach is aimed to be used to connect to a running program in the device without doing a reset or downloading a new program. [STM32_Programmer_CLI is always started with “mode=UR reset=hwRst” so that a device reset is done when loading a new program independent of this option. This guarantees that the flashing of the device is mad
Hello, I am planning to use the STM32G474RET6 and would like to confirm whether I can use the internal VREFBUF. This product's package is LQFP-64 and while reading the datasheet I noticed the note : ''The VREF+ pin is double-bonded with VDDA on some packages''. Could you verify whether the internal reference voltage can be used with this package? Thanks.
Hi everyone,I’ve spent the last few hours troubleshooting SWO (Serial Wire Output) trace within VS Code. I know this is a recurring issue in the forums, and while ST employees have mentioned they are working on a native implementation, I wanted to share a solid workaround that is currently working for me.It’s a bit tricky to set up the first time, but once you have your launch.json and OpenOCD paths configured correctly, it works great.The steps are:1. Install Cortex-Debug1. Run & Debug - > Add Configuration -> Modify the launch.json file2. launch.json:{ "version": "0.2.0", "configurations": [ { "name": "Cortex Debug", "type": "cortex-debug", "request": "launch", "servertype": "openocd", "serverpath": "C:/ST/STM32CubeIDE_2.0.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.openocd.win32_2.4.300.202509300731/tools/bin/openocd.exe", "cwd": "${workspaceFolder}", "executable": "${workspaceFolder}/build/Debug/project.elf", "device": "STM32L471RETx", "conf
Hello,The datasheet and reference manual are missing information about the 4 KB Backup SRAM in the memory map.Where can I find details about it?We need to use this memory in both Secure and Non-Secure projects.Thank you.
hi community i am using "AEK-AUD-C1D9031" board. in this board i had flashed .WAV files and i had played. the wave files are played using an example code given in the autodevkit. i used an API playsound() this one will give good sound when i had used playsoundwithgain() -> the gain with range (15,17) the sound quality was good with decent amount of volume. but hear i want to control the volume (0db - 75db),but by using playsound() and playsoundwithgain() i am unable to control the volume( the sound will be very noise when i had used gain in range of ( (0-14) and (17- so...on) ). so is there any alternatives to control the volume of the sound. hear is the pic of the function which i had used.
Hello there, I'm trying to create an external loader for my stm32h7s7-dk board via MCE.I followed this https://www.youtube.com/watch?v=JxhKmVUB2Ws&list=PLnMKNibPkDnFQXYK0ztHV9iMVS6EAtKpD&index=10 tutorial series and i check the github repo of this project. But the repo and the video series can be different. The instructor might add some new things. But the methodlogy cant work. Its really stupidly. The loader writes only 0x00 to flash for app size.Im adding my ss of the mem_copy, mem_write and mpu init codes here. Please help me.
Hi,The external nor flash AT25XE321D is 32Mbits, support quad IO/XIP spi operation, max. 133MHz Freq. Std. JEDEC/SFDP. It is connected to STM32H7R7Z8J6 with with XSPI1 port-1 interface.I am using MX v6.116.1 to setup project for my board. By IDE v2.0.0, the project 'Boot' works from internal flash but it is failed to run 'Appli' from external AT25XE321D. And the project 'ExtMemLoader' is successfully built and deployed:File copied successfully under STM32CubeProgrammer.File copied successfully under STM32CubeIDEI tried STM32CubeProgrammer v2.21.0 to program the AT25XE321D with using the ExtMemLoader.stldr I just built, but failed too. "Error: Mass erase operation failed." See attached log for more logs.Back to my settings in MX:1) 100MHz XSPI1 clock source2) XSPI1 settings and GPIOsThere 4 memory types available and no 'custom' option. I pick the 'Macronix' as it is most close to AT25XE321D.3) ExtMemLoader settingsI also go through followings but did not help me to solve the probl
Hi,I’m new to using the STM32 plugin for VS Code, as well as to VS Code itself. I’m currently using a J-Link programmer and have successfully set it up for debugging.Could you please advise on how to setup and configure VS Code and the STM32 plugin to flash firmware onto the microcontroller for a production release (i.e., programming the device not for/in debugging mode)?Thank you for your help.
Cube setting is OK!First run OK!if(HAL_OK != HAL_UART_Transmit(CO_INFO.channel, co_dma_tx_data, send_len, 0xFFFF)) { DEBUG_PRINT("CO MODULE SEND DATA ERROR!!\r\n"); } Then setting OK!if(HAL_OK==HAL_UART_AbortReceive(CO_INFO.channel))if(HAL_OK==HAL_UARTEx_ReceiveToIdle_DMA(CO_INFO.channel,(uint8_t*)CO_INFO.RX.data,CO_UART_BUF_LENGTH)) But second run Fail !!if(HAL_OK != HAL_UART_Transmit(CO_INFO.channel, co_dma_tx_data, send_len, 0xFFFF)) trace HAL_UART_Transmit() functionif (huart->gState == HAL_UART_STATE_READY) the huart->gState value always 0x33so always return HAL_BUSY
The microcontroller acquires data via SPI communication with the accelerometer. What is the risk if the data update timing of the accelerometer and the data acquisition timing of the microcontroller overlap?
Hello,I am using the ST25R3918 controlled by an MCU via RFAL, operating in NFC-F / FeliCa card emulation mode.I am monitoring the efd_o bit (bit 6) of the Auxiliary Display Register (Address: 31h) to detect when the board approaches an external reader. While I observe that efd_o stays at '1' during the initial idle state and during the first few commands, it becomes unstable (toggling between 0 and 1) after the communication sequence is completed.Sequence of operations:Receive Write Without Encryption from the reader.Send response for Write Without Encryption.Receive Read Without Encryption.Send response for Read Without Encryption.Reader terminates the communication.efd_o becomes unstable (toggling 0/1) for several hundred milliseconds. (Note: efd_o is stable at '1' during steps 1 through 4.)RFAL Configuration:discParam.devLimit = 1U;discParam.totalDuration = 60000U;discParam.techs2Find = RFAL_NFC_LISTEN_TECH_F;Questions:Is this unstable behavior of efd_o expected after a transaction
Touchgfx 4.26.0 (and was same on 4.24.0) keyboard examples are the same resolution although there are (3) resolution of display resolution selectionsThey all display the keyboard size as approx. measured 43 mm (1.7 inches) X 33mm (1.3 inches) on a 5-inch display 800 X 480 resolution. To be usable we believe the keyboard needs to be about 1.5 to 2 times larger than present. (about 25% LARGER) See details in pdf attachment
Dear St's engineers,I am encountering an issue with the GNSS TESEO VIC3DA module regarding the inability to enable the PSTMDRCAL message output. I have tried the command $PSTMSETPAR,1228,0x800000,1*4F (as described in the CDB table 228, which is used to enable three messages: PSTMDRGPS, PSTMDRCAL, PSTMDRSINT), but as a result, only PSTMDRGPS is being output.
Hello,I have an ST25DV64KC chip and I’m having a problem with I2C read/write. The I2C bus is running at 100 kHz and is functional (communication with another sensor, SHT, on the bus works fine). I am also able to communicate with this NFC chip - I can read registers and read the chip’s UID correctly.The problem, however, is with reading/writing the user memory over I2C. When I try to write or read, I get NOK and the bus goes to low level and freezes. I have a main question:Q1. How is the memory actually organized? I know that the user memory has a 7-bit address of 0x53 and the system memory has an address of 0x57. I expected that the UID, which in the datasheet is listed under the System Configuration area, would be available at I2C address 0x57, but in fact it seems to be part of the EEPROM, and the UID is accessible via the user memory at I2C 0x53.So how does it actually work?? - if via I2C address 0x53 the System Configuration area is accessible at registers addresses 0x0000–0x0023
Hi Sir, Pls advise who are in charge of crystal or OSC for STA9100MGA, I want to know crystal/OSC part num and crystal/osc spec. Tks! Regards, Brandon
While designing Electronic speed controllers for a 6s battery, an stm32 was decided to use as the MCU. After receiving our first PCBs, we were unable to successfully program them with the stlinkv3 minie. Attached is an image of the schematic of where the STM lies on the board as well as the attached components. When the boards first came in the stm32 was able to be flashed with a program, but after the first flash they could not be connected to any more. This is with using an external power supply as the stlink v3 didn't seem to provide power as the prg tool was unable to detect the chip. After continued testing (and changing out the mcu) the issue persisted although with a slight deviation, it would allow us to program it once or twice but when we clear the flash, it would lose connection and throw an error of dev_target_held_under_reset. In case it is relevant, the only connection type that can even read the flash of the chip is hot plug but that is unable to chan
Hi,I am trying to make a basic Enhanced Advertising low power application using Arduino IDE.I use a standard P-NUCLEO WB55.I need Arduino IDE because this application is intended to be open for modifications.The current STM Documentation (https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_BLE_Arduino) is more than one year old and is outdated.I succeed in lighting the 3 color led by redefining their PIN OUT according with the electrical schematic. But I was not even able to get print messages (I guess the Serial is not properly define for that board).Where can I found a basic Arduino Example.I did already the update of the M0 FW which is supposed to be HCI compliant. FUS version V2.2.0.0 and STACK version v1.24.0.3.Thanks in advance.Edited to fix link.
I get this Error when trying to install the Cube Programmer V2.5.0 on Windows 10 (latest update).I have installed Java jre 1.8.0_261.Thanks for any help com.izforge.izpack.api.exception.IzPackException: An error occuredin java.lang.Thread.run() at null:-1in com.izforge.izpack.installer.unpacker.UnpackerBase.run() at UnpackerBase.java:241in com.izforge.izpack.installer.unpacker.UnpackerBase.unpack() at UnpackerBase.java:319Caused by: com.izforge.izpack.api.exception.InstallerException: File execution failedin com.izforge.izpack.installer.unpacker.UnpackerBase.unpack() at UnpackerBase.java:299in com.izforge.izpack.installer.unpacker.UnpackerBase.unpack() at UnpackerBase.java:483in com.izforge.izpack.installer.unpacker.UnpackerBase.executeFiles() at UnpackerBase.java:959
Dear allI am using STM32H563 and interface with some CAN bus sensors to receive and sometimes send data to them. The CAN bus sensors are developed by a partner company. I developed my software refer to FDCAN_Com_IT example provided in IDE firmware package. They work fine most of time, but there is an issue has been bother me - for a few sensors, tmy software doesn't receive the message form them, it doesn't generate interrupt simply. Don't think the sensor module is fault as they can be received by a CANUSB dongle, it seems the issues are with a few fixed sensor modules only, so i am wonder what I have done wrong to miss the message, on Logic analyser, message can be seen although sometimes it is with error, but most of time, they are fine, just doesn't reach my ISR. Regards!Ping
Hello, I would like to ask about a question regarding “STM32N6570-DK for gesture recognition control applications.”I have downloaded the official example x-cube-n6-ai-hand-landmarks-main and reviewed the DataBrief of the development board. Since the board itself does not contain internal Flash, the file _htmresc/FSBL.PNG in the example clearly indicates two possible solutions:User APP programmed into SRAM (address: 0x3400 0400 ~ 0x3418 0000)User APP programmed into external Flash (address: 0x7008 0000 ~ 0x7FFF FFFF)Following the instructions in README.md, I executed the following steps:~make -j8~ Program the Firmware in the External FlashAfter building the application, it is necessary to add a signature to the binary file:~STM32_SigningTool_CLI -bin build/Project.bin -nk -t ssbl -hv 2.3 -o build/Project_sign.bin~ After obtaining the signed binary file, I manually programmed it to address 0x70100000.(The files ai_fsbl.hex, hand_landmark_data.hex, and palm_det
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.