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
Hi everyone,I’m looking for the latest condition-based predictive maintenance kits or devices with the following features:1. Vibration monitoring2. Acoustic sensing3. Temperature monitoring4. Battery Powered, Low Voltage5. Wi-Fi connectivity6. AI-based anomaly detection/failure prediction7. Cloud connectivity. Could you please let me know the latest and best recommended product that meets these requirements? Any details on specs, AI capabilities, and cloud integration would be greatly appreciated.Thanks!Sajid
HiI have recently purchased the STEVAL-STWINBX1 (STWIN.box) board, and I’m exploring its use for predictive maintenance applications.I already know that FP-AI-PREDMNT2, together with DSH-PREDMNT, is available for the STEVAL-STWINKT1B kit.Could anyone let me know if a similar cloud application/dashboard (like DSH-PREDMNT) is officially available or supported for the STWINBX1 board?Any guidance or references would be much appreciated.Thanks.
Hello everyone,I’m looking for any Wi-Fi connectivity implementation examples for the STEVAL-STWINBX1 (STM32U5). Ideally, I’m searching for a solution that integrates with the eLooM framework, or at least a reference on how to properly add Wi-Fi tasks within eLooM.Specifically, I’m trying to find:Wi-Fi driver/task examples compatible with STWINBX1Any eLooM-based implementation of Wi-Fi or network communicationExample projects that connect to AWS IoT using Wi-Fi (HTTP)Documentation or sample code showing recommended methods for enabling Wi-Fi cloud communication on STWINBX1So far, I haven’t found a clear reference project for STWINBX1 + Wi-Fi, especially one supporting cloud connectivity or integrating with the eLooM architecture.If anyone can share links, example projects, or guidance on how to implement this, it would be greatly appreciated.Thank you!Sajid
Hello,I am looking for help debugging an issue with both ADCs running in continuous conversion mode with multiple channels, using DMA on an STM32H7 device.Hardware / ToolsBoard: NUCLEO-H7S3L8MCU family: STM32H7RSPeripherals: ADC1 and ADC2Mode: Continuous conversion, multi-channel (scan mode)Data transfer: DMAConfiguration OverviewBoth ADCs are configured in continuous conversion modeEach ADC scans multiple channelsDMA is used to transfer conversion results into memory buffersDMA buffers are statically allocated and placed in DMA-accessible memoryD-Cache is enabled on the H7Problem DescriptionBoth ADCs are running and DMA transfers are occurring, but the sampled data in the buffer is always 0In the SFR it shows that the ADC is working, but the DMA is idle/not set up correctly. Also the DMA buffers are in a non-cacheble region protercted by my MPU.static void MPU_Config(void) { MPU_Region_InitTypeDef MPU_InitStruct = {0}; /* Disables the MPU */ HAL_MPU_Disable(); /* Disables all MP
I am using two UARTs simultaneously.The CPU is STM32H743. One UART is on UART 4 that transmits information to pc uartAnd the other UART on UART 5 receives information from pcIf these UARTS function alone, they function well.I am using the DMA idle function on the receive and the DMA function on the transmitWhen they function together, the information is not properly received from the PC on UART 5.Please help me resolve this issue
Hello Everyone, I am following below tutorial to create an ai application from scratch on my custom board.https://community.st.com/t5/stm32-mcus/how-to-build-an-ai-application-from-scratch-on-the-nucleo-n657x0/ta-p/828502I am able to run inference following the tutorial. Now, Instead of using UART for transmitting inference results, I want to use USB CDC to transmit the inference results. I have to enable USBX and ThreadX and move MX_X_CUBE_AI_Init() and MX_X_CUBE_AI_Process() from MAIN to app_ux_device_thread_entry. I have given below pool sizes:USBX_MEMORY_STACK_SIZE 1024*35TX_APP_MEM_POOL_SIZE 1024*8UX_APP_MEM_POOL_SIZE 46080When I run the application, I can see the device enumurates as USB serial device. Once I run MX_X_CUBE_AI_Process(), ux_device_class_cdc_acm_write() no longer works. If I comment out MX_X_CUBE_AI_Process(), I am able to continously write data to ux_device_class_cdc_acm_write and view in PC terminal. Further If dont invoke&nbs
Hello, I am trying to use SAES with a wrapped key to decrypt firmware updates on an stm32u5g9vjtxq. I am not sure how I should be changing the InitVect in CRYP_AES_CBC mode after hcryp is already initialized with HAL_CRYP_Init. To elaborate on what I am trying to do I have created a wrapped key that is being stored in OTP memory along with the IV used to encrypt / decrypt that wrapped key. My bootloader calls HAL_CRYPEx_UnwrapKey using the OTP memory address of the wrapped key and the IV also stored in OTP. I then want to change the IV to match that of what was used to encrypt the new firmware image, the unwrapped key is what was used to encrypt the firmware image. I am not sure how to accomplish this without having to call HAL_CRYP_Init again...I think the second call to HAL_CRYP_Init looses the unwrapped key and replaces it with whatever is defined in hcryp.Init.KeySelect which I have set to CRYP_KEYSEL_HW.To summarize I need to be abl
I created a 10Hz sine function with phase of pi/4, amplitude of 1000, bias of 2000, a sampling rate of 1kHz, and 2048 samples (20 periods in total) and saved it into q15_t input[2048].I created a fft stract by arm_rfft_init_q15(&S, 2048, 0, 0)I entered the input into arm_rfft_q15: arm_rfft_q15(&S, input, output), while output define as q15_t output[4096]I took the input and output and copied them to Python.I used fft in Python on the input data.In addition, I arranged in Python the output of arm_rfft_q15 by calculating the magnitude of the numbers (where each pair of consecutive indexes represents the real and imaginary parts of a number) and then I applied fftshift on the data.The input, and the fft from python and arm_fft_q15 are attached.I don't understand why I do not get the same result from python and from arm_fft. Python's result seems logical (one peak at the oscillation frequency) and arm_fft's result are not make sense. Why do I get a lot of peaks and how do I convert
Since I use Linux and am accustomed to Python scripts, I decided to create a script that generates file systems with all the contents of a directory.I was inspired by the work of Jim Pettinato and Simon Goldschmidt, with no difference in the result, only changing the language.I am also finalizing another script that will be in this same repository that will generate endpoints for RESTful, based on a Swagger file that will describe the endpoints requested by the web page or other application.If you have any questions or suggestions, please feel free to ask.These projects are part of my STM32 studies, and I am migrating the tools I use to other processors.
Hello, we intend to implement a time-dependent channel change via the operational amplifier in voltage follower mode, as described in AN5306 - Rev 1 Page 31, 5.1. However, when checking the output, there is an unwanted gain (x2) on channel 2. Any idea where it comes from or what could be set incorrectly? Switching between channels using a timer and MUX works as expected, but the second channel has a gain of 2, although in voltage follower mode this should not be the case.For testing, 1 volt was connected to both channels and it was expected that 1 volt would come out at the output, despite the change via the MUX, but it changes between 1 volt and 2 volts because the second channel has this unwanted gain. CubeMX Configuration: OPATimer:Pins: code settings: /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { RCC_OscInitTypeDef RCC_OscInitStruct = {0}; RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; /** Configure the main int
I'm planning on moving from STM32F103 for more speed, so in advance of getting a board I thought I would try building an app for the STM32G431... so I found an small example project online that was using an OpAmp feature.Having got that compiled ok in STM32CubeIDE I backported my app source code into the project (which went ok), but compiling it was missing some definitions for HAL UART structures.Looking at "Drivers/STM32G4xx_HAL_Driver" in my original project and comparing it with "Drivers/STM32G4xx_HAL_Driver" in the new project I see that its missing some files like "stm32g4xx_hal_uart.h". Is it possible to force STM32CubeIDE to regenerate the Drivers subfolder from scratch?I always find switching a STM32CubeIDE project between different MCUs a harder job than it should be, e.g. it would be nice if there was a combo box listing MCUs in the project properties.
Hello,I'm researching possibilites to teach DSP undergraduate course using boards STM32H750B-DK, that we alreadyuse in other courses related to low leve programming. So far, I've identified two possible workflows:1. it seems possible to create project for board to act as USB sound card that could be interfaced to GNU octave environment and first steps of audio processing could be done there2. we would like to create first simple audio pass-through app for our board with two inputs (MEMS mic or line-in) and several outputs, but mostly headphone output. 3. after initial example in 2., we could add also audio processing algorithms that could be prototyped in 1. and code in C on the board. We would also love to do some audio analysis (Amplitude response, Spectrograms etc)... I have found quote some starting points, but also a lot of questions raised that there is a lot of non-working examples. My starting points would be BSP package for our board, also some examples for STM32F769
Tried running DMA with ADC simultaneously by configuring both in CubeMX, but I am not getting correct ADC values in the buffer. The sin wave from the signal generator is completely distorted. The ADC works individually without the DMA by filling the buffer through interrupts. The DMA is configured in circular mode. I even tried running the sample code of ADCgainCompensation from ST(modified a little to get values in a buffer), but had no success.
HelloI am trying to drive a MEMS mirror via I2C communication using the nucleo-h723zg board.This is the clock configuration: Then I activated the I2C1 as follow: I used the pins PB8 and PB9 for SCL and SDA:I'm using the DAC called MCP47x6A0T, so the address should be:static const uint8_t DAC_Address= 0x60; Then I give an input data:static const uint8_t MEMS_Digital_Input2= 0x1C;and then I use the function Master Transmit in the while loop:HAL_I2C_Master_Transmit(&hi2c1, DAC_Address, MEMS_Digital_Input2, 1, HAL_MAX_DELAY);I've this circuit connected to the microcontroller: Using an oscilloscope and a multimeter I'm always measuring 0V and I can't see the SCL and SDA signals.Do you know where am I doing wrong?Kind regards
Hi and happy new year... I'm a complete beginner, and I'm facing a major problem.I've tried creating a new project in CubeID for an STM32F401CEUx.But the project "STM32 Project" doesn't appear in the list of new projects.The closest thing I find is one called "STM32CubeIDE Empty Project," and when I create a project using this template, the initial image of the chip where I configure the pins doesn't appear, and the IoT file isn't in the project tree either.Why could this be?
Hi,I am working with the STM32N6570-DK board. Initially, I am using the GPIO_IOToggle example project to verify the basic board functionality.I configured the hardware using STM32CubeMX v6.16 and generated the project using the STM32CubeIDE toolchain. The project was built successfully using STM32CubeIDE v2.0.0.When I run the project in debug mode from CubeIDE, the LED toggles correctly.However, the device does not boot when I flash the binary manually using STM32CubeProgrammer v2.21.0. Signing and Flashing DetailsI am using the following command to sign the output binary generated by CubeIDE:STM32_SigningTool_CLI -bin <path to fsbl project.bin file> -nk -t fsbl -hv 2.3 \-o <path to fsbl project-trusted.bin file> \-dump <path to fsbl project-trusted.bin file> -align After generating the trusted binary, I flash it at address 0x70000000 using STM32CubeProgrammer.Boot ConfigurationBOOT0 switch: position 1–2BOOT1 switch: position 1–3After flashing the trusted bi
Hello,I am using the STM32U5G9ZJTXQ with TouchGFX on a 4.3-inch display (480×272). The display works fine, but the touch is not working. The touch controller IC is GT911.
Hello,I'm facing very strange issues with STM32CubeIDE 2.0.0 under Linux Debian Trixie/Forky.I'm running Kernel 6.17.11+deb14-amd64 with Plasma 6.5.4, KDE Framework 6.20.0 and QT version 6.9.2 in Wayland.First issue is with debugger. I can start the firmware in debugging mode, runs but after few "Step Into" and "Step Over" commands the debugger is getting stuck. I doesn't take any commands anymore.If I use "Restart" or "Terminate" or "Terminate and Relaunch" is starting again and again I can use few times "Step Into" and "Step Over" Second issue is with windows ordering after using for a while STM32CubeIDE: it breaks completely the windows orders under Plasma and the only solution is to logout and login back and restart all apps.I didn't get this issue with any other apps, except STM32CubeIDE.
Hello ST Team, We are using the STEVAL-MKI109V3 as the motherboard and STEVAL-MKI208V1K (IIS3DWB vibration sensor) as the daughter board. We currently communicate using the USB virtual COM port at 115200 baud and send ASCII commands such as: *SETDB208V1 *ZOFF *W10A2 *DEBUG *STOP These commands work correctly over USB. Objective: We would like to print the data serially using the same commands, but over Bluetooth, not USB. The accessory board STEVAL-MKI115V1 is no longer available in the market. We tried using an HC-05 Bluetooth UART module, connecting it to BT_TX and BT_RX (J9 connector), but it did not work, so the default MKI109V3 firmware support UART input/output on the BT_TX / BT_RX pins ? Can we connect a standard Bluetooth SPP module (HC-05 or similar) to BT_TX / BT_RX and send the same ASCII commands (*SETDB208V1, etc.) wirelessly? Or is USB the only supported communication interface in the default firmware for command parsing and data streaming? Any guidance or doc
Hi everybodyI need some help to identify this ST micro diode , can anybody point me in the right direction please?I have tried searching for the numbers on the diode with no luck.regardswasim
Hey Folks, Description:I am using STM32N6570-DK with Azure RTOS (ThreadX + FileX) to store camera frames on an SD card using SDMMC2.Use case:Capture camera frames (RGB565, 320×240) using DCMIPPDisplay frames via LTDCContinuously write frames to SD card using fx_file_write()Issue:Small file read/write (text file) works correctly.When continuously writing video frames (~153 KB per frame), FileX fails after 2–3 frames.FileX returns FX_IO_ERROR (144).Failure occurs during media flush / directory update, not directly in application code. Configuration:From fx_stm32_sd_driver.h:#define FX_STM32_SD_DMA_API 1#define FX_STM32_SD_CACHE_MAINTENANCE 0#define FX_STM32_SD_MAX_TRANSFER_SECTOR 16#define FX_STM32_SD_DEFAULT_SECTOR_SIZE 512FX_STM32_SD_WRITE_CPLT_NOTIFY() waits on a ThreadX semaphore
Hello,i have a STM32F114 (Black Pill V3.0) and a strange timer problem. We all know that when setting the APB1 clock divisior is > 1, the APB1 timers gets twice as fast (2x, TIMPRE bit is not set). However, my timers are 4x when the divisor is > 2 (RCC_CFGR_PPRE1_DIV4, RCC_CFGR_PPRE1_DIV8, ...). It doesn't matter if i use HSI, HSE or PLL as sys clock source. My timer interrupt is twice as fast compared to a APB1 divisor of 1 or 2:APB1 divisor = 1: timer interrupt each 0.1 ms (10 KHz)APB1 divisor = 2: timer interrupt each 0.1 msAPB1 divisor = 4: timer interrupt each 0.05 ms (20 KHz)...I checked different frequencies (16 MHz, 48 MHz and 100 MHz sysclock). AHB and APB2 divisors are 1. I used two STM32F114 devices for testing. I double checked everything. Code:// reset state assumed, HSI is 16 MHz unsigned long cfgr = RCC->CFGR; cfgr = (cfgr & ~RCC_CFGR_HPRE) | RCC_CFGR_HPRE_DIV1; // AHB clock = 16 MHz cfgr = (cfgr & ~RCC_CFGR_PPRE1) | RCC_CFGR_PPRE1_DIV8; // AP
Hello! Quick question about ST patches for MbedTLS 3.6.5 (stm32-mw-mbedtls).Why was the defined(MBEDTLS_MD_SOME_PSA) added here (in library/md.c)?When MBEDTLS_PSA_CRYPTO_C is defined, the only way to define MBEDTLS_MD_SOME_PSA is to define one of MBEDTLS_PSA_ACCEL_ALG_XXX which, I think, is an internal macro of MbedTLS. Should I just remove the patch or does it serve a purpose? Would it be better to define MBEDTLS_PSA_ACCEL_ALG_XXX?#if defined(MBEDTLS_PSA_CRYPTO_CLIENT) && defined(MBEDTLS_MD_SOME_PSA) int mbedtls_md_error_from_psa(psa_status_t status) { return PSA_TO_MBEDTLS_ERR_LIST(status, psa_to_md_errors, psa_generic_status_to_mbedtls); } #endif /* MBEDTLS_PSA_CRYPTO_CLIENT and MBEDTLS_MD_SOME_PSA */Thank you in advance.
Hello,How to perform FFT and frequency binning operation using STM32U031R8 with STM32CubeIDE.Any libraries available?Any video tutorials available for the same? Thanks,Neeraja
Hello,I need to create a dual-core project for STM32 based microcontroller. How to create dual core project in STMCubeIDE.What are the build and debug steps for the same?Any video tutorials available for the same? Thanks,Neeraja
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.