Get ready for the STM32 Summit 2026 | Online, November 3
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, I am using the B-U585-IOT02A board with Zephyr. I can't see how to use the MXCHIP EMW3080 Wi-Fi chip. Has anyone made this work? Thanks
Hi!I have a STM32103 processor and I wonder if something bad can occurs if I use an external oscillator to OSC_IN and leave the OSC,_OUT floating. With a ceramic crystal HSE configuration in CubeMX.I know that the BYPASS clock source is the best HSE configuration for an external source (as I have) because then the OCS_OUT is not oscilating. But for me, it won't make any difference because my OSC_OUT is floating and not connected to anything. Or will this break after few years of running?I know that my OSC_OUT have the same oscillations as OSC_IN due to the "wrong" configuration.
Hello everyone, I am working on a design using STM32F401RE and need to interface a barcode scanner that works over a standard 5 V USB interface. The barcode scanner behaves like a typical USB device (likely HID/CDC) and expects: USB host on the other end 5 V VBUS supply it also has RS232 interfacing option aswell. However, as per STM32F401RE documentation, it supports only VBUS voltage max 3.6V. I would like guidance on: Whether it is technically possible to interface a 5 V USB barcode scanner directly with STM32F401RE. If not, what practical alternatives are recommended. The goal is to reliably read barcode data into the MCU in an embedded system (no PC involved). Thanks in advance for your support.
I began to learn STM MCU programming. I use Arduino framework. Is It possible to get full access by using Vscode + platformIO + Arduino framework. Full access means can functioning all features of stm ic. I have stm32 blue pill development board. Please give me the guideline to become a professional and perfect stm programmer.
I want to add NFC functionality to an existing product. Because the PCB is made of aluminium, I can't use a PCB antenna.On the enclosure of the product, there is a small PCB with 2 pushbuttons and some leds. My idea is to place the PCB antenna on this small PCB.But because of space restrictions, I can't add positions to the existing connector.My idea is to connect the antenna in parallel to the pushbuttons (see attached drawing). The GPIOs of the uP are inputs. I'm aware that the NFC does not work if a pushbutton is being pressed.My questions are: Do you think this can work? Can the ST25DV04 take damage, if an antenna connection is shortet to GND? Can the 1K resistors remain in the circuit or do I need to replace them with 0R resisorts?
Hi Team,I am working on a custom board with STSPIN32F0601S3, after generating code using MCSDK Version 6.3.0 with cube Mx 6.10.0, I tried to connect Motor pilot just start/stop and change RPM but it did not connect, Pls confirm which steps I am missingBelow are the steps I followed but still it did not connect 1.Uploaded and RUN code (using cube ide)2. RESET board3. Opened workbench and selected Motor Pilot but it leads to default App Mode (pls refer screenshot) not detecting firmware although code is in run mode and not able to use Motor pilot which was along with MCSDK Pack 6.3.0
Dear ST Support, I am using the STM32WB55 series and have encountered an issue where the Flash erase operation gets stuck when BLE scanning is active. Specifically, the Flash erase call (SHCI_C2_FLASH_EraseActivity(ERASE_ACTIVITY_ON)) does not proceed as long as the BLE scan procedure is running, even if the scan interval and window are configured with minimal values (e.g., SCAN_P = 0x320 and SCAN_L = 0x10). It seems that as long as BLE scanning is ongoing, the Flash operation remains blocked. From my understanding, the BLE stack on the M0 core occupies some resources during the scan procedure, and Flash operations are blocked until all BLE activities are terminated. This behavior persists even when BLE is only actively scanning for a small portion of the interval. Could you please clarify: Is it expected that Flash erase/write operations cannot be performed during any ongoing BLE activity, regardless of scan interval/window settings? Is there a recommended method to sa
In MCSDK 6.2.0, it says "Selected hardware boards do not support this feature". In MCSDK 6.3.2, nothing.Why?Without this, it generates MC code using systick, and if adding FreeRTOS with CubeMX, I have to merge the systick handlers for FreeRTOS and MC and some other works. The change is "volatile" when generate code with CubeMX again.I'm heavily rely on CubeMX, so what's the solution?
Hi there, We are troubleshooting an issue with our module where the GPGGA return shows no satellites detected. We have verified our circuitry according to the hardware instructions document on ST's website - https://www.st.com/resource/en/user_manual/um2832-teseovic3d-and-teseovic3da-hardware-instructions-stmicroelectronics.pdfWe are currently using a similar antenna that came with the GNSS dev kit. We know that there are satellites that can be picked up as the dev kit operates fines. If anyone has any troubleshooting recommendations, sharing them would be greatly appreciated.The datasheet doesnt have explicit bring-up guidelines. As a result, i have only configured the PSTMINITGPS field, and nothing else. Are there other fields required to be configured out of the box? Also, our ANT_OFF pin is currently floating. I have measured 3.3V on the antenna itself though.
Hello STM Community,I am a beginner working with the STM32H7B3I-EVAL evaluation board based on the STM32H7B3LIH6Q MCU, and I am currently setting up my development environment on Ubuntu 24.04.3 LTS.I installed STM32CubeIDE 1.18.0 using the following installer:st-stm32cubeide_1.18.0_24413_20250227_1633_amd64.sh.zipI am facing a few issues and would really appreciate your guidance.1. Need existing demo codes for STM32H7B3I-EVALI would like to get the existing/demo example codes available for this board, especially the examples related to the firmware version currently flashed on my board, which shows:Firmware Version: V1.0.1Could anyone please guide me on where to find the exact demo code corresponding to the factory-flashed board behavior, if available?I am specifically looking for separate demo examples for:LEDADCGPIOUARTSPII2CTFT/LCDTouchCameraWi-Fiother onboard peripheralsI am using Linux Ubuntu 24.04.3 LTS, so Linux-compatible steps would be very helpful.At the moment, I mainly need
We have a custom stldr file that we generate to program external flash on our board with STM32U599VJ MCU, we use STM32 CUBE IDE with Jlink. How do I point the IDE to use my stldr file when loading code to onchip and external flash? The option to point to an external loader stldr appears on my if the debug configuration is chosen with STLink, not for Jlink. ThanksSansh
Hello,I am currently working on a schematic featuring 3x STM32H753ZIT6 MCU , and I have a few questions regarding the JTAG implementation:(1) From what I’ve gathered from various sources, the NJTRST signal is a JTAG ENABLE, meaning that in normal operation mode it must be tied to GND and driven to '1' only for JTAG debug. However, in some implementations on internet i've actually seen it connected to a pull-up resistors.What is correct? (2) I need to daisy-chain the JTAG between three components for debugging via an external channel. Does the NJTRST synchronize the three components for this purpose? In other words, should it be connected in parallel? (3) And what about the NRST signal? Is it also used to synchronize the three components during JTAG debugging, or is it unrelated to this chain? ThanxEli
Hello,I am currently working with the STM32MP157-DK2 platform and would like to integrate OpenPLC into my Yocto-based Linux distribution.I would like to inquire whether STMicroelectronics provides any existing Yocto layer or recipe for OpenPLC. If no official support is available, I would appreciate guidance on the recommended approach to create a custom Yocto recipe for integrating OpenPLC into the build system.Specifically, I am looking for best practices regarding:Creating a custom layer for OpenPLCWriting a BitBake recipe for OpenPLC (including dependencies and build steps)Integrating OpenPLC runtime with the STM32MP1 ecosystemAny potential compatibility considerations with the STM32MP157-DK2Any references, documentation, or examples would be highly helpful.
Hello, What HAL2 API can I use to turn on/off the output of a timer? In HAL (ver 1) this could have been done like this:TIMx->CCER &= ~TIM_CCER_CC1E; // Example for Channel 1: ~TIM_CCER_CC1E // or __HAL_TIM_MOE_DISABLE(&htimx); Thank you,-Gil
Hello ! I am trying to build Blinky example on STM32N6570Dk eval board . And this is how my memory.x file looks like below */MEMORY{FLASH : ORIGIN = 0x24180400, LENGTH = 256KRAM : ORIGIN = 0x241C0400, LENGTH = 512K}When I run cargo run --release , I am getting the error . Could anyone please point what might be the problem here Running `probe-rs run --chip STM32N657 target/thumbv8m.main-none-eabi/release/blinky`WARN probe_rs::probe::stlink: send_jtag_command 242 failed: SwdApWdataError WARN probe_rs::probe::stlink: send_jtag_command 242 failed: SwdApWdataError WARN probe_rs::probe::stlink: send_jtag_command 242 failed: SwdApWdataError WARN probe_rs::probe::stlink: send_jtag_command 242 failed: SwdApWdataError WARN probe_rs::probe::stlink: send_jtag_command 242 failed: SwdApWdataError WARN probe_rs::probe::stlink: send_jtag_command 242 failed: SwdApWdataError WARN probe_rs::probe::stlink: send_jtag_command 242 failed: SwdApWdataError Finished in 0.16sFirmware
Hello.I am trying to implement RFID using NXP's NT3H2211W0FT1. The microcontroller I am using is the STM32C031F6.After powering on the board, the first thing I do is read the data from the NT3H2211W0FT1 via I2C, but sometimes I can read it and sometimes I can't.I tried leaving a wait of more than one second after powering it on, but that didn't change the situation.The program for the I2C part is below.while(icdata_flg==0){ HAL_GPIO_WritePin(GPIOA, ANNTENA_SW_Pin,GPIO_PIN_SET); HAL_Delay(10); tdata[0]=0x01;//Read HAL_I2C_Master_Transmit(&hi2c1,0xaa,tdata,1,100); HAL_Delay(10); HAL_I2C_Master_Receive(&hi2c1,0xab,rdata,8,100); HAL_Delay(10); HAL_GPIO_WritePin(GPIOA, ANNTENA_SW_Pin,GPIO_PIN_RESET); } I would appreciate any advice you could give me regarding I2C communication.
Dear all, I have an arm Ubuntu system and would like to use the st32programmer. Unfortunately, ST provide only this code for Intel Linux machine Any chance to have this tool ready for arm Ubuntu machines? Kind regards, Edo
Hello,I am working with an STM32F407VGT on the Discovery board using bxCAN.I can communicate successfully at 125 kbps, but when I switch to 250 kbps or 500 kbps, communication completely fails:No messages are transmitted or receivedPCAN shows Bus Heavy / error framesSetup:MCU: STM32F407VGTCAN interface: bxCANTransceiver: PCA82C251Tool: PCAN-USBTermination: 2 x 120Ω (verified ~60Ω between CANH and CANL)Cabling: short wires, common GND connectedObservations:125 kbps works reliablyAt 250 kbps and 500 kbps:No TX/RX activityPCAN reports Bus HeavySame wiring and hardware used for all speedsAdditional checks:Filters configured to accept all messagesCAN1 clock enabledGPIO configured as AF9, very high speedTested with single node + PCANQuestion:What could cause CAN to work at 125 kbps but completely fail at higher bitrates on STM32F407?Any suggestions or known hardware limitations on the Discovery board?Thank you.
Hi,I took reference for calulating the timing / cycles for my MT29F1280AJAAA (I'm using STM32H745ZIT3) In Asynchronous mode - 5, which is saying ~50Mhz in the datasheet. But I'm running FMC at 131MHz clcok, what ever the calculation I have calculated are as per this knowledge notes, https://community.st.com/t5/stm32-mcus/how-to-configure-the-fmc-peripheral-to-interface-an-stm32-mcu/ta-p/705805So help me debug the issue using CRO hardware or Software timing calculation, What I'm observing is that in middle some pages data integrity is failing, after writing page 25m sec delay I'm reading back. its failing what ever the content I have written on to that page.Running FMC at 131MHz, and sysTick HCLK = 396MHzMy calculations, I also tried changing values by incrementing then, last or first byte is coming 0xFFTCLRSETUPTIME = 3TARSETUPTIME = 3STEUPTIME = 2WAITSETUOTIME = 3HOLDSETUPTIME = 2HIZSETUPTIME = 4Question : Is Common space timing and Attribute space timing should be same&nbs
The "S2-LP bring-up good practices v1.0.pdf" [1] document states the following information regarding AFC:"AFC_CORR is 2-complement byte (signed). Granularity is 508Hz for 50MHz Xtal"The mentioned step size of 508 Hz for a 50 MHz oscillator also corresponds to my practical observations.The following information can be found in the datasheet:[..]Fdig/(3*(2^13)) where Fdig is the frequency of the digital block (24, 25 o 26 MHz).1 LSB is:At 24 MHz: 976.5625 HzAt 25 MHz: 1017.25260416 HzAt 26 MHz: 1057.9427083 Hz[..]Since Fdig corresponds to 25MHz for a 50MHz oscillator, the AFC_CORR step size would therefore be 1017Hz.This doesn't match the actual results or the information in the mentioned PDF.What is the correct formula to calculate the step size for all oscillator frequencies?Thanks~Matthias[1] https://community.st.com/t5/interface-and-connectivity-ics/frequently-asked-questions-on-st-s2-lp-sub-1ghz-transceiver/m-p/736882/thread-id/11431?attachment-id=28318
Hi, I'm relatively new to STM32 series and so far have experience with STM32F103 only. My current goal is to learn and work on master-slave system, with master being an embedded linux (IMX6ULL), and the slaves are (supposingly) STM32 boards. Cameras modules and some sensors will be connected to STM32 boards. The STM32 will proess the camera stream and sensor readings locally, and send the processed/estimated results to the IMX6ULL. Some prior serach and local technical support recommend me STM32F104 series, which some sources suggest its image processing capacities are limited. I'm a bit lost in the sea of choosing appropraite hardware setup, and would like to hear some further comments on hardware choice. By far my conditions on board choice are the following: (1) Has DCMI camera interface (2) Hardware has sufficiently capacity to process VGA image stream around 5-10 fps. (3) Can execute STM32 image processing library (https://github.com/STMicroelectronics/stm32-mw-ipl) There may be f
Hello, I have 2 boards an STM32F407 disco and an STM3F746DISCO and i want to create a project that implements an external LCD screen to the board however when the project runned well with the F746 the screen didnt work with the F407 any guidelines?
I've been using a nucleo l476rg with a LIS2DUX12 sensor and I need to use the SPI protocol, but came as a surprise that the MISO line is not working. When it's not getting 0xFF (should be 0x47), gets inconsistent values. Tried changing CPHA, CPOL, prescale and none of that is working.// 1. Tx and Rx arrays uint8_t tx_wakeup[2] = {0x3E, 0x01}; // Register 0x3E, value0x01 (Soft Power-Down) uint8_t tx_whoami[2] = {0x8F, 0x00}; // Read 0x0F (WHO_AM_I) uint8_t rx_buffer[2] = {0x00, 0x00}; char msg[50]; HAL_Delay(100); // Wake up sequence HAL_GPIO_WritePin(GPIOB, GPIO_PIN_6, GPIO_PIN_RESET); HAL_SPI_Transmit(&hspi1, tx_wakeup, 2, 100); HAL_GPIO_WritePin(GPIOB, GPIO_PIN_6, GPIO_PIN_SET); // Read who_am_i HAL_GPIO_WritePin(GPIOB, GPIO_PIN_6, GPIO_PIN_RESET); //HAL_SPI_TransmitReceive(&hspi1, tx_whoami, rx_buffer, 2, 100); HAL_GPIO_WritePin(GPIOB, GPIO_PIN_6, GPIO_PIN_SET); // print data sprintf(msg, "WHO_AM_I = 0x%02X\r\n", rx_buffer[1]); HAL_UART_Transmit(&huar
I designed my own PCB based on the EVSTSPIN32G4 evaluation board and created a project in STM32Cube IDE. When testing the STSPIN32G4’s internal driver, I encountered an issue: no matter what I do, the GHS voltage remains at 5.8V, the GLS voltage is 0V, and the OUT voltage is also 5.8V. I have tried setting PE8 to high or ground, as well as using PWM, but the voltage on GHS1 never rises. Reading the I²C register values does not trigger any protection; the STBY value is 0 and does not enter low-power mode; the nFAULT pin remains low regardless. As far as I can tell, there are no errors. Could an expert please provide some guidance? Thank you.The ST Community moderator has translated the post to comply with the language of the Community which is English. For more information, see: ST Community Terms and Conditions - STMicroelectronics CommunityTranslated with DeepL.com (free version)
I upgraded to STM32CubeIDE Version: 2.1.1 and imported my existing projects as STM32. I opened Project / Properties / C/C++ Build and it says "This is not a CDT project." I've never seen that before using version 1.18.1. What happened and how can I fix it?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.