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
Hello. Please forgive a 'newbie' question. Whilst I am new to STM32 chips I have been programming MCUs for many years which makes this problem even more frustrating.I wrote a program which I then uploaded onto a Bluepill (genuine processor) using CubeIDE v1.16.0 (and later Cube Prog v2.17 as a standalone) and the STLink V2 interface with the most up to date firmware. The program didn't run so I assumed that it was something that I was doing wrong (it probably still is). I went back to basics and viewed several 'tutorials' on YouTube. I then set up a minimal program to flash the onboard LED at PC13. I left all the settings of the IDE as they came when the IDE was installed. I set PC13 as a GPIO output and left all the rest of the GPIO settings as they were. I used HAL_GPIO_WritePin to write directly to the pin with HAL_Delay as the delay mechanism. So four lines of code in total all placed after the /* Infinite loop */ /* USER CODE BEGIN WHILE */ whil
Hello,I'm working with the Vibration Monitor use case available in the Example Apps of Steval SensorTile.Box MKSBOX1V1. I'm quite happy with how it works, but I would like to modify some parameters and here comes the problems (both modifying the already available apps and creating new ones from the scratch in the expert mode). The app consists of two steps, one creating the vibration profile of the monitored object (Vibration Monitor - Training) and the second finding the differences between the current vibration profile and the reference one to identify anomalous vibrations.If we give a look to the settings of this example app, which is correctly working, we can see among the the parameters of the Vibrometer Accelerometer Sensor that the Output Data Rate (ODR) is set to 6666Hz and by default it can stream data over Bluetooth (otherwise it would not work with the Android app, lighting on the virtual lamp when the Sensortile.Box vibrates). However, when I click on "modify" in order
Hello everyone,I am reaching out to the community regarding an issue my team is experiencing on the STM32MP257F, specifically within a project running on the Cortex-M33 core.ContextWe are attempting to configure SPI2 to transmit data to an external DAC using HPDMA1. While SPI2 transmission works correctly without DMA, integrating HPDMA results in no data movement—DMA does not appear to start, and SPI output remains idle.We initially relied on CubeMX for code generation, but due to several inconsistencies (e.g., peripherals marked as enabled were not properly configured, some register settings missing), we shifted to a manual initialization approach. Unfortunately, the issue persists.Technical RequirementsThe intended configuration is as follows:DMA Mode: Standard transfer (no linked list).Direction: Transmit only; no receive path required.DMA Request Source: HPDMA_REQUEST_TIM3_UPTIM3 period: 50 µsClock: 200 MHz, Period register: 9999Trigger Source: TIM15_TRGOTIM15 period: 250 µsClock:
Just received my X-NUCLEO board and I am trying to discover what the default firmware is on the shipped boards? The getting started guide appears to suggest one needs to program the module. Sid
Hello,This is a general suggestion that I would like to make. While I think it's great that all HAL libraries are available on GitHub, I would like to suggest creating a github release for the official versions in addition to creating tags. This can be done on GitHub with just a few clicks. The reason for this is the use of component analysis platforms such as Dependency Track, which make it possible to automatically track the libraries used, a task that is becoming increasingly important. Unfortunately, Dependency Track requires a release in order to track the version. While it is also possible to track this using the commit ID, for example, a release would be the better approach here. I welcome feedback and the possible realization of this suggestion.For Example ARM is doing this with their CMSIS Package: https://github.com/ARM-software/CMSIS_5-Hannes
Hello,I am using the ST25R3916B reader on a custom board to read NFC-A cards. I first experimented on the X-Nucleo-nfc08a1 expansion board connected to esp32-s3 devkit. I modified the RFAL library a bit to fit my needs and kept most registers at their default values. With this setup I was able to communicate with an NFC-A card perfectly.On my custom board, which is powered by 3V, I am able to communicate with the reader: read IC ID, read/write registers, receive interrupts. But I still haven't been able to communicate with the card. I receive no ATQA for my REQA. In fact no rxs or rxe interrupts are being raised (txe interrupt is being raised after sending direct command Send REQA). Code used on X-nucleo-nfc08a1 and custom board are exactly the same, except they have different SDA and IRQ pins.I am still checking out the hardware design to check for any issues, especially with the antenna matching circuit. In the mean time I wanted to check a few other things:1. I receive an oscil
I was able to install and open the STMCubeIDE for my macbookpro with M1 apple silicon. But cannot obtain .iop files as the STMCubeMX plugins .mx and .mcu do not unpack and get installed. I have checked my firewall and any blockages created by mac but nothing is being blocked in quarantine or privacy as well. I tried to completely delete and reinstall the software 5 times but nothing is working. As the plugins are default no manual intervention can be done as well. Please help!
Hello I have a code use CAN on a stm32U585 he work fine if the CAN bus have not disturbance But if i have to many disturbance for exemple if i make a short circuit bethen CANH and CANL when i remove the short circuit the CAN no restart to send data. I need stop and restart CAN HAL_FDCAN_Stop(&hfdcan1); HAL_FDCAN_Start(&hfdcan1); After the disturbance, the return value of HAL_FDCAN_GetState() and HAL_FDCAN_GetError() remains unchanged. How can I immediately know when there is a problem with CAN
So here is a weird thing I've noticed with a STM32U073... CubeMX shows that this CPU has the "Trace Asynchronous SW" option, but for this mcu it is no longer listed under SYS, but under its own category: "Trace and Debug" -> "DEBUG". Anyway, after enabling it, the signal shows up on the graphical pinout, with the name "DEBUG_JTDO-SWO". This is pretty much the same as i was used to with other STM32 mcu's. So when i was designing a PCB for this new STM32U073 MCU i assumed it had support for SWO (or SWV or whatever the name is). But now when I'm trying to debug this MCU, the debugger doesn't allow me to enable "Serial Wire Viewer (SWV)" in the debug configuration properties of STM32CubeIDE. The option is just greyed out. So I did some more digging in the datasheet for the STM32U0, and I'm starting to wonder if it even has support for SWO/SWV? Can anyone enlighten me? Is this just a problem with the debug config in STM32CubeIDE, or does the STM32U0 have no SWO/
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?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.