Get ready for the STM32 Summit 2026 | Online, November 3
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 ST community, I configured my project in STM32CubeMX 6.17.0 and use STM32CubeIDE 2.1.1 to debug. The goal of the program is to receive a raw ethernet frame.I followed this tutorial, of course I adapted the pins to NUCLEO-N657X0-Q, and I skipped the part with the transmission, I didn't change anything in the HAL_ETH functions. I am sending from the PC (I can see that the frame is sended with wireshark):from scapy.layers.l2 import Ether from scapy.packet import Raw from scapy.sendrecv import sendp #Terminal ipconfig /all dst_mac = "00:80:E1:00:00:00" src_mac = "AA:79:39:37:92:EA" payload = bytes([0x01] * 86) frame = Ether(dst=dst_mac, src=src_mac, type=0x88B5)/Raw(payload) sendp(frame, iface="Intel(R) Ethernet Connection (13) I219-LM", verbose=True)I placed a breakpoint in :void HAL_ETH_RxCpltCallback(ETH_HandleTypeDef * heth) { }This callback should be executed when an Ethernet packet is received, but it never happened.I also tried by defining USE_HAL
Hi all,In order to have two possible functionalities on the same M12 plug I need to multiplex the C/Q line of IO Link with an analog input signal. The device is configured before the connection is established and it should stay in that mode during the whole operation. Here is the basic idea:My first Idea is to use a latching relays. Do you think it could cause problems to take the IO Link signal over the relays? I have never before used a relays in a signal path (digital or analog) and I am not sure if it could cause trouble. My second idea was to just connect both signals together without an additional switch or something like that:But I couldn't find out, if the OUT and I/Q Pins can handle a voltage when there is no 24V supply at VCC. (24V is only present when there is an IO Link Master connected to the plug). The analog signal can be 4-20mA, 0-10V or PWM (24V). Could the L6362A handle this? Also would this maybe impair the accuracy of the analog signal measurement? I also have
Hello,I am working with an STM32F103RB Nucleo board. I am able to successfully connect and program the device using ST-LINK, but I am facing an issue during debugging.The code is downloaded successfully and verified, but when the debugger tries to run (after the 'cont' command), it fails with the following error:Error in executing 'cont' commandTarget is not respondingFailed to read all registers from targetSetup details:- Board: NUCLEO-F103RB- ST-LINK Firmware: V2J47M34- STM32CubeProgrammer: v2.20.0- Debug Interface: SWD- Connection Mode: Under Reset- Reset Mode: Hardware reset- SWD Frequency: 125 kHzObservations:- Programming completes successfully- Verification is successful- Issue occurs only when starting execution/debuggingThings I would like help with:1. What could cause the target to stop responding immediately after programming?2. Could this be related to clock configuration or incorrect startup code?3. Are there specific debug settings (reset mode, SWD frequency, etc.) I shou
Hello all, I need to use some FFT functions. I have installed the CMSIS-DSP 1.16.2 and CMSIS 6.3 core as it was required from CMSIS-DSP. Surprisingly, CubeMX did only a part of its job, namely it did not copy source files and did not add proper include paths to the project so I have to do it myself. But after this there is still a bunch of unresolved references, namely arm_cfft_sR_f32_lenxxx and twiddleCoef_rfft_xxx. I have looked all sources in the CubeMX H7 pack version 1.13.0 I use through but could not find these sources. With best regards,Dmitry
Using https://stm32ai-cs.st.com , starting with my .tflite model. My goal is to incorporate the new model into the STM32N6-GettingStarted-ObjectDetection example. I am having some issues with versions.The ST Edge AI Developer Cloud produces a version of the model which differs from the version used by the support files in the example code. Case in Point - the function LL_ATON_LIB_Concat: the example has 6 parameters and code generated from the ST Edge AI requires 7 parameters. Dr Google, suggests there is another option when I "Download C Code" from the AI Developer Cloud that I should also have an option to change the Target Output to "STM32CubeIDE Project", "System Performance Project", or "C-Project".I don't see that option. can you help.
Hello Peter , Need your expert reply As we see , the confusion on N AND no N HAS MADE many of us wonder , if these can be used as interchangeable parts . Since Data Sheet does not explain , much on them ,But a search explains a compact Solution in Io's for a design flexibility . As both have same Packages and Pin Count . We are in need for DESIGN - STM32G0B1CBT3N , but seems to be difficult to procure . Is this Manufactured or is it rare . We only See STM32G0B1CBT6N Regards Nitin
I am using STM32N6570-DK board . I am trying to build edge AI code in application mode with the help of generated STM32 cube AI studio generate project for IDE. I am following this article https://community.st.com/t5/stm32-mcus/how-to-build-an-ai-application-from-scratch-on-the-stm32n6570-dk/ta-p/825591 . @Julian E. This article includes AI using X-Cube AI , I just wanted to ask if I am using the project/ AI files generated by STM32 Cube AI studio, Will the configuration of external memory manager and addresses we are using in XSPI2 , RAMCFG , RCC settings all will remain exactly same ? I am asking this as I am getting some memory issues while debugging the application code.Also my code includes ADC+USART also, will this add to additional memory changes?
Hi,After reading HSO current and voltage sampling in three-shunt topology, I beleve it is possible to run two BLDC moters using the ST-G473 microprocessor using 2 ADC's per motor. However, there does not seem to be support for that in the MC Workbanch. Will this be available in the future?Regards, Kevin
hello ST Community, I need your support. So far, I've been able to flash my bootloader software into the unprotected memory area 0x08000000 when Boot0 = 0 for the NUCLEO-H755ZI-Q series, both with the STM32CubeProgrammer and with my bootloader software via UART. However, I'd like to flash the same bootloader software into the memory area 0x1ff00000 when Boot0 = 1. I know it's protected. Is it possible to change the security level or flash it to another memory to run my software when Boot0 = 1? Thank you for your support.
Red light flashing. App showing 0% charged after 15 minutes
@Ulysses HERNIOSUS Dear Ulysses,Sorry to bother you again. code : err = rfalTransceiveBlockingTxRx(tx_buf, sizeof(tx_buf), rx_buf, sizeof(rx_buf), &actlen, RFAL_TXRX_FLAGS_CRC_TX_MANUAL|RFAL_TXRX_FLAGS_PAR_TX_NONE|RFAL_TXRX_FLAGS_CRC_RX_KEEP|RFAL_TXRX_FLAGS_PAR_RX_REMV|RFAL_TXRX_FLAGS_CRC_RX_MANUAL, 71680U); I want to send 4 bytes data and 4 bits parity, how do i combine those 36 bits data to 5 bytes data and send with function rfalTransceiveBlockingTxRx. for example:data_enc: 03, de, 59, bdparity_enc: 00, 00, 00, 00tx_buf: 03, bc, 65, e9, 05is it correct? can rfalTransceiveBlockingTxRx send 4bit data? Thanks
Hello, Iam working o STM32H573I-DK Board when am trying to access board am getting trustzone issue.I tried with Debug Authentication also but am unable to access board.Find the attached description.
I have tried using STM32CubeMX 6.17.0 to generate an STM32F429 DISC1 project.The generated project opened in STM32CubeIDE could not be compiled unless I add <root folder> in Project -> Properties -> C/C++ General -> Path and Symbols, the source location tab.I don't know how this happen. It's disturbing to modify project settings each time after modifying the CubeMX and generating the project.It's probably that should happened after I add some source folders to the projects.
Only 2 of 4 QSPI data lines active during pixel write, despite DMODE=3 confirmed in CCR 이미지 4장을 모두 참조하여 ST Community 문의 글을 작성합니다. Environment MCU: STM32U5G9ZJ (Cortex-M33, TrustZone enabled) IDE: STM32CubeIDE HAL version: STM32U5xx HAL Driver (included in project) Interface: HSPI1 → QSPI LCD (ICNA3306-compatible controller) Hardware Configuration GPIO settings are shown in [XSPI_2.png]. All six HSPI1 pins are configured as Alternate Function Push-Pull with GPIO_SPEED_FREQ_VERY_HIGH and GPIO_AF8_HSPI1: Pin Signal Speed PI3 HSPI1_CLK Very High PH9 HSPI1_NCS Very High PH10 HSPI1_IO0 Very High PH11 HSPI1_IO1 Very High PH12 HSPI1_IO2 Very High PH13 HSPI1_IO3 Very High Clock configuration is shown in [XSPI_3.png]: HSPI1 kernel clock source is set to SYSCLK (160 MHz). PLL1: HSE(16MHz) × PLLN(10) / PLLR(1) = 160 MHz. CubeMX parameter settings are shown in [XSPI_1.png]: Fifo Threshold: 4 bytes Memory Type: Micron Clock Prescaler: 1 (→ FCLK = 80 MHz) Clock Mode:
Is it possible to connect 8 PDM microphones to the STM32N6 via MDF?
This is an improvement request post.STM32 HAL on every family has tons of following code constructs:tickstart = HAL_GetTick(); while (!condition) { if ((HAL_GetTick() - tickstart) > TIMEOUT_VALUE) { return HAL_TIMEOUT; } }When using HAL with (Free)RTOS or interrupt based scheduler, then these while loops delay same priority tasks (until time-slicing kicks in), block everything that has lower preemption priority, waste energy (crucial for battery powered devices) and decrease responsiveness.There are multiple ways to improve it. One of the simplest is to supplement non-critical* loops with optional user-definable yield macros.__weak void HAL_Yield(void) { } tickstart = HAL_GetTick(); while (!condition) { if ((HAL_GetTick() - tickstart) > TIMEOUT_VALUE) { return HAL_TIMEOUT; } HAL_Yield(); }Now user can implement something like this when using CMSIS OS v2 API:#include "cmsis_os2.h" void HAL_Yield(void) { /* Kernel running and call not from ISR? */ if ((osKernelG
Is Cosmic license delivery service still working ?I submit the request, but I didn't get any answer!
Hello, I have a STM32 NUCLEO-N657X0-Q development board. I wanted to interface with 8 digital PDM MEMs microphones. In section 68.2 of the STM32N6 reference manual, it states that the N6 supports a "PDM interface, supporting up to 4 microphone pairs". Also in section 2.2.3 of AN5027, it states that if 8 microphone want to be used, the recommended data IO lines are SAI_D1, SAI_D2, SAI_D3, and SAI_D4. Using CubeMX, I see no option for microphone pair 7-8. In addition to this, SAI_D4 doesn't exist when I search for the pin. So how do I interface (if possible), the last microphone pair? Thanks, Christopher
SPC5 Flash ProgrammerSPC5 Flash Programmer 2.8.1 Fail to connect to SPC564 via UART!, when I did some search, I found that SPC5 Flash Programmer v2.7.9 working fine, so please if you can help me to how get this version SPC5 Flash Programmer v2.7.9?
Hi everyone, I am currently developing an image capture project using the STM32N657 (Cortex-M55) and have encountered an extremely bizarre DMA2D write issue (a silent failure). Goal: Use DMA2D (M2M_PFC) to convert an RGB565 buffer to RGB888 and write it to CPUAXI_RAM1 (0x34080000). [Problem Description] I wrote a "minimal isolation test" to bypass all camera/GPDMA variables. I forced the CPU to fill the source buffer with pure white (0xFFFFFFFF), and then manually triggered the DMA2D to transfer it to the destination buffer. The Result: The DMA2D finishes successfully. The DMA2D->ISR register reads 0x00000002 (the TCIF Transfer Complete Interrupt Flag is set, and there are NO Transfer Errors). However, the destination buffer remains completely filled with 0x00000000. [Troubleshooting Done] To isolate the issue, I have verified the following, but the problem persists: CPU Read/Write Test (Pass): Before triggering the DMA2D, I forced the CPU to write 0xDEADBEEF to the destinatio
Hello, I am working with the following setup: Board: B-L4S5I-IOT-01A MCU: STM32L4S5VIT6 BLE Module: BlueNRG-M0+ (in built in the Kit) I am currently facing an issue related to the BLE MTU (Maximum Transmission Unit) size. By default, the payload length is limited to 20 bytes, which is insufficient for my application, as my data length exceeds 180 bytes. I would like to know: Is there a way to increase the MTU size on the BlueNRG-M0+? Can this be achieved without modifying my existing data transmission mechanism (i.e., without manually fragmenting the data into smaller packets)? My goal is to transmit larger data packets in a single operation, if supported. Any guidance or recommended approach would be highly appreciated. Thank you.
Title edited to clarify this is about CMSIS-RTOSHello, everybody!I don't know where to look for information on which CMSIS versions are supported by specific STM32 microcontrollers. I asked one of the ST employees and STM32 Sidekick about this, and I got no definitive answers.STM software tools confuse me further. For example, STM32CubeMX (6.17.0) allows me to choose CMSISv2 the interface for FreeRTOS in my STM32F769I‑DISCO board project, but LwIP in the same project does not see the operating system used unless I change the CMSIS version to v1 (you can find more details about this specific issue in this thread). I couldn't find any document that would say which interfaces are supported by LwIP either.That's why I would like to ask You, where should I look for information about which CMSIS versions are supported by specific STM MCUs and, ideally, middlewares and software packages?
I am working with STM32N6570-DK. My code is building fine , suddenly a hard fault has started coming. I have tried updating firmware, resetting the board, unplugging and reconnecting it, But debugger is getting stopped after sometime.
Hello Team, We are using STM32N657X0H3Q for one of our application, while looking for the voltage level information for pins, we did not get any information for PA0 pin for the controller, specifically i am referring the notes column in pin description section. I hope you are getting my question. RegardsHarsh Bhavsar
Hey. I have recently received STEVAL-MKI109D + STEVAL-MKI238A for evaluating LIS2DUX12 accelerometer.I have opened MEMS Studio, chose my evaluation board and performed FW upgrade as prompted by the MEMS Studio. I have then proceeded to Sensor Evaluation -> Save to File to capture my own data for further processing. Each sample was taken using 5 seconds timeout. So I just click "Start" and proceed with moving the board for 5 seconds. I did the following:1. Capture 3 "flip_down" samples of me flipping down the evaluation board.2. Capture 4 "flip_up" samples of me flipping up the evaluation board.3. Capture 4 "shaking" samples of me shaking the evaluation board.4. Capture 3 "stationary" samples where the device was just sitting on the table. After collecting all samples in .csv format, I have then proceeded to Advanced Features -> MLC and uploaded all collected .CSV data using different class names. See the below: I noticed that STATIONARY and SHAKING samp
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.