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
Dear all, when I press Install button in the Toolchain Manager of the 2.0.0 CubeIDE it hangs after opening the subsequent dialog. I cannot close this dialog or press any button with neither mouse nor ESC key. Workaround: return first back to the Toolchain Versions dialog and close it. Then I could press "Next" and continue installing GNU Tools for STM32 version. Regards,Dmitry
Hello,We are developing a design around VNF1048F & VNF1248F products. From the other community posts, we learned that VNF1048F has ASIL - B for functional safety rating.We would like to confirm this information, and we also would like to know if VNF1248F has any functional safety capability.Can you also share the related safety documentation for both devices?Thanks.
Hi, I've got a STM32U5G9ZJ-DK2 Discovery kit.I'm trying to setup the ADC to work with GPDMA doing a continuous acquistion of two channels into a large buffer of samples. I got it working perfectly fine with ADC4, but I just don't get it work with ADC1.From what I can tell it looks like the DMA Request from ADC1 is not forwarded to the GPDMA.ADC1 itself works, too. It works well in interrupt mode (triggering an IRQ after the sequence of two channels).Is the a special trick to enable the GPDMA request from ADC1, like is there a certain clock or power domain that must be enabled? hdma_adcx.Instance = GPDMA1_Channel8; hdma_adcx.InitLinkedList.Priority = DMA_LOW_PRIORITY_LOW_WEIGHT; hdma_adcx.InitLinkedList.LinkStepMode = DMA_LSM_FULL_EXECUTION; hdma_adcx.InitLinkedList.LinkAllocatedPort = DMA_LINK_ALLOCATED_PORT0; hdma_adcx.InitLinkedList.TransferEventMode = DMA_TCEM_LAST_LL_ITEM_TRANSFER; hdma_adcx.InitLinkedList.LinkedListMode = DMA_LINKEDLI
Hello!I am trying to get an MQTT project to work, but having some issues. At some points randomly the program stops and does not respond to the remote server anymore. In hopes of figuring it out I tried to enable stack checking from ThreadX settings from CubeMX, and generated the code. BUT, whenever the stack checking was disabled, DNS was able to retrieve the IP address always. Now, it fails every time.The function "nx_dns_host_by_name_get" is called from the begging of SNTP thread. After calling the mentioned function, the return status is NX_DNS_QUERY_FAILED (0xA3). I have the DNS set up as to retry 3 times with a timeout of 10 seconds.Checking from WireShark I can see that the device did send out the query to get the IP address, and the router answered, but for some reason the packet was not received/saved on the device side. After that I get 3 different ARP packets from the router, which is trying to identify my device, but no responses. Finally, 2 more attempts are made by t
Hi,We're planning to integrate a file system with the VENC_SDCard example for the STM32N6x7:https://github.com/STMicroelectronics/STM32CubeN6/tree/main/Projects/STM32N6570-DK/Applications/VENC/VENC_SDCardWe found Revision 3 of UM1721 Developing applications on STM32Cube™ with FatFs dated February 2019 and were wondering if that's the most recent revision of the document?https://www.st.com/resource/en/user_manual/um1721-developing-applications-on-stm32cube-with-fatfs-stmicroelectronics.pdfWill
I am trying to start 6 virtual com ports over usb. I could start 4 using a USB composite pack made by a developer. From what I have read and tried, there are not enough endpoints for 6 com ports and only maximum for 4 (9 bidrectional EPs, 1 reserved for EP0; 2 IN EPs and 1 OUT EP per com port). Is it possible to start 6 com ports at all by reusing or bypassing an IN EP?
I am working with the Nucleo-STM32F753ZI board and using the internal OPAMP peripheral. The supply is 3.3 V, and according to the datasheet the OPAMP output should swing close to the rails, but in my case the maximum output I can get is only around 2.4 V.Has anyone faced this issue on STM32F7 series?Is there any configuration, calibration, or internal routing limitation that restricts the OPAMP output range on this board?Any guidance on how to achieve the full output swing (near 3.3 V) would be helpful.
Hi,I have noticed a little problem in the "Live Expressions" function.The first time I open STM32CubeIDE and debug my firmware, I can see the value of all expressions previously written by me.When I stop the debug and debug again, some expressions does'nt show the value. Instead this appears the message " Failed to evaluate expression".The curious is that if I "rename" the expression the correct value appears again. For example, adding a space (or removing a space) at end of a expression with the message " Failed to evaluate expression" solve the problem.This are happenning with anyone more?This is a real bug?! How this problem can be solved?Best regards, DIego Volpini
Hi everyone,I'm encountering a critical issue when attempting to debug/flash my STM32 microcontroller using my ST-LINK debugger in STM32CubeIDE.The Initial Error: When I start a debug session, I receive the pop-up: ST-LINK firmware upgrade required. Please upgrade the ST-LINK firmware using the upgrade tool.
Hy, I received the STM32N6 DK Kit, switched it on - and it crashes immediately. All demos run smoothly, but as soon as I start the AI demo, the display turns grey after approx 2 seconds. I power the device over USB port with my 65W Laptop Power supply, jumper JP2 set to 3-4 (5V_USB)When running the DCMIPP_ContinuousMode_FSBL example project, I see a stable, smooth camera image, so apparently no connection issues to the camera.Any hints?Best regardsHarald
1. Issues with Headless Execution and CLI CommandsGUI Opens with CLI Flags: Certain CLI flags designed for automation still launch the AWT/Swing GUI components, which causes failures in headless environments (like Docker containers or typical Linux servers).Specific Example: The -P flag (Package Manager) throws a java.awt.AWTError: Can't connect to X11 window server error because it requires a display.Expected Behavior: All package management and code generation functions should have a truly headless (no GUI dependencies) CLI option that works universally in server environments.Lack of Clear CLI Documentation: Documentation for reliable, headless CLI commands (like swmgr install) is sparse or non-existent in the official user manual (UM1718), leading to trial-and-error with internal commands. 2. Issues with Offline Package Management and Database IndexingDiscrepancy Between Repository and Database Paths: Manually placing firmware p
Hi,I'm looking for some guidance on configuring the STM32N6570-DK so i can use the screen and onboard mic / headphone out jack.It looks like everything i need is in stm32n6570_discovery_audio.h and stm32n6570_discovery_lcd.h, and i did manage to get the screen going with some configuration from this repo: https://github.com/jpcano/STM32N6-digits When I then try and enable audio the following calls succeed:void Audio_Setup(void){ AudioInit.Device = AUDIO_IN_DEVICE_DIGITAL_MIC; AudioInit.SampleRate = AUDIO_FREQUENCY_16K; AudioInit.BitsPerSample = AUDIO_RESOLUTION_16B; AudioInit.ChannelsNbr = 1; AudioInit.Volume = 80; if (BSP_AUDIO_IN_Init(0, &AudioInit) != BSP_ERROR_NONE) { Error_Handler(); } if (BSP_AUDIO_IN_Record(0, AudioBuffer, AUDIO_BUFFER_SIZE) != BSP_ERROR_NONE) { Error_Handler(); }}after this the transfer callbacks never get hit and any calls to drawing the screen, HAL functions like UART sending or blinking a led also stop working.I did try the STM
Hello Team,I am trying to add CMSIS FreeRtos to empty project. But I can see that .ioc file is not generated under my project.I have also gone through the posts who have encountered the similar issue. but didn't get the resolution.While creating the empty project. There is no option for selecting Stm32 cube project or empty project. attaching the snippet for your reference.After creating the project successfully, I am getting the below build warningwarning: #warning "FPU is not initialized, but the project is compiling for an FPU. Please initialize the FPU before use." [-Wcpp]So, I request you to guide me to resolve this issue.I am using the Stm32CubeIDE: - V2.0.0 Thanks,Sagar
I am looking for any example project that uses Azure RTOS FileX and LevelX using onchip flash.I understand the programming flash can be segmented and used for general purpose file storage but I cannot find any example across any series packages which uses the on chip flash. Is this even possible?I am mostly looking on how to set the levelx configuration parameters in STM32CubeMX. I know how to integerate the low level flash drivers from the HAL.
I've set up my STM32U5A9J-DK to use ThreadX and connect to my PC via USBX and Audio Class.I'm correctly see the Audio Device on my PC and I can easily stream audio to it. The only thing is that, for some reason, the callback for new frame done is not fired audio_stream_parameter[0].ux_device_class_audio_stream_parameter_callbacks.ux_device_class_audio_stream_change = USBD_AUDIO_PlaybackStreamChange; audio_stream_parameter[0].ux_device_class_audio_stream_parameter_callbacks.ux_device_class_audio_stream_frame_done = USBD_AUDIO_PlaybackStreamFrameDone;The strage thing is that USBD_AUDIO_PlaybackStreamChange is correctly calledVOID USBD_AUDIO_PlaybackStreamChange(UX_DEVICE_CLASS_AUDIO_STREAM *audio_play_stream, ULONG alternate_setting) { /* USER CODE BEGIN USBD_AUDIO_PlaybackStreamChange */ /* Do nothing if alternate setting is 0 (stream closed). */ if (alternate_setting == 0) { return; } BufferCtl.state = PLAY_BUFFER_OFFSET_UNKNOWN; /* Start reception (stream opened).
When attempting to initialize a single GPIO EXTI as disabled, the generated code still enables the interrupt. I did notice that if I uncheck all of the EXTI lines, then none of them are enabled in the generated code. So it seems it's all or nothing. Is this the expected behavior?Thanks,FrankThis:Generates: /* EXTI interrupt init*/ HAL_NVIC_SetPriority(EXTI0_IRQn, 5, 0); HAL_NVIC_EnableIRQ(EXTI0_IRQn); HAL_NVIC_SetPriority(EXTI2_IRQn, 6, 0); HAL_NVIC_EnableIRQ(EXTI2_IRQn); HAL_NVIC_SetPriority(EXTI3_IRQn, 6, 0); HAL_NVIC_EnableIRQ(EXTI3_IRQn); HAL_NVIC_SetPriority(EXTI4_IRQn, 6, 0); HAL_NVIC_EnableIRQ(EXTI4_IRQn);However, this:Generates: /* EXTI interrupt init*/ HAL_NVIC_SetPriority(EXTI0_IRQn, 5, 0); HAL_NVIC_SetPriority(EXTI2_IRQn, 6, 0); HAL_NVIC_SetPriority(EXTI3_IRQn, 6, 0); HAL_NVIC_SetPriority(EXTI4_IRQn, 6, 0);
I'm using an ov2640 camera. When I use HAL_DCMI_Start_DMA(&hdcmi, DCMI_MODE_CONTINUOUS, (uint32_t)camBuf0, (CAM_W * CAM_H) / 2);, HAL_DCMI_FrameEventCallback is called, but when I use HAL_DCMI_Start_DMA(&hdcmi, DCMI_MODE_SNAPSHOT, (uint32_t)camBuf0, (CAM_W * CAM_H) / 2);, HAL_DCMI_FrameEventCallback is never called. Why is this happening? Below are the relevant settings. I'm using an STM32H743 MCU. static void MX_DCMI_Init(void) { /* USER CODE BEGIN DCMI_Init 0 */ /* USER CODE END DCMI_Init 0 */ /* USER CODE BEGIN DCMI_Init 1 */ /* USER CODE END DCMI_Init 1 */ hdcmi.Instance = DCMI; hdcmi.Init.SynchroMode = DCMI_SYNCHRO_HARDWARE; hdcmi.Init.PCKPolarity = DCMI_PCKPOLARITY_RISING; hdcmi.Init.VSPolarity = DCMI_VSPOLARITY_LOW; hdcmi.Init.HSPolarity = DCMI_HSPOLARITY_LOW; hdcmi.Init.CaptureRate = DCMI_CR_ALL_FRAME; hdcmi.Init.ExtendedDataMode = DCMI_EXTEND_DATA_8B; hdcmi.Init.JPEGMode = DCMI_JPEG_DISABLE; hdcmi.Init.ByteSelectMode = DCMI_BSM_ALL; hdcm
Hello all,I am working with the STM32WB series and using a 32 MHz crystal for the HSE (specifically the Murata XRCGB32M000F1SBBR0 on my custom board).To verify correct operation, I measured the analog waveform on OSC_IN and OSC_OUT using a low-capacitance active probe (Keysight N2796A). ObservationOn both my custom board and the official NUCLEO-WB55 evaluation board, I consistently measure the following:OSC_OUT ≈ 500 mVpp, ~400 mV DC biasOSC_IN ≈ slightly lower amplitude but similar bias (~400 mV)The two boards produce almost identical results, so this does not appear to be a layout or crystal-selection issue on my side. Documentation gapI cannot find any ST document (datasheet, reference manual, AN2867, or app notes specific to STM32WB) that specifies:Expected voltage swing amplitude on OSC_IN or OSC_OUTExpected bias pointTypical or minimum oscillator drive level in terms of Vpp for HSE on the STM32WB seriesThe datasheet provides the crystal requirements (ESR, CL, drive leve
Hii, I am using STPMIC25A with STM32mp257FAK3 with DDR3L in one custom design and LPDDR4 in second custom design.I am able to change o/p of Buck 4, Buck 6 and LDO 3 as per the requirement by changing the voltage for the same in the device tree, under fdts in Arm Trusted Firmware. I am sharing the node below:&i2c7 {pinctrl-names = "default";pinctrl-0 = <&i2c7_pins_a>;i2c-scl-rising-time-ns = <185>;i2c-scl-falling-time-ns = <20>;clock-frequency = <400000>;status = "okay";#address-cells = <1>;#size-cells = <0>;pmic2: stpmic@33 {compatible = "st,stpmic2";reg = <0x33>;status = "okay";regulators {compatible = "st,stpmic2-regulators";vddcpu: buck1 {regulator-name = "vddcpu";regulator-min-microvolt = <800000>;regulator-max-microvolt = <910000>;regulator-always-on;};vddcore: buck2 {regulator-name = "vddcore";regulator-min-microvolt = <820000>;regulator-max-microvolt = <820000>;regulator-always-on;};vddgpu: buck3 {reg
I am working on a project using STM32N6570-DK. I now have a big problem with (1) how to run my code in a Flash and (2) how to connect the ST-LINK to stm32cube ide.I created a project “AYA” in cube IDE . Cube IDE asked if it is FSBL project or application project. I chose application, and all my work after are done within AYA_appliI finished the coding and testing from debug version to release version. Both with ST-LINK connected (with is integrated in the DK), and boot1/boot2 keys are set =00. My code runs correctly.TROUBLES came after the FLASH: I used STM32CubeProgrammer to write my .bin file to the -dk board. boot0/boot1=11,I chose this external bootloader (MX66UW1G45G_STM32N6570-DK ) Erasing the full chipWrite my code (start address =0x07000000) to the flash and “verify successfully”Now, I switch boot0/boot1=00, and press the RESET button. However, NOTHING happens‼To make things WORSE: I switched back to the IDE environment, it says “Target unknown error 32 &nb
Hi, @krastThe readme for the VENC_SDCard_ThreadX examplehttps://github.com/STMicroelectronics/STM32CubeN6/blob/main/Projects/STM32N6570-DK/Applications/VENC/VENC_SDCard_ThreadX/README.mdstates:"The output is raw since no file system is used for now"but the first slide of the STM32N6 demo workshop - 11 Video encoder (VENC) in practice workshophttps://www.youtube.com/watch?v=25lEF4GgN8Msays that this example uses a FAT32 file system.I was wondering if there might be an error in the readme where it states "The output is raw since no file system is used for now"?Thank you very much for these examples - they're very valuable.Will
Hello,I'm trying to test FW update over I2C using RPI as host and STM32L432 nucleo board as slave on port I2C1 which according AN2606 (table 152) should be available. I've connected 4.7k pullups on PA6 + PA7 pins and perform NRST to 0 and BOOT0 to 1 and remove NRST pin. In this setup I perform i2cdetect on RPI and I'm getting i2c transfer timeouts for all addresses. When reset STM32 32 board i2cdetect command on RPI return empty table. Is that setup feasible or am I doing something wrong? Thanks.
Hello,I've recently created an External Loader to be used on a TouchGFX project (H563 with SPI LCD and SPI external flash). When I use this loader in Cube Programmer, it programs the processor and SPI flash, and runs as expected. So now I want to add it into my project in CubeIDE. Normally I would find the External Loaders under the Debugger tab (between SWV and Misc) but this seems to be missing. Is there a way to enable this?(This project was created un der CubeIDE 2.0.0, but this section also is missing in projects created by previous versions. Example projects created from TouchGFX does have this section).Any ideas?PP22
Hello,I am currently working on connecting an MT9M001 camera module to the STM32F429I-Discovery board and displaying the captured image on a PC.During this process, I am testing PWM output on the board, but I am experiencing an issue where the output voltage does not swing between 0 V and 3.3 V as expected.EnvironmentBoard: STM32F429I-DiscoveryIDE / Firmware: STM32CubeIDE + HAL (STM32CubeF4 package)Pin used: PB0 / TIM3_CH3 (Alternate Function, Push-Pull, no pull-up/down)PWM: Generated with TIM3 (frequency and duty cycle shown in attached code/images)Measurement: Oscilloscope (×10 probe, GND connected to board GND)IssueThe PWM waveform output from PB0 shows the following problems:The low level does not go down to 0 VThe high level does not reach 3.3 VBefore switching to PB0, I was using PA8 (TIM1_CH1), but I observed the same issue—the voltage could not drop to 0 V.I received advice that PA8 might be loaded by other on-board circuitry,so I moved the PWM output to PB0 (TIM3_CH3).However,
I have an application where I have enabled TX_ENABLE_STACK_CHECKING. The application gets stuck in a do loop in the tx_thread_stack_analyze.c between lines 114 and 135. (H7.3.1.0) It is clear in the debugger that the loop will never complete. The loop is checking for the stack fill pattern 0xefefefef using a binary search after checking the pointer are not NULL. Here is the code: /* We need to binary search the remaining stack for missing 0xEFEFEFEF 32-bit data pattern. This is a best effort algorithm to find the highest stack usage. */ do { /* Calculate the size again. */ size = (ULONG) (TX_ULONG_POINTER_DIF(stack_highest, stack_lowest))/((ULONG) 2); stack_ptr = TX_ULONG_POINTER_ADD(stack_lowest, size); /* Determine if the pattern is still there. */ if (*stack_ptr != TX_STACK_FILL) { /* Update the stack highest, since we need to look in the upper half now. */ stack_highest = stack_ptr; } else { /* Update the stack lowest,
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.