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 there! I'm looking to interface a dual channel 12bits ADC (TI ADS4222) with an STM32N647L0.Using a 58MHz sampling clock, I will generate two 58MSPS data streams feeding into my STM32. The acquisitions will be short, so the raw data will be around 1 MB per channel.I'm wondering whether I can use both the DCMI and DCMIPP interfaces simultaneously to handle the two ADC channels and feed the NPU.Has anyone already tried this? What is the maximum pixel clock for each interface? I'm not sure which application note applies to these devices. Thanks for your help Quentin
Hello,I am working on a custom mixed communication implementation using USART in single-wire half-duplex mode with TX-only operation, level inversion, and interrupt-driven transmission on an STM32G0B0 (RETx package).During testing, I observed the following behavior:When the USART is configured in CubeMX as Single Wire (Half-Duplex) with TX inversion enabled and the line is internally pulled up, no data is transmitted.However, when using asynchronous mode with the same inversion settings, transmission works normally.My questions are:Is this behavior expected when using USART Half-Duplex mode with level inversion and a pull-up on the line?Has anyone experienced this behavior on the STM32G0 USART peripheral?I plan to use USART3, USART4, USART5, and USART6 simultaneously under an RTOS environment, all configured the same way (single-wire, inverted signal, interrupt driven). Under these conditions, should I expect similar transmission issues on all USART instances?All selected pins support
Hello ST community I'm trying to install SetupSTM32CubeProgrammer-2.16.0.linux in docker But getting error like below root@1694a12cc06d:/home/app/en.stm32cubeprg-lin-v2-16-0# ./SetupSTM32CubeProgrammer-2.16.0.linux./SetupSTM32CubeProgrammer-2.16.0.linux/home/app/en.stm32cubeprg-lin-v2-16-0chdir /home/app/en.stm32cubeprg-lin-v2-16-0/.current dir /home/app/en.stm32cubeprg-lin-v2-16-0SEVERE: com.izforge.izpack.api.exception.IzPackException: Console implementation not found for panel: com.st.CustomPanels.AnalyticsPanels Thanks in advance.
Hello All,I am working on STM32H747I-EVAL for one of the application development where I am using the uart for communication. I am using UART2 with below pins for my commands and response communication with interrupt mode on 115200 baudrate. PA2 as USART2_TX PA3 as USART2_RX I am able to send and receive proper command and response using the Docklight can see the communication happening between Docklight and STM32H747I-EVAL using CM7 on USART2. When I am trying the same with other STM controller to send and receive the same packets, I am not able to receive the packet from other STM controller, though I am able to see the USART2_TX working(Command send from STM32H747I-EVAL to other STM and it is responding back with some data), now here I am not able to receive the Data (which works with Docklight). Could you please suggest why or how to get this fix ? Any suggestions or trie
STM32Cube MCU Package for STM32U0 Series 1.3.0 + STM32CubeMX 6.15.0 + STM32U083RCT6You can configure the SWO output in the configurator (CubeMX), but in fact, SWO is not present in the microcontroller.
Hi There,I am using a STM32G0 Nucleo MB1455C board with STM32G031K8 processor.Firmware loads ok through USB and runs as intended.For my target application I want to power the board from a 5V supply. According to the user manual that should be possible without any changes to the solder bridges on the board.However when I connect 5V to CN4 pin 4 the red power LED LD2 lights up, 3V3 is present but the processor does not start. It runs when I put 8V onto the Vin pin (CN4 pin 1).This feels like a configuration issue, but the manual seems to indicate this is not needed. A schematic would go a long way, but I could not find one for this board.Any idea what needs to change for the 5V power input to work?Appreciate your assistance.Regards, Peter
I recently purchased a mini drone set (Steval Drone 02 & Steval FCU001/V2) and encountered several issues after mounting and starting up the FCU.I would like to share these problems in the hope of finding a solution. Firstly, during indoor flight, after calibration and arming the drone, it only flies up to about 20 cm and cannot be controlled.I have ensured that the propellers are mounted correctly.I noticed on the forum that I am not the first to experience this issue. Secondly, regarding the Android app, there should be a take-off button on the screen as mentioned in the Help section, but it does not exist.Could you please guide me on where to find the log data? Lastly, concerning the gyroscope and accelerometer.I have installed the TM32CubIDE and loaded the FCU001V2 project.After making some changes as per the manual, the elf file was created without errors.I loaded it onto the FCU board, but the result remains unchanged. Upon debugging and evaluating the gyr
Hi I am using STM32H7S78-DK.I don't understand how to use the compare tool in cube mx project.My project consists boot and application software, i.e., a total of four different software versions. Which software does the compare tool compare? How can I select the software?
Hello, I wrote a program to test the CAN bus.In its current version, I am using standard CAN at 1 Mb with 8-byte frames.I transmit 16 frames with a 5 ms delay between each transmission.To identify the last frame in the block, I send a frame with a zero data length I am facing several issues. When I configure the CAN bus in INTERNAL_LOOPBACK mode, if I do not enable automatic retransmission, some frames that are reported as successfully transmitted are not received. In NORMAL mode, no frame is flagged as an error on the transmitting Nucleo board, but some frames are never received on the receiving Nucleo, while others are received multiple times. The last issue is that I can only communicate up to 4 Mb. At 8 Mb, transmission and reception errors are reported.
Dear STMicroelectronics Support Team,I am currently working on a project that uses the STM32F091CBU6 microcontroller. Could you please confirm the current lifecycle status of this part and provide any available information regarding its projected End-of-Life (EOL) date or Product Change Notifications (PCNs)?Additionally, if there is a recommended migration path or alternative part for long-term availability, kindly share those details.Thank you for your assistance.Best regards,Ramanakrishnan A
Dear STM Community,I'm familiar with the STM32CubeMX and the STM32CubeIDE, and I began discovering a motor control evaluation kit.The default project generated with the motor control SDK does not compile with default settings (even without touching an option), even though Cube was able to generate a project, and switched miiediately to the IDE. Most of the files were missing, so I had to manually re-import the whole directory structure, and adding all folders with header files in. I never experienced such a problem with a project directly created with the CubeMX.I've updated all STM tools to the latest version, tried to remove and re-download some STM firmware packages, I got further in the compile process, and stuck at a missing speed_duty_ctrl.h header, awhich I was not able to locate on my computer.In the Motor Control Workbench, I selected STM32CubeIDE as target platform, with matching version numbers for the CubeMX.STM32CubeIDE version: 2.0.0STM32CubeMX version: 6.15.0Mo
Hi, I am prototyping a PINGPONG project on two NUCLEO STM32WL55JC1 with en.stm32cubewl-v1-3-0 software.I am checking the link at low Rssi values driving one board apart from the other.The parameters are below. I change OUTPUT POWER from 0 to 22dBm.In all trials the receiver stops receiving packets when Rssi gets below -107 dBm.This is far too early. LoRa should receive packets at lower Rssi values. What goes wrong ?
I'm running into a strange issue: the following function compiles cleanly on one machine but triggers a compiler error on another. Both machines are running the same version of STM32CubeIDE (2.0.0), and the project is shared via a Git repo on Azure DevOps.Here is the function in question:#ifdef __cplusplus extern "C" { #endif #include "aws_iot_json_utils.h" #include <stdio.h> #include <inttypes.h> #include <stdint.h> #include <string.h> #include <stm32l4xx.h> IoT_Error_t parseUnsignedInteger8Value(uint8_t *i, const char *jsonString, jsmntok_t *token) { if(token->type != JSMN_PRIMITIVE) { IOT_WARN("Token was not an integer"); return JSON_PARSE_ERROR; } if(('-' == (char) (jsonString[token->start])) || (1 != sscanf(jsonString + token->start, "%" SCNu8, i))) { IOT_WARN("Token was not an unsigned integer."); return JSON_PARSE_ERROR; } return SUCCESS; }And here is the compiler error:../Controller/mqtt/aws_iot_json_utils.c:84:101: error:
Hi, I am using STM32U083 for one of our project. We are using the I2C peripheral to communicate with NFC dynamic tag through I2C.In STM32U0 datasheet I found that the I2C pins SCL and SDA are 5V tolerent pins.We need the I2C to work independently of the MCU VDD voltage ( MCU VDD 2.5v and I2C pullup resistors to 3.6v).the slave NFC tag will work at 3.6, but I am not sure of the MCU. Since I2C are open drain and if we meet the Vih and Vil, my thought is it should work.If I can get some confirmation if this is okay or can have any drawbacks or problems will be very helpful.Thanks.
To realize carkey function, what conditions do card readers need and what aspects of hardware will be measured?
I am trying to implement peak current mode using STM32G474. I implemented the code using direct register manipulation for high-speed interrupt operation. I confirmed that a sawtooth wave is generated using the following code, and that variables can be adjusted in real-time using the volatile type. When I used a separate project to output the sawtooth wave purely on its own, it worked correctly. However, when I integrated this code into the PCM project, the RST (Reset) works fine, but the sawtooth slope is not visible (The slope is visible when the same logic is used for simple sawtooth output). What could be the reason for this? Also, would implementation using HAL be possible?
I’m working with the STM32U575 and I found in the datasheet that the Flash programming time for a 128-bit (16-byte) write is:118 µs in normal mode48 µs in burst mode(From Table 86: Flash memory characteristics)Before finalizing our design, I need clarification on how these timing values apply in practice:Is the 128-bit programming time the total time per write operation, or is there additional overhead (such as “opening/closing a page” or internal setup time) that needs to be added?If I write multiple 128-bit words sequentially, do I pay the 118/48 µs each time, or is there any extra per-sequence delay?Are there any alignment requirements beyond 128-bit (16-byte) alignment?Do these programming times assume the Flash page is already erased?We plan to evaluate whether the internal Flash write speed will meet our throughput needs, so I want to be sure I understand all timing components correctly.Thanks!
Hello community, I am working with the VL53L0X Time-of-Flight distance sensor and the official ST API driver (VL53L0X API package).My hardware platform is: STM32H747I-DISCO board (CM7 core) I2C3 used to interface the VL53L0X FreeRTOS running on CM7 Display controlled using TouchGFX I copied the VL53L0X API (platform.c, platform.h, vl53l0x_api., vl53l0x_platform. etc.) into my STM32 project. Issue: When I call any API functions Inside a FreeRTOS task, the code does not proceed beyond the first API call.The task appears to get stuck, and my LCD (TouchGFX) stops updating as well. When I comment out these VL53L0X API functions, FreeRTOS and the LCD work normally. FYI I have attached Latest API
I am developing I2S on the NUCLEO-L433RC-P development board using a BT401 bluetooth audio receiver and MAX98357A I2S amplifier.I need to pass the I2S audio data through the STM32L4333 (refer to diagram below). I have done this before using a Microchip dsPIC33E but this has both DATA IN and DATA OUT pins for I2S.Whereas the STM32 only has a single DATA pin (SD), so it can only be DATA IN or DATA OUT.Does this mean I cannot use the STM32 to pass through I2S data ?
When generating code im getting two erros:In timer_if.c:in LoraMac.c: I've been trying to look for some answers but i couldn't really find something useful.If someone can help i'd really appreciate it.Regards.
Greetings,I'm making a USB PD Sink device with a STM32G483 & TCPP01-M12, that will be able to take up to 15V@3A.I started implementing USB PD functionality using STM32CubeIDE 1.19.0 & FreeRTOS. Step by step.The current config is mostly stock, with only a custom BSP_USBPD_PWR_VBUSGetVoltage(uint32_t instance, uint32_t *pVoltage) implementation that reads VBUS voltage & writes it in mV to pVoltage.At init(), firstly MX_USBPD_Init() is called, after that, I'm applying power to TCPP01-M12 & disabling the Dead Battery resistors. Current FreeRTOS config: CMSIS_V2, 16000 bytes heap with heap_4 scheme, NEWLIB_REENTRANT enabledCurrent USBPD config: Full Stack, TIM2 timer, NVIC, DMA set, 2 fixed PDOs, 5V@3A & 9V@3A. Everythink else in Stack Port 0 config is not supported (except SOP). If I understand correctly, the stack should work as follows:At the cable attachment, the source presents 5V on VBUS and sends its capabilities to the sink
Hi all,I am on the lookout for an STM32 microcontroller for a USB Device design where the order of USB D+ and D- pins can be "reversed". What I mean by this is that in most ST MCUs I have reviewed the USB pins are arranged so that D+ is above, and D- below it, as exemplified by the following screenshot from CubeMX and a random MCU:This arrangement makes perfect sense e.g. for SMT USB Micro-B Female connectors as the pin arrangement of such components often nicely aligns with this order.However, what I want to do is use an SMT USB-A Male connector on a PCB board, such as in this run-the-mill USB Flash Memory example form Kingston:When a male connector is used, the pins of the connector are often aligned so that I would have to "cross" the wires in order to match the arrangement that ST MCUs expect.I am aware that I could place the MCU on the bottom side of the PCB and the USB connector to the top side but I specifically do not want to do this, mainly due to the PCB-A supplier I am worki
I'm facing a problem when trying to build an image for my mp257f-eval board using a custom device tree generated from cubemx. I've followed the instructions from the following wiki : https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Distribution_Package#Creating_a_new_open_embedded_layer_for_your_demo But the build fails when trying to compile optee, because the device tree does contains a reference for a pll device not declared earlier. i did some lookups inside the working directory, and i found it declared in the recipes-security/optee folder under meta-st-stm32mp meta layer (https://github.com/STMicroelectronics/meta-st-stm32mp/blob/scarthgap/recipes-security/optee/optee-os/0001-4.0.0-stm32mp-r2.patch). i guess the patch is not applied to the device tree, only the standard device trees for common boards get patched. i don't know if someone has faced a similar problem and can help? I'll attach the log and configs files using for the build. thanks in advance.T
Split from this old, abandoned thread.I see the same error. I'm using STM32F302, talking to MCF8329A using I2C. I can see the STM32 is reading the MCF8329A perfectly fine with no error when I power cycle it.But when I run the firmware on debug mode on stmCubeIDE, I see the I2C doesn't respond, it responds with an error from I2C_WaitOnFlagUntilTimeout.
While implementing I²C communication between the STM32F446RE and the MPU6050, the communication does not work when running in debug mode. However, if the board is reset by just unplugging and re-plugging the power, the I²C communication works correctly, as verified with a logic analyzer. But the communication is not observed in debug mode. What might be the issue
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.