Find out more about STM32 implementations with external components, discuss use cases, and discover how to use new tools and ST components.
Most recent activity
I am developing a device based on an STM32F746VET6 with two Ethernet ports. To implement this, I chose the KSZ8863RLL, as it provides two external Ethernet PHY ports and an RMII interface to the STM32.At the moment, Port 1 and Port 2 are both working correctly at 100 Mbps full duplex. I can successfully transmit and receive data through both ports. However, I cannot get Port 3 (the RMII CPU port) to establish a link.I'm a bit confused about the correct RMII interface connections. I am using Clock Mode 5, and my understanding is that the external 25 MHz crystal is internally multiplied to 50 MHz, with REFCLKO_3 providing the 50 MHz reference clock to the STM32. Is that interpretation correct?This is how I originally routed the RMII signals: After reading through the datasheet and application notes, I also came across the following information:Based on that, I bodged my PCB to match the recommended connections, but I still cannot get a link on Port 3.Has anyone successfully used the KSZ8
Hi all,I'm driving an NHD-1.5-128128G (SSD1351 controller, 4-wire SPI mode) from an STM32F303RE (Nucleo board) using the hardware SPI2 peripheral. The display has never lit up, and I've now run out of obvious things to check, so I'd appreciate a second pair of eyes.SetupDisplay: NHD-1.5-128128G Interface: 4-wire SPI (BS1=0, BS0=0, both tied to GND) MCU: STM32F303RE, HAL library, hardware SPI2 (not bit-banged) Pin mapping: CS, D/C, /RES driven as GPIO outputs; SCLK/SDIN via SPI2 hardware linesPower rails (all measured at the panel/FFC connector end, not just the breakout header)VCC: 13.0 V (measured on oscilloscope, confirmed at the connector) VCI: 3.3 V VDDIO: 3.3 V (measured directly at pin 4) VDD: not externally driven, only a 1 µF cap to GND per datasheet VCOMH / VSL: only connected to their respective decoupling caps per the reference schematic, no external driveWhat I've verified works correctly/RES toggles LOW→HIGH with correct timing (confirmed on scope) D/C toggles between comm
Hello, I’m writing in regards to a project that I am doing that involves a STM32G474RGT being used to control a synchronous buck converter. In this set up I plan to use Peak Current Mode Control, which I found was supported by Biricha’s WDS software. As a result I configured my HRTimers and ADC and Comparators like the guides that I found online, mainly the step by step setup on the Biricha Youtube Channel. However, upon opening up the software, I noticed that the circuit tab for the buck setup would only show up as an asynchronous buck, using a diode instead of 2 N-Channel mosfets. Is there anyway to configure the software to use a synchronous buck topology? Brian
Hello,I am using the VDx1943 EVK kit and would like to extract the live camera feed using the SDK. Could you please help me identify the correct DLL file to use?So far, I have tried using:st_brightsense_sdk_vdx193.dll en.STSW-IMG507_16GZUnfortunately, I have not been able to successfully pull the live view with either of these. Could you point me to the correct DLL file, or advise on the proper method to extract the live feed from this kit?Thank you for your help.Regards,
I’m working with my stm32f769-DISCOvery board.I’m trying to work through a few things that are unfinished/missing with the various buildroot configs on github and the stock one in buildroot.On boot, it crashes like this:[ 1.705669] Unhandled exception: IPSR = 00000006 LR = fffffffd I’m apparently hitting an error with binutils newer than 2.28.1.It’s looking like this report, except I have also managed to get fffffff1 instead of fffffffdhttps://github.com/fdu/STM32F769I-disco_Buildroot/issues/1#issue-340504566This emcraft patch seems to be intended to mitigate the crash:https://github.com/EmcraftSystems/linux-upstream/commit/2882de1d86bd536c855feee582d44722434c2ac9In theory, the fix should be upstream as as well, and the 5.15 kernel i’m playing with should be new enough. (I’ll need to validate that I guess)https://github.com/torvalds/linux/commit/afc9f65e01cd114cb2cedf544d22239116ce0cc6 Looking at this:https://github.com/fdu/STM32F769I-disco_Buildroot/issues/1It seems it is caused b
We are considering using the L6387ED with an STM32G431 powered at 3.3 V.The L6387ED datasheet appears to specify a minimum input high-level threshold, VIHV_{IH}VIH, of 3.6 V under some conditions, which would not guarantee recognition of a 3.3 V STM32 GPIO high level over process, voltage and temperature.However, the ST B-G431B-ESC1 reference board appears to connect STM32G431 3.3 V PWM outputs directly to L6387ED inputs.Could you please confirm the following:Is direct connection of a 3.3 V STM32G431 GPIO to the L6387ED input officially guaranteed across the full operating temperature range and production tolerances? If yes, which datasheet specification or characterization data guarantees this compatibility? What is the guaranteed maximum VIHV_{IH}VIH for the L6387ED at VCC=12–15 VV_{CC}=12\text{–}15\ \mathrm VVCC=12–15 V, over the full recommended temperature range? Does the B-G431B-ESC1 rely on typical rather than guaranteed input thresholds? If direct 3.3 V drive is not guarante
Hi all,I'm designing the control electronics for an automatic egg-candling machine (150 positions). An STM32F411 drives everything over a single shared SPI bus:A 74HC595 daisy-chain (shift registers → ULN2803A → solenoid valves) MCP3208 ADCs (reading LDR light sensors) on the same SPI bus, CS-selectedThe process is strictly sequential (read all sensors first, then actuate valves — never at the same time), so valve-switching noise never coincides with an ADC read, and SPI speed is not time-critical. That's why I want to keep the clock slow.Physical signal path (my concern):~100 cm total PCB trace 2 board-to-board connectors (PCB-to-PCB) then a 20 cm cable that enters the target IC (74HC595 / MCP3208) Planned SPI clock: 100 kHz, SPI mode 0, 3.3 V logicMitigations planned: series termination on SCLK/MOSI/LATCH at the source, ground interleaving in the cable, star grounding (valve PGND separated from SPI/logic GND), local 3.3 V regulation at the far end.My own bench test: I ran an SPI loop
Hello Friends, I have selected STM32F401XE series for my new project. The device is expected to face road vibrations and shocks, so to make system more reliable I am thinking to use MEMS oscillator rather than standard Quartz Crystal. I tried to search any reference schematic of STM32 MCU having MEMS osciilator but couldn’t find. Please share if any information available on how to use MEMS Oscillator. I understand OSC-IN should be connected to OUT of MEMS Oscillator and OSC-OUT should be set to high -Z. What about VDD of MEMS Oscillator? Should it be set to same VDD as set in STM32F401XE MCU, which is 3.3V Thanks
Hi Team, I was going through the schematics of STEVAL-CTM010V1 solution for dual Motor controller application for Airconditioner. Can anyone help me regarding the design equations of this application? If possible, we are ready for a meeting.Kindly reply. Thanks and Regards,Ajay P
I am trying to establish communication between an STM32F446ZCH6 and a LAN9253 using the Quad SPI (QSPI) interface on our custom hardware.As an initial validation, I am attempting to read the following LAN9253 registers: BYTE_TEST register (0x64) ID_REV (Chip ID) register (0x50) However, I am not receive the expected register values. Instead, the values returned are consistently 0x88888888 or 0xFFFFFFFF.To troubleshoot the issue, I captured the SPI/QSPI communication using a logic analyzer. From the waveforms, it appears that: The STM32 (master) is transmitting the read command correctly. The clock (SCK) and chip select (CS) signals appear normal. However, the LAN9253 does not respond with valid data, and the STM32 does not receive any meaningful data from the slave. We also attempted communication using: Single SPI (1-bit mode) Dual SPI (2-bit mode) Quad SPI (4-bit mode) Unfortunately, the behavior is the same in all three modes, with no valid response from the LAN9253.We hav
Hi all,disclaimer: I used AI to translate my question to english:I'm designing the power supply for a solar-charged, battery-powered outdoor device (wildlife camera controller) built around an STM32L476VG. I'd appreciate a sanity check of the architecture and the regulator choices.System:Input: 2S Li-Ion (NP-F pack), 6.0–8.4 V, reverse protection via P-FET MCU in STOP2 most of the time (target sleep budget: < 10 µA for the whole board) Always-on: MCU, RTC (AB1805), I2C EEPROM, a µA-class wake-up receiver Switched loads (active phases only, seconds to minutes): LoRa module (TX approx 120 mA), SD card (write bursts approx 100 mA), OLED, GPS Separate 5 V rail (TPS62147, EN-gated) for a Raspberry Pi that wakes for uploadsCurrent design: one 3.3 V rail from an MCP1703A (2 µA IQ, 250 mA), all loads behind individual load switches (TPS22919 etc.).Concern: worst-case concurrency (LoRa TX + SD write + MCU + OLED) sums to approx 250 mA -right at the LDO's limit, and (8.4 − 3.3 V) × 0.25 A app
I spent a lot of time designing a prototype using the STM32H573MIY3Q, but now it’s out of stock (DigiKey/Mouser/JLC) and 78 week lead time (available Jan 1, 2028). I’m kicking myself for not asking earlier about STM’s commitment to this part.How do we get samples now? I guess I can go to the scalpers...But then is it even smart to design this into a product? What is STM’s planned production ramp?Initially I’ll sell a few hundred units but if it goes well I might need 10K+ per year.Am I delusional in hoping for the possibility?I apologize for my tone of frustration, but SEVENTY EIGHT WEEK lead time is hard to believe, and upsetting. Is this not a flagship microcontroller (STM32H5) and flagship package (WLCSP-80)?
Hi everyone,I'm designing a custom development board based on the STM32H750XBH6 and originally planned to use the ISSI IS42S32400F-6BL (128 Mbit, 4M × 32, SDR SDRAM, 166 MHz, 90-ball BGA).However, this part appears to be obsolete/end-of-life, and availability is becoming an issue.I'm looking for recommendations for a newer SDRAM that is:Fully compatible (or requires minimal hardware/software changes) 128 Mbit or larger 32-bit data bus 3.3 V SDR SDRAM 166 MHz (or higher) 90-ball BGA (preferred) Currently in production and readily available from major distributorsHas anyone recently designed an STM32H750/H743 board and selected a newer SDRAM instead of the IS42S32400F-6BL?I'd appreciate recommendations for specific part numbers that are currently in production and known to work well with the STM32 FMC interface.Thanks in advance!
Dear team, hello, I've drawn a power supply circuit diagram for the STM32F051R8T6 but I'm a little hesitant. The diagram of my circuit is below. Have I done it correctly? Thank you for your answer.
Hello Sir,We are currently facing a Country of Origin (COO) issue regarding the STM32F722RET6 MCU and would appreciate your assistance in clarifying the following questions.Could you please confirm whether the Country of Origin (COO) of the STM32F722RET6 is France, as indicated on the STMicroelectronics official website? Could you please provide the manufacturing locations for the STM32F722RET6, including: Wafer Fabrication (Wafer Fab) location Assembly location Testing location Your prompt assistance would be greatly appreciated.
[English was established as the common basis so that everyone in the global community can understand each other (see ST Community Terms and Conditions - STMicroelectronics Community, article 10)]Can an STM32 microcontroller be programmed by OpenPLC? If so, how? Is there a video tutorial on YouTube?---apakah mikrokontroller stm32 bisa diprogram oleh open plc? jika iya, bagaimana caranya? apakah ada video tutorialnya di youtube?
Hi everyone,I'm planning to build an IoT-based data logger using an STM32 microcontroller and would appreciate some advice from those who have worked on similar projects.The project requirements include:Reading multiple environmental sensors (temperature and humidity) Logging data to an SD card Sending data to a cloud platform via Wi-Fi or LTE Low power consumption for long battery life Ability to update firmware remotely in the futureI'm currently considering the STM32L4 or STM32U5 series because of their low-power capabilities, but I'm open to suggestions if another family would be more suitable.A few questions:Which STM32 series would you recommend for this type of application? Is STM32CubeMX sufficient for managing a project of this size, or would you recommend another workflow? Have you used FreeRTOS for sensor reading, data logging, and communication tasks? Was it worth the added complexity? Are there any common pitfalls I should watch out for when designing the hardware or firmw
I’m Trying to Implement SVPWM based on the I’m attached research paper where i had completed till the dwell time calculation But i could n’t identify the switching sequence and switching arrangement If anyone know about this kindly help me with your expertise.
Hello, We are using F777VI and H743VI in our products and we need to meet UL requirement. https://iq.ulprospector.com/en/document?e=206486 Primary cells and batteries are not rechargeable. Secondary cells and batteries are rechargeable. Primary cells and batteries are designated to be either technician replaceable or user replaceable. Secondary lithium ion cells are not intended to be user replaceable. The circuitry containing the primary cells and batteries should include two diodes (or equivalent) to prevent charging current. Alternatively, the circuitry containing primary cells and batteries should include one diode (or equivalent) and a current-limiting device, such as a resistor. What is the solution you offer, is such capability embedded in ST processors or should be added externally?. It is not very efficient to have diode Drop (0.4V - 0.7V) in a 3V battery coin, or a 2 AA battery (2.4V).
Hi everyone,I have one question before starting one project.I am working on information system related to Philippines government services like NBI Clearance. We are thinking future version can also work on small self-service kiosk or information terminal, not only website.Main requirements are:Stable for many yearsFast boot timeLow powerTouch display supportEthernet or Wi-Fi optionQR code scanner supportUSB printer support for receipt or documentI see many people using STM32 in industrial products.Do you think STM32 is good choice for this type of public kiosk?Or better use Linux SBC like Raspberry Pi for easier software development?I want something reliable because government/public service devices may run all day without restart.Anyone already build similar public information kiosk using STM32?Thanks for any advice.
我尝试使用 STM32L4R9 与 AD7768 通信,使用 8 个通道。我想知道的是:是否可以使用 DCMI 建立 AD7768 与微控制器之间的通信(微控制器支持,但我不确定 AD7768 是否支持 DCMI。)如果 AD7768 也支持,我想知道 PCB 应该如何正确布线。Translation to English I am trying to communicate with the AD7768 using the STM32L4R9, using 8 channels. What I want to know is: is it possible to use DCMI to establish communication between the AD7768 and the microcontroller (the microcontroller supports it, but I'm not sure if the AD7768 supports DCMI.) If the AD7768 supports it as well, I would like to know how the PCB should be wired correctly.
I create one project for STM32F401 DMA-TIM4_PWM, so far first DMA work, but it didn’t go to handle routing.After debug with Copilot help, find after DMA finish(set DMA_S0CR bit 0 to 1), the ISPR0 bit 11 set to 1, (it related with DMA1-s0.) but code didn’t jump to the vector in 0x6C (DMA1-so interrupt handle).If add one line force ISR0 bit 11 to 1, (NVIC->ISPR[0] = (1 << 11);), IABR0 bit 11 set to 1. jump to handle routing.Why manual set work, use DMA_S0CR bit 0 to 1 doesn’t work (it same set ISR0 bit 11 to 1 as manual.)?
The IssueI'm using **nanoMODBUS** (slave mode) on NUCLEO-F446RE via USART2 (115200 baud, 8N1). The slave exposes two holding registers:- `0x0000`: Potentiometer value (read-only) → `usPotValue`- `0x0001`: LED brightness (read/write) → `usLedBrightness`**The LED is controlled via PWM (TIM2).**BehaviorOperation Result **Write to `0x0001`** (set LED brightness) Works consistently — LED dims **Read from `0x0000`** (potentiometer) Fails most of the time **Read from `0x0001`** (LED brightness) Fails most of the time **Rare successful read** Both registers return correct values Master Log```Response: emptyResponse: emptyRead OK: [609] ← Rare successResponse: emptyResponse: emptyResponse: 0180018000 ← Truncated exception (5 bytes instead of 7+)Response: emptyRead OK: [609] ← Another rare success```The 5-byte response `0180018000`- `01` = Slave addre
I was trying to use the xcube_TOF application inside the st32cubemx for the stm32h7 nucleo board. However, the tof initialisation is keep getting failed. Is it really possible to implement a i2c connection between x_nucleo_53l8a1 and the stm32H7 nucleo board? I tried to implement the hardware connections just like in the stm32nucleof401re.Could anyone please help me with this?
Hello STM Community,I am facing an XCP protocol timeout when trying to use Simulink Monitor & Tune (External Mode) with a custom STM32H750VBTx board and an ST-LINK-V3 (COM10, 115200 baud).The Setup & Symptoms: What works: Code generation and flashing complete successfully. "Build, Deploy and Start" works perfectly (e.g., standard LED blink routines run fine). What fails: Clicking "Connect" for External Mode immediately times out with: XCP internal error: timeout expired, in response to XCP CONNECT command. Hardware verified: Standard UART communication has been tested separately on this custom board and works flawlessly at 115200 baud. No other software is locking the COM port. Questions: Cache/MPU: Since this is an STM32H7, do the buffers used by the Simulink XCP serial stack require specific MPU or D-Cache configurations to prevent data coherency issues? Interrupt Conflict: Is there a known issue where the XCP background task gets starved by higher priority model execut
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.