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 everyone i had today while working with the NUCLEO H753ZI board and when i try to upload the code i had faced this error message when i try to connect with the cube programmer i faced this error and my LD6 pin is glowing with low intensity can you please tell me why i facing this issue whethere this could be any short problem or anything else
Does ST offer an implementation of hardware acceleration of mbedtls-2021?I found this:STM32CubeL5\Projects\STM32L562E-DK\Applications\TFM\TFM_Appli\Secure\Src\ecdsa_alt.cSTM32CubeL5\Projects\STM32L562E-DK\Applications\TFM\TFM_Appli\Secure\Src\ecdsa_curves_alt.cfrom https://github.com/STMicroelectronics/STM32CubeL5.gitThis is excactly what I want (a bridge between mbedtls and the PKA_HAL driver), but it's for a 2019 version of mbedtls, and the mbedtls folks since broke the interface, so it doesn't compile. (and it doesn't look like an quick/easy fix)Is there a newer version somewhere?/Troels
Hi everyone,I'm working with a custom board based on the STM32WB55, and I'm facing a very strange issue with the Bluetooth Low Energy advertising. BLE advertising works perfectly when the board is running under debugger (SWD debug mode), wireless stack is correctly updated and option Bytes remain as programmed even after power cycling. CPU2 starts, and aci_gap_set_discoverables() returns BLE_STATUS_SUCCESS.The problem is, when I remove the debugger and simply power-cycle the board (i.e. unplug power supply usb cable and replug it), BLE advertising does NOT start.Do you have any idea of how to fix this problem?Thank you
Hi,I have a Riverdi STM32U5A9 that I'm trying to get converted to ThreadX to be able to use the onboard SD Card. The application was fully working with FreeRTOS, but after porting over to ThreadX, I get a Hard Fault on the first tick of the first transition to the first screen. From what I can tell, everything has been initialized. The TouchGFX project files are re-exported after the RTOS being set to ThreadX. I've increased the memory allocation, and adjusted the TX_TIMER_TICKS_PER_SECOND to 1000 as documented in the TouchGFX documentation. Everything is being done through STM32CubeIDE and TouchGFX. I've tried it on STM32CubeIDE version 1.15, 1.16, and 1.19. I'm using 4.24.0 for TouchGFX. Any help or clues is greatly appreciated. Thank you!
Hi I have used STMCubeIDE 1.11.0 (Cube 1.6.1) to generate the code for USB CDC interface for STM32G0B1.The code is as CubeMX would generate. I have not modified the code at all.When I plug the device into a PC I get "USB device not recognized" I have increased the heap and stack to be 0x1000. without any luck. What can I try to try to figure out what the issue is.Thanks,
I want to put my STM32WB05 into sleep mode and utilize the Bluetooth wakeup feature to wake it up. I have not found much information about this online, and was curious if it can be set up in the IOC or if it needs to be added manually?
I have two boards, both with the G473.I am using the ROM bootloader on SPI1. On one board, the bootloader works. On the other, it only responds with 0xA5 during the initialization sequence.The MCU can program and run if I load it through the SWD port.I have checked the SPI signals, both digital and analog, they look great. The MCU pins are firmly soldered to the board. The other board works. My code works. If you can actually get the bootloader to synchronize, it works.I have gone through every forum post I can find, and it is sounding like there is a possible consensus that the ST bootloader is bugged and will sometimes initialize the wrong interface. Is that... really true? It selects the wrong interface and all of these people are having problems with it? Can any one from ST talk about this? This sounds like a really serious problem if true! What else could it be?AN2606 says the G473 will init the pins on the USART and
Hello.I've tried to implement the TCP client using freeRTOS, socekt API and LwIP middleware on STM32H723ZG.However, I cannot figure out why the connect() function in socket api doesn't work and stuck.Is there a example for nucleo-H723ZG with LwIP and TCP client?Sincerely.
Hello, I am facing an issue with my code on my STM32F411I have a function that is starting a timer TIM5 I want to be able to handle channel 1, Channel 2, Channel 3 interrupt on output compare no output uint32_t ticks = ms * 10U; /* 10 kHz tick -> 10 ticks per ms */ if (ticks == 0) ticks = 1; TIM5->CR1 = 0; TIM5->CR2 = 0; TIM5->DIER = 0; TIM5->CCER = 0; TIM5->CCMR2 = 0; // Channel 3 and 4 CCMR register // Set prescaler and auto-reload as needed TIM5->PSC = 96; // No prescaler TIM5->ARR = 0xFFFF; // Auto-reload max for full range TIM5->CCMR2 &= ~TIM_CCMR2_CC3S; // CC3S=00 output TIM5->CCMR2 &= ~TIM_CCMR2_OC3M; // Clear OC3M bits TIM5->CCMR2 |= (0x3 << TIM_CCMR2_OC3M_Pos); // OC3M=011 toggle mode // Enable Capture/Compare Channel 3 output (optional for toggling output pins) TIM5->CCER |= TIM_CCER_CC3E; // Enable interrupt on Capture/Compare 3 event TIM5->DIER |= TIM_DIER_CC3IE; // Enable TIM5 counter //TIM5->CR1
Dear Community,I am using a Nucleo-H723ZG for my uni project and im running into issues with the PA11 & PA12 Pins.I want to use them for FDCAN1 and I have verified that my code works. No matter in what way i try to use these two pins the dont output.if I switch to FDCAN2 with the same code and simply switch all instances of &hfdcan1 to &hfdcan2 i can read the signals with an scope and a can2usb adapter and get the right values. I also tried to select just the mcu instead of the board because i read that sometimes USB_OTG messes with things but no luck.Lastly i tried with another brand new Nucleo-H723ZG but also here no output on PA11 & PA12 whatsoever.Not even in GPIO-Mode. Do I have to turn something specific of?I attached the full project. Kind regards
I know that USB3DR cannot be used with PCI Express if USB3DR is configured as SuperSpeed.But can USB3DR be used with PCI Express if USB3DR is configured as 2.0 e.g Hi-Speed?
Hi,I'm using an STM32H723 and store my configuration data in flash. Here The procedure is: erase the flash once, then write to the erased flash. On read check the flash for a magic word to find where data have been written. Next write happens the same way, it uses the magic word to find an unused part of the flash to write to (in order to save erase cycles). So data are written several times until a new erase is necessary.Now sometimes I end up in the HardFault handler because of an illegal read:void *Flash_Storage_Read(const size_t length) { uint32_t base_addr = FLASH_STORAGE_START_ADDR; uint32_t final_addr = base_addr + length; uint32_t *finalData=(uint32_t*)final_addr; const uint8_t *flashID=(uint8_t*)final_addr; while ((final_addr<FLASH_STORAGE_END_ADDR) && (*finalData!=0xFFFFFFFF)) -------> this read access causes the HardFault_Handler() to be called { base_addr+=length; final_addr+=length; finalData=(uint32_t*)final_addr; } return (void*)base_addr; }&n
Hi,I am developing a telemetry project using the P-L496G-CELL02 Discovery Kit. My goal is to use the X-CUBE-CELLULAR expansion package to handle the cellular modem connectivity and MQTT implementation.However, I am facing difficulties installing this package properly in STM32CubeIDE.The Issue: I went to Help > Manage Embedded Software Packages > STMicroelectronics tab and clicked "Refresh", but the X-CUBE-CELLULAR package does not appear in the list to be installed.What I have done so far:I searched the Package Manager extensively, but it is missing.I have downloaded the .zip file of the package (v6.0.0) directly from the ST website.I tried to use the "Install from Local" option in the Package Manager with this zip file, but it failed (likely because it is not formatted as a pack).Since the automatic installation is not available, what is the correct step-by-step procedure to manually install or integrate the X-CUBE-CELLULAR package into my STM32CubeIDE workspace?I want to ensure
Hello,I've been trying to control a Maxon motor BLDC, the motor has hall sensors and encoder as well. I'm using the STEVAL-SPIN3204 board. I've downloaded the MCSDK6, Cube MX and Cube IDE. I'm new to motor and motor control. I was able to start the motor and achieve full speed control of 9000 RPM, using the sensorless mode. the current monitoring window showed an average current of about 1500( I'm assuming this is in mA); the motor was freely running. I then proceeded to set-up and run the motor using the 6-step with Hall sensor. After properly welding/closing the JP5,JP6, and JP7 and leaving JP8,9,and 10 open as stated in the MC workbench. I was able to start the motor but only up to about 1800 rpm. The current monitor on the motor pilot showed an average current of more than 8500, again I'm assuming these are in mA. The motor is rated for 7.35A, however, once the board was connected to the motor pilot, it always shows a nominal amp rating of 2.64. The over-current alarm i
While testing the X-CUBE-EEPROM library in STM32CubeIDE (v1.18.1), I observed the FLASH->CR register in the SFRs window. I noticed that the display for BKER (bank erase select bit) is missing in the FLASH_CR register. Please try to correct this in the next STM32CubeIDE release.
IntroSTM32CubeMX supports CMake since 6.11.0 as a tool chain option. Sometimes you want to customize your project, but you don't want generated files to be overwritten. I will reply to this post how to do these things and this will be the accepted answer. It's like a knowledge base article. Please expand it with more ideas and I will add it to that answer.Generated filesSTM32CubeMX generates:./CMakeLists.txt:This file can be customizedcmake/stm32cubemx/CMakeLists.txt: file with all cube generated source files and defines. It's an interface library. This file can not be modified as it will be overwritten when regenerating with STM32CubeMXcmake/touchgfx/CMakeLists.txt: if you have touchgfx in your project this will be added too. It's an interface library. This file can not be modified as it will be overwritten when regenerating with TouchGFX Designerpotentially more subfolders with CMakeLists.txt filesgcc-arm-none-eabi.cmake: toolchain file for gcc. Used if you use gc
Hi,I am looking for compatible part numbers for ST part# 7004001 and Delco DM133, which I believe are obsolete.The ST 7004001 is also equivent to Ford # N-7000420F-FB001I also believe ST part# TDA7005 may be equivilent to DM133, not sure.I am mostly interested in finding out what 7004001 is and get a datasheet for it so I can see if it can replace Delco DM133.Appreciate any help on this. ThanksDan
I am trying to debug code for Nucleo-WL55JC1 board using sample code from the STM website. It is the LoRAWAN_End _Node. I complies fine and creates .elf file. However when a try do download with the STM32Cube I get the following error: An internal error occurred during: "Launching LoRaWAN_End_Node".'com.st.stm32cube.ide.mcu.toolchain.IToolChainInfoProvider[] com.st.stm32cube.ide.mcu.toolchain.ToolChainHelper.getToolChainInfoProviders()' Thanks for the help.
I am on an H562 and trying to rd/wr a file on a USB memory stick using the mass storage controller. I am trying to understand what to do about this block when I am running in standalone mode. I started from an example code which is in RTOS mode but I want use the standalone mode.When I tried to implement something meaningful in UX_DEVICE_INSERTION status, it turns out that the expression_mediaPtr = &_storageMediaPtr->ux_host_class_storage_media;fails to compile because 'UX_HOST_CLASS_STORAGE_MEDIA' has no member named 'ux_host_class_storage_media'.I think the problem is in this definiton:but I need to use FILEX. Than I tried the method 2 using the function 'ux_host_class_storage_media_get' but it is not present in the folder Middlewares/ST/usbx/common/usbx_host_classes/srcWhich of the two methods should I use? How can I skip the problems? Do I have to define something different?
We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available through the stand-alone STM32CubeMX tool. Users will configure microcontroller peripherals and generate initialization code separately in STM32CubeMX, then import the generated projects into STM32CubeIDE for coding and debugging. STM32CubeIDE, is now a stand-alone tool, offers the possibility to create empty project through its own MCU/Board selectors now present inside. What does this change mean for developers? Separate download and installation: STM32CubeMX is no more integrated in STM32CubeIDE, requiring separate download alongside STM32CubeIDE 2.0.0 for configuration and code generation. Tool update flexibility: Developers can update and freeze&n
We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the NUCLEO-WL3RKB1 and NUCLEO-WL3RKB2. Implemented the "Start from Board" feature for NUCLEO-WL3RKB1 and NUCLEO-WL3RKB2: Preconfigured board setup through the Start From Board feature simplifies project creation and significantly reduces development time. Released a new installer that natively supports Apple® Silicon : Native support of ARM64 for mac computers. Implemented the memory management tool for STM32N6: This feature is designed to assist developers in configuring and optimizing the memory layout of their STM32N6 projects efficiently. Enhanced the build process using CMake: Default configuration: ST ARM CLANG with its own linker instead of GCC linker. Picolib is selected as default library for the b
STM32CubeProgrammer 2.18.0 and 2.19.0STLINK-V3SET FW V3J16M7B5S1.STM32H563RIT6 rev X. Bootloader version 0xE4.1. Connect under reset.2. Configure MCU with EDATA1_EN=1 EDATA1_STRT=0x73. Erase sectors 120–127 and fill them with byte 0xEC.4. Create a file file.bin file with 10 bytes of some data.5. STM32_Programmer_CLI.exe --connect port=SWD mode=UR speed=fast ap=1 -d file.bin 0x09001800I expect sector 121 to be erased and the first 10 bytes of it programmed with contents of file.bin.Actually, sectors 121–127 are erased and the first 10 bytes of sector 121 are programmed with contents of file.bin. I.e. it seems erase is done for the reminder of the bank instead of calculating the number of affected sectors from file length.But if you set EDATA1_EN=0 and download file.bin to 0x08002000 it works. The system only misbehaves when the flash is configured as high-cycle count flash.The problem can also be reproduced by using a .hex-file targeting these addresses. Would it pos
Hello Community,I have a problem with the STM Motor Control Workbench 6.3. I have hardware for FOC motor control. For the current measurement, I am using three shunts with differential current measurement, integrated op-amps, and an external resistor network for the gain. I tried to configure this hardware with the STM Board Designer, especially the current sensing: The creation of the board is fine, but when trying to open it in Motor Control Workbench, I get this error message: Motor Control: MC Workbench 6.3Microcontroller: STSPIN32G4 The board file is attached.Has anyone else encountered the same issue?Best regards,Steffen
Hello, I am currently having problems initializing the I2C interfaces on the M33 core of the STM32MP257F-DK Board. The interfaces in question are I2C2 and I2C8, the ones exposed on the 40 pin connector. I have code that toggles LEDs and it works fine when the I2C initialization is commented out but when its not it pauses. I found a community post that seemed like it might have the answer, here is the link for that post: https://community.st.com/t5/escalated-topic/stm32mp257f-persistent-issue-with-i2c8/td-p/854389. But when I click the link I get taken to a page that says the following: Access DeniedYou do not have sufficient privileges for this resource or its parent to perform this action. Click your browser's Back button to continue. Return to my original page
I'm looking for ST's GNSS components that I can build a GNSS receiver which can give offline high accuracy. To do this I need to do extra DSP between front end and baseband processor. What RF front ends are actively being produced that gives down-converted IF analog or digital outputs?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.