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,Comparison of STEVAL-ST25R3916B UM3033 [pg 22] & ST25R Antenna Matching Tool...Specifically the matching networks show a difference in location of parallel tuning capacitor relative to antenna connection. UM3033 antenna matching + filter [above]. Notice the location of the parallel tuning cap [C308] in relation to antenna connection ANT300. The ST25R matching tool [above] shows antenna matching + filter. Notice the parallel tuning cap is in spot closer to antenna connection than the UM3033 schematic. The physical STEVAL D25R16BA board shows the tunable cap next to the antenna [see red box below]. Silkscreen confirms this also. Based on the above it seems that the STEVAL-ST25R3916B antenna matching schematic in UM3033 DOES NOT match the physical board. My question: Should tunable capacitor be placed as shown in the ST25R matching tool or should it be placed as shown in STEVAL-ST25R3916B UM3033?I've created a custom PCB f
Hello everyone. I am trying to write a bootloader with STM32H750IBT6 and mt25ql512. I am trying to adapt the ExtMem_Boot example of STM32H750-DK to STM32H750IBT6 by modifying it, but I can't succeed. It doesn't make sense why STM32H750IBT6 does not work. In the software; JumpToApplication = (pFunction) (*(__IO uint32_t*) (APPLICATION_ADDRESS + 4)); __set_MSP(*(__IO uint32_t*) APPLICATION_ADDRESS); JumpToApplication(); but JumpToApplication(); enters HardFault and I get SCB->CFSR = 1025. Whatever I did, I was not successful. Attached I share the bootloader and application projects. typedef void (*pFunction)(void); pFunction JumpToApplication; int main(void) { /* USER CODE BEGIN 1 */ CPU_CACHE_Enable(); /* USER CODE END 1 */ /* MPU Configuration--------------------------------------------------------*/ MPU_Config(); /* MCU Configuration--------------------------------------------------------*/ /* Reset of all peripherals, Initializes the Flash interface and
Hello people. In 2020, our company made a PCB prototype (designed by me) which included a chip " ST25R95-VMD5T ". Our results were not good, but maybe this was due to a poor filter circuit and due to a poor matching circuit. The tag reading distance was very small, and the prototypes were not fixed (filter and matching), and we abandoned the project. So in the same year of 2020, we were planning to make another PCB prototype, but then using the chip " ST25R3911B-AQFT ", with the intention that the reading of tags could reach a bigger distance, but we ended up not doing this prototype in 2020. Now, it's 2026, and we plan to make a PCB prototype, very simple. And our initial choice was the " ST25R3911B-AQFT ". I would like to ask if there are more recent chips than this, possibly one chip that can reach a bigger reading distance than this " ST25R3911B-AQFT ", or that reaches the same distance reading, but that has more recent technology. Remembering that this ti
HiWe're looking at an application where it may be helpful for an STM32N6x7 MCU to encode and store video from an ST image sensor then later recover and decode the video for analysis by the Neural-ART Accelerator in the STM32N6x7 - encoding and storing the video in real time then later recovering the video from storage and analysing it using the Neural-ART Accelerator would avoid the need for the analysis to be done in real time and ease power management.Video decoding on the STM32N6 series was last discussed in the community in March 2024 and at that time it wasn't on the roadmap but I thought I'd ask to see if this nay have changed since then?We were wondering if there was any roadmap now for H264 decoding on MCUs or if perhaps a difference approach might be better? For example, storing full quality encoded video and separately storing video downsized to fit the Neural-ART Accelerator as raw rather than as encoded video?The application is an open source wildlife camera for conser
Hey guys, I'm looking for some suitable HexaSPI PSRAM and also the OctoSPI Flash for the STM32N645 board I am just building.. I cant find the parts used on the DK so do you have a list of supported memories? I need 256Mb PSRAM and will start with a 1Gb Flash as per the DK.. Richard
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
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.