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,The latest version of X-CUBE-AI is 10.2.0, which comes with ST Edge AI Core v2.2.0.The latest Edge AI Core version is v3.0.0.The STM32 model zoo release 4.0 adds support for ST Edge AI Core v3.0.0.The STM32 model zoo release 3.2 adds support for ST Edge AI Core v2.2.0.Some of the models from the model zoo release 4.0 fail to generate code with the latest X-CUBE-AI with errors such as "Your model ir_version is higher than the checker's".What are the intended tools to build the models from the modelzoo 4.0 release for the STM32N6, or is only release 3.2 supported?Thanks!
Continuation of this thread. Hello, I've wired SDRAM (AS4C4M16SA-5TCN) with STM32H730ZBT. Connection works, I can read/write data, but every other byte. Let's start with array declaration: uint8_t *externalRAM = (uint8_t*)0xC0000000; /* USER CODE END PV */ Then I'm trying to write some bytes to this array, ie: externalRAM[0] = 0xAA; externalRAM[1] = 0xAA; externalRAM[2] = 0xAA; externalRAM[3] = 0xAA; And to read it: uint8_t test[4]; test[0] = externalRAM[0]; test[1] = externalRAM[1]; test[2] = externalRAM[2]; test[3] = externalRAM[3]; And this is the result: Sometimes test[1] has 0xAA too, but mostly it's 0. I've tried to lower FMC frequency or change memory timings. What does this look like?
Hello,I am experimenting with X-Cube-AI (v10.2.0) in STM32CubeMX(v6.16.1). I noted that the version of the ST Edge AI Core in this case is v2.2.0. Moreover, this makes that the Embedded Interface is the legacy one, instead of the the newest ST-AI. I wonder if there are plans to update X-Cube-AI so it uses the latest version of ST Edge AI (v3.0.0), and uses the latest the ST-AI interface.Thanks.
In an effort to track down an unrelated problem, I switched back to using my H7 DISCO board and the HSEM_CoreSync sample application. If I debug only the CM7 code, or only the CM4 code, I can step through any/all lines. However, if I try to multi-core debug, single stepping on the CM7 says it is performing a step:(before hitting F5)(after hitting F5)but it really doesn't. As you can see by the left red circle, it claims it is performing a step. In reality it did not step into MPU_Config, it actually performed a continue and is in the Error_Handler call shown in the right hand red circle.Even if I set breakpoints in MPU_Config, hitting any step/continue button will cause it to skip the breakpoint(s) and end up in the Error_Handler. Pausing the CM7 shows the stack as calling that instance of the Error_Handler, and the Fault Analyzer always shows no faults.The compiler options are all set to maximum (-g3), so this shouldn't be a problem of trying to debug optimized code.Does anyone have a
I get this type of error when I'm trying to setup a project with Nucleo-H563ZI and GCC here:I also get information that gdb is not running, while I've installed everything in the same way as I did on my previos laptop im my work. I've even changed system env for not checking tls or sha256 in stm but it still ain't working. Don't know what can I do.
Dear ST Community,We are working with the STM32MP257F-EV1 evaluation board and using the Yocto Distribution Package for our software stack.Our intended boot sequence is:Boot starts from the Cortex-M33 core.The M33 firmware is responsible for triggering the boot of the Cortex-A35 core.We would like to confirm:Is this boot flow supported on the STM32MP25x platform?If yes, could you please share the recommended procedure or reference steps to implement this?Any guidance or official documentation links would be greatly appreciated.Thanks and Regards,Ishan
Hello,I'm spec'ing a system where we would need to interface 4x eight-channel ADCs with an MCU for audio capture. Simultaneous capture on all channels is an important requirement.Currently we are considering the STM32H750VB MCU which has 4x SAI interfaces, and the Analog Devices AD7768. All ADCs would be running at the same time, synchronized, and the data from them would be DMAed into ring buffers.I'm not familiar with the ST SAI interface. It seems like they can support 8 channels in TDM mode (which that ADC supports), but I'm not sure?Can this be done with the STM32H750VB?
Hello, I have a query about how HAL_UART_Receive_DMA and HAL_UARTEx_ReceiveToIdle_DMA work?For my application there is a varying payload size, so I am wondering how would I trigger the HAL_UART_Receive_DMA(&huart3, rx_buffer, 4096, 0xFFFF); interupt? As from my understanding it would be waiting for all 4096 bytes of data which won't arrive unless a different frame was sent.Whereas HAL_UARTEx_ReceiveToIdle_DMA(&huart3, rx_buffer, 4096); triggers once the serial port stops communicating, however it stores the received data in 512 byte chunks, which has proven difficult to access when generating a LUT from the rx_buffer.If anyone can shed some insight over how these interrupts work? And how to make them applicable for a variable payload would be great.
I have implemented a USB Audio 2.0 device that receives audio from the PC host (speaker endpoint) and loops it back (microphone endpoint). The PC correctly recognizes the device, and audio playback works, but I'm experiencing unexpected low-frequency noise.Specific symptom: When playing a pure 350Hz sine wave from the PC, the device receives not only the sine wave but also significant noise content from 0Hz to 350Hz. This noise is audible in the loopback audio sent back to the host.The audio data flows through a simple memory copy without any DSP processing:ux_utility_memory_copy(write_buffer, read_buffer, copy_len); ux_device_class_audio_write_frame_commit(g_mic_stream, copy_len);I also perform FFT analysis for visualization (TouchGFX), and the spectrum confirms the low-frequency noise is present in the received audio data itself, not introduced by my processing.I have tried to disable the microphone endpoint and keep just the speaker endpoint but the issue persists.Any guidance on di
I am building an STM32H7 project (STM32H753) using CMake + STM32CubeMX and GCC.The firmware builds and runs correctly, but STMStudio fails to load debug symbols with the following error:DWARF error. Wrong version in compilation unit header (is 5, should be 2,3 or 4) Even when -g is used, the error persists. I set the following flags on CMakeLists:set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -gdwarf-4") set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -gdwarf-4") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -gdwarf-4") So, I appreciate any advice.
Hi,I'm trying to set an interupt in case of a spike, or in case of magnitue of my ISM330IS>some const - but cannot find anywhere the interupt configuration.I'm trying to get ISPU code.thanks!
We are developing an automotive application that displays vehicle acceleration and deceleration through an LED array. We initially only utilized the accelerometer function of the ASM330LHHTR inertia module but were getting inconsistent results on inclines and declines. We fused the 3D gyro to help compensate for this inconsistent results but have been unsuccessful. Is there an FAE we can speak with to help resolve our issues?
I am using NUCLEO-U083RC with X-NUCLEO-IKS4A1. I read the data from LIS2DUXS12 which is on X-NUCLEO-IKS4A1. The accelerometer data is in 8 registers. OUT_X_L, OUT_X_H, OUT_Y_L, OUT_Y_H, OUT_Z_L, OUT_Z_H.I am trying to understand the instructions in the document AN5909 page 23. The example shows:Get the raw data from the sensor:OUT_X_L: 61hOUT_X_H: FDhOUT_Y_L: 73hOUT_Y_H: 00hOUT_Z_L: F0hOUT_Z_H: 42hDo the register concatenation (useful data on 14 bits, last 2 bits must be ignored):(OUT_X_H << 8) + (OUT_X_L & 11111100b) = FD60h [-672 in two’s complement](OUT_Y_H << 8) + (OUT_Y_L & 11111100b) = 0070h [+112 in two’s complement](OUT_Z_H << 8) + (OUT_Z_L & 11111100b) = 42F0h [+17136 in two’s complement]Apply the sensitivity and obtain the value in mg (0.061 mg/LSB at full scale ±2 g):X: -672 * 0.061 = -41 mgY: +112 * 0.061 = +7 mgZ: +17136 * 0.061 = +1045 mgI have the following question: why is the two's compliment for FD60h ca
Dear all,I have extracted the XSPI_PSRAM_MemoryMapped for STM32N6570-DK from CubeMX without modification and created cmake code to integrate it into VSCode.Compiling it works, but the linker fails:simon@europa:~/STM32Cube/Example/XSPI_PSRAM_MemoryMapped/FSBL/build$ cube ninja [1/1] Linking C executable XSPI_PSRAM_MemoryMapped_FSBL.elf FAILED: [code=1] XSPI_PSRAM_MemoryMapped_FSBL.elf : && /home/simon/.local/share/stm32cube/bundles/gnu-tools-for-stm32/14.3.1+st.2/bin/arm-none-eabi-gcc -mcpu=cortex-m55 -mfpu=fpv5-d16 -mfloat-abi=hard -mcmse -Wall -fdata-sections -ffunction-sections -O0 -g3 -mcpu=cortex-m55 -mfpu=fpv5-d16 -mfloat-abi=hard -mcmse -T "/home/simon/STM32Cube/Example/XSPI_PSRAM_MemoryMapped/FSBL/STM32N657XX_AXISRAM2_fsbl.ld" --specs=nano.specs -Wl,-Map=XSPI_PSRAM_MemoryMapped_FSBL.map -Wl,--gc-sections -Wl,--print-memory-usage CMakeFiles/STM32_Drivers.dir/home/simon/STM32Cube/Example/XSPI_PSRAM_MemoryMapped/Drivers/BSP/STM32N6570-DK/stm32n6570_discovery.c.obj CMa
what am i doing wrong?
Hi Team,We I have shortlisted the STM32U535RET6QTR microcontroller for our microwave oven control panel. The MCU includes an integrated Touch Sensing Controller (TSC), and our design requires 8 capacitive touch keys.Before finalizing the component selection, we require clarification on the following points to ensure compliance with home‑appliance safety and EMC standards:1.Is the STM32U535RET6QTR suitable for microwave‑oven capacitive‑touch applications?2.Does ST provide any dedicated capacitive‑touch sensing IC, apart from the built‑in TSC in STM32 MCUs?3.What are the advantages of using STM32U535RET6QTR (with integrated TSC) compared to a dedicated touch‑sensing chip?4.If we use the integrated TSC in STM32U535RET6QTR, what hardware challenges may occur?5.What software‑related challenges can arise with the integrated TSC?6.Can STM32U535RET6QTR meet home‑appliance certification requirements such asIEC 60335‑1 / IEC 60730‑1 Class‑B?7.For an 8‑key capacitive touch panel, what does ST rec
Hello ST Community,I’m working on bringing up audio capture using the X-NUCLEO-CCA02M2 microphone expansion board with the NUCLEO-N657X0-Q (STM32N6), and I’m struggling to obtain any audio data.According to the CCA02M2 documentation, the board is compatible with STM32 Nucleo boards via the ST-Morpho connector and supports acquisition through I²S, SPI, DFSDM, or similar digital audio peripherals. However, I have not been able to find any example, tutorial, or application note specifically targeting STM32N6 devices.My goal is to run an Edge Impulse audio model on the STM32N6.I was able to successfully run inference using manually provided raw features from the example in this repository:https://github.com/edgeimpulse/example-standalone-st-stm32n6So the ML pipeline itself is working correctly.My difficulty is specifically with capturing audio from the X-NUCLEO-CCA02M2, due to lack of clear documentation or examples for STM32N6 boards.My setup:• Boards connected pin-to-pin through ST-Morph
Hi.I want to use NUCLEO-WL55JC with 32MHz crystal, not TCXO. So i do following steps according to UM2592(User manual of STM32WL Nucleo-64 board)No C30 and no C38 as those capacitors are integrated into the STM32WL MCU.SB20 OFF in order not to supply the TCXOC31 OFF in order not to have a 32 MHz signal coming from the TCXOR39 and R40 ON to connect the X3 crystal to the STM32WL MCU I use LoraWAN_end_node project in STM32Cube_FW_WL_V1.4.0.So i do following steps in configuration in CubeMX (also attach clock configuration)Select HSE as Crsytal/Ceramic Resonator instead of TCXOIn stm32wlxx_nucleo_radio.c, BSP_RADIO_IsTCXO function returns RADIO_CONF_TCXO_NOT_SUPPORTED instead of RADIO_CONF_TCXO_SUPPORTED. But after that, NUCLEO board give me message MAC txTimeOut instead of success tx process. While i use TCXO, there is no problem to send tx and also connect to LoraWAN. What can i do to use standard crsytal instead of TCXO? Be
Hello ST Community,I am facing this issue developing firmware on the NUCLEO-N657X0-Q (STM32N657).My architecture involves a standard FSBL that jumps to a main Application.Application:Interfacing with a Adafruit BNO085 IMU via UART (3 Mbps) using the CEVA SH2 driver, adapting the official CEVA SH2 example code of this repository to my Nucleo. The driver uses USART2 with GPDMA1 Channel 0* (Circular Buffer for RX).Setup Details:MCU: STM32N657X0Peripheral: USART2 (3 Mbps) + GPDMA1 Channel 0 (RX Circular Buffer).Timer: TIM2 (used for microsecond timestamping in the driver).Cache: Disabled (to rule out coherency issues).Symptoms:1. FSBL: If I initialize and run the sensor logic inside the FSBL, it works perfectly.2. Application: If I move the exact same logic to the Application (after the jump), the code hangs inside the driver's code.3. Breakpoint fixes the problem: In the Application, if I place a breakpoint at the beginning of the shtp_service() function (called period
Are there any plans to make a Linux version of the Motor Control Workbench? @cedric H mentioned 4 years ago that it is almost ready.
Hi everyone,I’m reaching out because I’m having trouble setting up a USB HS CDC (Communication Device Class) using the internal PHY, without VBUS sensing.I use STM32H7S3I8T6.My program gets stuck in the following loop before timing out: /* Core Soft Reset */ USBx->GRSTCTL |= USB_OTG_GRSTCTL_CSRST; do { count++; if (count > HAL_USB_TIMEOUT) { return HAL_TIMEOUT; } } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST); return HAL_OK; }Despite searching through various forum topics, I can't seem to get it to work.Here is my STM32 configuration:Clock : USB Clock : Power Regulator :USB HS Configuration :USB_DEVICE Configuration :Here is my configuration.I would be very grateful for any help you can provide.Thanks in advance,Paul
Hello,I am testing a demo of my TSD TSS012004A-AD board.It has 36KB internal RAm and 256KB internal FLASH.My configuration on touchGFX like below:And my linker result is like below:As you can see there is still %55 empty on my internal FLASH and very little SPI_FLASH is used, I would like to use only internal memory. Why this 13388B is not used on FLASH, even I force to use internal flash section on touchGFX settings. Thank you,
Hey, I am using the RK043FN66HS-CTG LCD touchscreen (480 x 272 resolution) and have used the GT911 drivers found at:GitHub - DiveInEmbedded/GT911-Touch-driver: Simple and ready to use touch driver for Goodix GT911I have a custom STM32H743IIT6 PCB.It is currently recording coordinates incorrectly in the y- axis. Bottom right hand corner should be 480,272 (X,Y) roughly in landscape configuration. I am getting ~440,180.I have gone through the GT911 Register Datasheet but cannot seem to figure out why the readings are still off.Any suggestions why I am getting these issues. I understand the config version register has to be increment by one with each set of GT911 settings. My GT911 Config is here: static uint8_t GT911_Config[] = { 0x89, // Config version 0xE0, 0x01, // X = 480 0x10, 0x01, // Y = 272 0x05, // 5 touch points 0x40, // ModuleSwitch1 (landscape, no flip) 0x20, 0x01, 0x08, 0x28, 0x05, 0x50, 0x3C, 0x0F, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Title edited to flag that a Blue Pill is being used.Info : [STN32F103c8Tx.cpu] Examination succeedInfo : starting gdb server for STN32F103C8Tx.cpu on 3333Info : Listening on port 3333 for gdb connectionsError:[STM32F103C8Tx.cpul clearing lockup after double fault Polling target STM32F103C8Tx.cpu failed, trying to reexamine Infò : (STM32F103C8Tx.cpu] cortex-M3 rlp1 processor detectedInfo : [STN32F103c8Tx.cpuj target has 6 breakpoints, 4 watchpointsInfo :[STM32F103C8Tx.cpuj Examination succeed Info : accepting 'gdb' connection on tcp/3333Info : device id = 0x20036410Info :flash size = 64 KiBInfo : accepting 'gdb' connection on tcp/3333[STM32F103C8Tx.cpu] halted due to debug-request, current mode: Handler HardFaultXPSR: 0x21000003 pc: 0xfffffffe msp: 0x200008be[STN32F103C8Tx.cpu] halted due to undefined, current mode: Thread XPSR: 0x61000000 pc: 0x2000003a msp: 0x200008b0.Error: Fail reading CTRL/STAT register. Force reconnectInfo : dropped 'gdb' connectionError: Fail reading CTRL/STAT re
Unable to run the program in the MCU. When I try to execute the program in my Nucleof401re board, The IDE says it is not able to detect the board. I'm literally struck here just to blink an led. I kindly appreciate any possible solutions. But do explain it in simple terms as I'm new to this kind of stuffs.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.