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
i started working on the B-G431B-ESC1 board with a 2836 motor but it would not start. so i started looking at the setup and tried different configurations but no luck. the profiler would not run the motor either. after i disconnect the motor and removed the bus voltage, the Iq in the motor pilot still shows significant numbers.. i wonder if this is a sign of damaged board?
Includes support for hardware interrupts and custom config options for the sensor. Code is in fashion of similar drivers already on github but with additional support. It has been tested but I am very new to this so Im sure there are things I missed. Criticism welcome.Repo:https://github.com/mihalamot/STM32-MPU6050-HAL-DriverI am 21yo CS student with a recently found passion for embedded/low level programming. Job market is not the best right now so I am trying to distinguish myself with hobby projects like this one. It would help me a lot if anyone could take the time to check this out and potentially star it. If someone actually used my code I know that it would help my employment chances.Thanks
Hi ,We observed the timing details for each state during card detection. These measurements were captured while running the demo cycle continuously in a while loop for card detection on bare metal. We are using the NFC Reader stack on an AUTOSAR platform and executing the NFC task every 1 ms. During testing with NFC-A and Proprietary technologies, we observed that the card detection and validation process takes approximately 300 ms.Could you help us understand how these timing values are expected to be observed and interpreted?We observed that the PollTechDetectCnt reached 1162 during testing. Could you please confirm the expected number of iterations for each state in the polling and card detection sequence? Initialization for discovery parameters - discParam.compMode = RFAL_COMPLIANCE_MODE_NFC; discParam.devLimit = 1U; discParam.nfcfBR = RFAL_BR_212; discParam.maxBR = RFAL_BR_KEEP; discParam.p2pNfcaPrio = false; discParam.wakeupEnabled = false; discParam.wakeupConfigDefault =
Hello, we have obtained some VL53L4CX sensors and are having a hard time calibrating them. We have created a 3D printed test jig which positions the sensor exactly 100mm away from a 17% greycard as instructed by the datasheet. We’re running the ULD driver. It all appears to work correctly, but now we would like to calibrate the offset and xtalk. The methods run correctly but the returned values appear to shift over time and between runs. We modified the ULD driver to inject debugging statements to see the measured values. Attached are 4 different runs showing how the values have some trend/wave pattern to them, which biases the averaging and results in a wrong computed offset, and one that changes over time. This calibration is done inside a box which is in near absolute darkness so it’s not ambient light that’s affecting it. Advise would be highly appreciated, as this is a major blocker to our product thus far. Best regards
Dear all, I have designed a custom board using the STM32H563ZIT6 as the host MCU and the ST67W611M1 as the NCP. As part of the initial bring-up, I am attempting to flash the ST67W611M1 using the QConn_Flash_Cmd-ubuntu tool in standalone mode. For this, I have connected a USB-to-TTL converter directly to the NCP UART interface. The BOOT and CHIP_EN pins of the ST67 are controlled by the host MCU, which toggles them in the required sequence to place the NCP into UART (flash) mode (see below code). I use the same sequence given in the NCP_Loader Example. if (flash) { LL_GPIO_SetOutputPin(BOOT_GPIO_Port, BOOT_Pin); } else { LL_GPIO_ResetOutputPin(BOOT_GPIO_Port, BOOT_Pin); } /* RESET NCP CHIP */ LL_GPIO_ResetOutputPin(CHIP_EN_GPIO_Port, CHIP_EN_Pin); HAL_Delay(100); LL_GPIO_SetOutputPin(CHIP_EN_GPIO_Port, CHIP_EN_Pin); if (flash) { /* CLEAR BOOT */ HAL_Delay(100); LL_GPIO_ResetOutputPin(BOOT_GPIO_Port, BOOT_Pin); } I verified the BOOT and CHIP_EN signals on an oscillosco
Hello, I’m working on STM32H533 project with trust zone and secure and non-secure firmware.The project has an OCTOSPI external flash w25q64jvssiq memory, configuring the OCTOSPI in the non-secure side. I have configured the SAU unit for memory mapped mode, gice access to the OCTOSPI from the secure side with HAL function: HAL_GTZC_TZSC_ConfigPeriphAttributes(GTZC_PERIPH_OCTOSPI1,GTZC_TZSC_PERIPH_NSEC | GTZC_TZSC_PERIPH_NPRIV); At the non-secure side I can write/read the memory using QSPI instruction. Also I can change to memory mapped mode and have access with debugging tool (uVision).When I change to memory mapped mode and use any instruction to acces directly to memory an interruption occurs and give back to secure side on SecureFault_Handler showing AUVIOL violation. Attached you can find the SAU configuration file, made by myself because STM32CubeMX does not make any change in the file, like this post: So, obviously I missed something or I’m doing some mistake, I need help ASAP t
Hello everyone,I am experiencing an issue with MotorPilot on a new laptop.Problem descriptionWhen I start MotorPilot, the application window opens but:I can only see a black screen whit a white arrow the content is flickering no GUI elements are visible or usableThe issue only affects the application window, not the whole system.System informationOS: Windows 11 Laptop: New system (Intel Core Ultra 7 255HX + RTX PRO 2000)Additional observationsThe program seems to be running, but the UI is not rendered correctly This looks like a graphics / rendering compatibility issue Problem occurs only on the new laptop (older systems worked fine)What I already triedRunning as Administrator Disabling fullscreen optimizations(no improvement so far)Has anyone experienced the same issue with MotorPilot?Is there a known workaround? Can hardware acceleration be disabled? Are there recommended settings for modern GPUs?Any help would be appreciated.Thanks!
Hello,I recently purchased the STEVAL-LLL005V1 evaluation board and I am currently preparing to use it for evaluation and testing.According to the ST documentation for the board, an Android application called Led Drawer is available for controlling the LED matrix through Bluetooth Low Energy.However, I could not find the Android application on the current ST website. I have also searched for it on the Internet, but unfortunately I have not been able to find a working or reliable download of the application.Since I have purchased the STEVAL-LLL005V1 board and the Android application is part of the functionality described in the official documentation, I would like to ask whether ST still has the original application available.If the application is still available internally, could you please provide the APK file by email or by another suitable download method?If the original application is no longer officially distributed, I would also appreciate it if you could let me know whether ther
Hello Team, I am using STM32N6, Now i have initialised STM32N6’s XSPI1,XSPI2 at 1.8v (set VDDIO-2,VDDIO-3 = 1.8V), VDD=3.3V, If I use GPIOs from the XSPI1 and XSPI2 pins, will those GPIOs have a high value (1) in the range of 1.8v or 3.3v? Thank you
Hi everyone,I am working with an STM32U5 device and have enabled TrustZone (TZEN = 1) using STM32PROGRAMMERI created both the Secure and Non-Secure projects, and they compile and program successfully.ProblemAfter downloading the firmware from STM32CubeIDE:Programming completes successfully. The application does not start automatically. My LED does not blink.However:If I press the hardware RESET button, the LED immediately starts blinking. If I start a Debug session, the LED also starts blinking.So the firmware itself appears to be correct because it works after a reset.What I have verifiedTrustZone (TZEN) is enabled. Secure and Non-Secure projects are generated by CubeMX. Secure project jumps to the Non-Secure application. Programming finishes without any errors. The issue only occurs immediately after programming. Without TrustZone, the application starts automatically after programming.My questionIs this expected behaviour with STM32U5 TrustZone?Has anyone experienced the same issue
I have an End_Node application that runs on the STM32WL55 but is not running correctly on the STM32WLE55. The code downloads and starts in the STM32WLE55 but it will not Join the gateway. I took a preliminary look the RF spectrum and it looks slightly different on the STM32WLE55 vs the STM32WL55. The firmware is set for USA915. Thanks for help.
In RM0366 Reference Manual GPIO section it says that there is a BRR register at offset 0x28 but in the GPIO register map its not shown. I assume this is a mistake but I want to know if STM32F301C8 has a BRR register.
When downloading firmware via IAR Embedded Workbench to an STM32H563RGT6, a flash verification error occurs **exclusively** when the write target is configured to program**Bank 2** (`0x0808'0000 - 0x080F'FFFF`) via a custom `.board` and ‘.icf’ file override. The exact sameproject, when writing to Bank 1 (`0x0800'0000`, default configuration without override),**never** shows this error If I load the firmware onto the blank flash, I have no problems. But if I make a change and reload the modified firmware, I have the following problem (IAR Debug Log):Tue Aug 25, 2026 15:28:23: Hardware reset with strategy 0 was performedTue Aug 25, 2026 15:28:23: Verification error at 0x80a'3e3c: mem = 0x04, file = 0x06Tue Aug 25, 2026 15:28:23: Download completed but verification failed. The memory cell where the error occurs changes depending on where the firmware was modified.The only way to continue debugging is to erase the flash and load the firmware.
HelloSTM32 MP257 lists pin PC3 with additional function ADC_INP12 in ball definition table, the input source is also included reference manual ADC2 connection matrix. But it can’t be selected in STM32 CubeMX. It’s marked red in Pinout view for PC3 and not included in ADC Mode selection window. I don’t see an entry about ADC2_INP12 in errata document. Any insights are welcomeRegardsFrank
Hello!I a new in this.I have two sets of DA files: for password access and for access via certificate.I've tried to flash a NS-firmware, provision a password.obk, then change Product state to Provisioned/closed. Thas was successful. I can perform a regression from this state.But i also tried to open a debug session. Without success. CubeProgrammer says, that I am able to make full regression only, while Cube IDE asks for certificate DA.I know, that certificate auth method is valid with TZEN=1 only, but I tried to provision that obk with TZEN=0.As a result, I Have this:The default ST password from CubeProgrammer's folder is not working,I tried to provide all-zeros and all-FF password without success.But maybe I need to change something in the header. Or change a password length.So, 3 questions:1. Is this device totally bricked, or I can some-how calculate a password.bin2. How to perform debug in closed product state on STM32H563 if TZEN=0 ?3. How to perform debug of the the secured
I am having trouble generating an HSO based project. I have already confirmed the board works with “Observer+PLL”. When switching to HSO I am able to select it in the drop down, at which point it:1. Resets my current sense gain (should be 50), I have no issues replacing this value.2. Under Speed Sensing I am provided with an empty Current Scale box, which is a “required field” however upon entering a value it remains red and tells me I cannot enter a value, as “no value is allowed”. Is this a bug or have I configured something incorrectly? It also seems odd that the current gain setting is cleared, although I can edit that without issue.
Hello ST Community,I am working with STM32WB05 in a custom PCB (new design) and it does not run when power on the PCB. To run it, I have to reset by reset line. If I am debugging, I neither have problem.I had used others microcontroller before (STM32L1, STM32WL55...) and it had never happend. I have check the pollowing points:1- Power supply. I am using a externa battery with 3-3,5Volts.2- BOOT pin: I think that the problem is the STM32WB05 enter in boot mode but in the datasheet, I can not see any pin to enter it.I have tried to join PA10 to GND by 10K resistor (I see in nucleo manual UM3343 that BOOT0 pin is PA10) but that no work.3- Clock source: I am using interna clock HSE4- reset line is always high level Any confirmation or guidance would be greatly appreciated.Thank you for your support.
Hello,I would like to test the USB Host hardware functionality of my STM32U5G9J-DK2 board.For the software, I used the official ST example without any modification:STM32CubeU5/Projects/STM32U5G9J-DK2/Applications/USBX/Ux_Host_HUB_HID_MSCI performed two separate hardware tests: CN2 + USB-C to USB-A female adapter + USB mouse/dongle. CN2 + externally powered USB HUB. With the USB-C to USB-A adapter, LD5 does not turn on and the USB device is not detected.With the externally powered USB HUB, LD5 turns on, but the HUB is still not detected.In both cases, the application remains at:USB Host library started.Starting HUB ApplicationConnect your HUB DeviceI would like to confirm if these hardware tests are correct for checking the USB Host functionality of the STM32U5G9J-DK2.Thank you.
Im on STM32H573 and im using a USART with GPDMA for both RX and TX. The project was created with CubeMX 6.16.1. In Pinout & Configuration → Connectivity → USARTx i have the GPDMAx Channel x global interrupts enabled and USARTx global interrupt disabled. Its done this way, so that i can check for the character compare interrupt in my own implementation of USARTx_IRQHandler and then call HAL_UART_IRQHandler myself.When i load my project in CubeMX 6.18.1, it looks like everything is ok with the checkboxes, but when i generate it, the gpdma irq handlers get generated empty and my project does not work./** * @brief This function handles GPDMA1 Channel 0 global interrupt. */void GPDMA1_Channel0_IRQHandler(void){ /* USER CODE BEGIN GPDMA1_Channel0_IRQn 0 */ /* USER CODE END GPDMA1_Channel0_IRQn 0 */ /* USER CODE BEGIN GPDMA1_Channel0_IRQn 1 */ /* USER CODE END GPDMA1_Channel0_IRQn 1 */}If i start a fresh CubeMX 6.18.1 project, as soon as i configure the GPDMA for my USART TX request
Hi I want to update firmware on my X-NUCLEO-67W61M1 board. I'm talking directly to the board using QconnFlash tool.I have pulled BOOT and ENABLE pins high as described in manual. Looks like communication is established, but later it fails on receiving the ack. Any idea while it fails?Log is here: F:\Projects\ST67W6X_Utilities\Binaries>QConn_Flash\QConn_Flash_Cmd.exe --port COM18 --config NCP_Binaries\mission_t01_flash_prog_cfg.ini --efuse=NCP_Binaries\efusedata.bin[23:06:09.042] - Serial port is COM18[23:06:09.042] - ==================================================[23:06:09.058] - FW get address from partiton file F:\Projects\ST67W6X_Utilities\Binaries\NCP_Binaries\./partition.bin[23:06:09.060] - Address=0x10000[23:06:09.060] - FW get size from partiton file F:\Projects\ST67W6X_Utilities\Binaries\NCP_Binaries\./partition.bin[23:06:09.062] - Size=1785856[23:06:09.069] - Program Start[23:06:09.069] - ========= eflash loader cmd arguments =========[23:06:09.097] - seri
Continued from: STM32 Host with ST67W611 Wifi BLEHi everyone, Currently, I'm trying to re-flash firmware for ST67W61 module via UART without host ( use USB TTL), and I got the issue in below:[22:36:53.388] - Serial port is COM5 [22:36:53.394] - ================================================== [22:36:53.394] - FW get address from partiton file C:\Users\Admin\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-ST67W61\1.2.0\Projects\ST67W6X_Scripts\Binaries\NCP_Binaries\./partition.bin [22:36:53.394] - Address=0x10000 [22:36:53.394] - FW get size from partiton file C:\Users\Admin\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-ST67W61\1.2.0\Projects\ST67W6X_Scripts\Binaries\NCP_Binaries\./partition.bin [22:36:53.394] - Size=1785856 [22:36:53.397] - Program Start [22:36:53.397] - ========= eflash loader cmd arguments ========= [22:36:53.397] - serial port is COM5 [22:36:53.397] - cpu_reset=False [22:36:53.677] - com speed: 2000000 [22:36:53.677] - ========= Interface is
Hi,by chance I found the “RoT Provisioning Software Pack” (https://github.com/STMicroelectronics/stm32-util-rot-provisioning).Looks promising; are there already any examples using it? I’m currently in the process of adapting the H563ZI OEMiROT examples in some custom project. Kolja
I have a motor whose phase resistance is 40 mΩ at 20 °C and 45 mΩ at 70 °C. When I set the phase‑resistance parameter to 40 mΩ, the motor operates normally at around 20 °C. However, when the motor temperature rises to approximately 50 °C, frequent start‑up failures occur. How can this problem be resolved?
Hi ST,I have a question for application of FDA802A-VYT.Can I connect AVDD, DVDD to boost 35V voltage? I am using ISL78227 to boost 35V to VCC of FDA80A.I check the application of ST, AVDD, DVDD are connected to VCC together, and VCC max is 50V? Is it correct?
Hi all,I'm experiencing very poor WiFi scan sensitivity with the ST87M01 (FW 2.9.0) compared to an ESP32 using the exact same antenna (connected via U.FL). While the ESP32 easily finds multiple networks, the ST87M01 only sees very few, or none at all.Device Info & Scan Config (ST87M01)```textatiSTMICROELECTRONICSST87M01-1301A:2.9.0-M:2.9.0-S:2.9.0-G:2.9.0-B:1.1AT#WSCAN=4,1 <-- [Config] RF Path (NB-IoT antenna path)OKAT#WSCAN=3,500 OKAT#WSCAN=5,3 OKAT#WSCAN=2,0 OKAT#WSCAN=1,1,6,11 <-- [Action] Trigger scan on channels 1, 6, 11OK...#WSSTOP <-- [Result] (Hardly any networks returned)```Reference: ESP32 Scan (Same Antenna, same spot)```text1: Yippie (BSSID: 3C:A6:2F:B5:E4:37, Kanal: 11, RSSI: -48 dBm)2: RAK7268V2_BAD1 (BSSID: AC:1F:09:19:BA:D2, Kanal: 11, RSSI: -50 dBm)3: Yippie (BSSID: D4:24:DD:4D:F2:2F, Kanal: 11, RSSI: -54 dBm)4: Yippie (BSSID: DC:39:6F:1F:5C:03, Kanal: 11, RSSI: -76 dBm)5: linksys (BSSID: 98:FC:11:CE:00:16, Kanal: 9, RSSI: -86 dBm)
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.