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,ST Customer Support advised me to post this question in the ST Community.I am planning to use a NUCLEO-WL55JC1 (MB1389) as a transmitter in Japan. According to the official ST Japan certification list, this board has Japanese radio certification number 018-210191:https://www.stmcu.jp/technical/hint/no-119/The Japanese certification database shows the following information: Emission designation: G1D Frequencies: 920.6 to 928.0 MHz Channel spacing: 200 kHz, 38 channels Antenna power: 16.0 mW However, the Avnet Japan product page states that the certification applies only to LoRa and Sigfox modulation:https://www.avnet.com/japan/products/product-highlights/stmicroelectronics-nucleo-wl55jc/I need to determine whether certification 018-210191 also covers custom 2-FSK or 2-GFSK transmission.Could an ST employee or someone familiar with the certification documents please clarify the following? Does certification 018-210191 cover 2-FSK or 2-GFSK transmission? If it does, what are
Hi all,I am Jacopo and I am working on a project using STM32U5G9ZJ and I updated to the latest firmware package (STM32Cube_FW_U5_V1.9.0) with STM32CubeMX.I noticed that with the new package the call to HAL_ADC_Start fails to actually start the conversion if used with ADC4. Digging inside the function code I noticed that the call to LL_ADC_REG_StartConversion(hadc->Instance) got moved a couple of lines with respect to the previous version. This means that when the check for ADC4 passes nothing is done, and moving the function call back fixes the problem.Is this a bug? For now I fixed it by manually calling LL_ADC_REG_StartConversion after HAL_ADC_Start, but this is less than ideal.Thank you. Jacopo
Setup:MCU: STM32WB5x (WB55 in particular)Performing OTA firmware update over BLE, using a custom OTA service/characteristics (based on the STM32WB Cube OTA support), sending firmware in chunks after the device reboots into OTA/bootloader mode.Client app: Android, iOS appProblem:During an OTA session, if the connection between the client and the device is interrupted (e.g. chunk write failure or stuck, or the client fails to resume sending data) while the device is already in OTA mode, the device gets stuck — it stays in OTA mode waiting for the remaining firmware data, but no new connection can be established to resume or restart the transfer. The device appears to remain advertising/connectable at the BLE stack level in some cases, but the OTA session itself cannot be recovered or restarted from the client side once this happens, effectively bricking the update flow until a manual power-cycle.Question:To make the OTA process self-recoverable, I'm considering adding a timeout mechanism
Hello everyone, stse_ReturnCode_t stsafea_verify_entity_signature( stse_Handler_t *pSTSE, PLAT_UI8 slot_number, stse_ecc_key_type_t key_type, PLAT_UI8 *pSignature, PLAT_UI8 *pSignature_validity) this is the declaration of the function, my question is:against which hash/payload does the function verify the signature? Thanks,Giorgio.
We are interested in incorporating the STSAFE-A120 authentication chip (part number: STSAFA120S8SPL05) into our current design. However, the available datasheet lacks the necessary details for firmware development. We would highly appreciate your help and guidance on this matter.
Hi I didn’t find any topic or help for the porting of the X-cube-NFC06 to a nucleo 144 f439zi. I’m writting down all the setup I used to achieve this porting with succes, maybe that will help someone one day. IOC configurationsSPI: prescaler 16 (5.25MBits/s) / CPHA 2 edge (info from example and can be found in st25r3916b datasheet) do not enable NSS from cubeMX instead configure PD14 as GPIO_OUTPUT and name it SPI1-CS. IRQ: rising edge / no pull / don’t forget to activate IRQ from NVIC (exti line3 interrupt) *ETH peripheral is using PA7, instead of PA7 I used PB5 as SPI1_MOSI pin. U just have to use a jumper wire to wire up PB5 to D11 (old PA7).Code modificationsAfter generating the code, you should be able to compile without any trouble. If you program the nucleo, you will be facing this : The program isn’t giving any error but, it’s stuck in a infinite “loop”. If you measure with a multimeter btw GND and ST25R_IRQ pin you will constantly have a high lvl (we don’t want this). Here is
I want to use the 2-wire Direct Test Mode defined in Bluetooth Core Spec Vol. 6 Part F for RF testing of my STM32WBA custom board.I've already tried BLE_TransparentMode. While HCI / ACI commands work, DTM commands don't respond.Is it impossible to control with 2-wire DTM commands in BLE_TransparentMode?Please let me know if there's any way to do this.
Hello,I have a Nucleo-WB09KE.I cannot connect normally to the Board using the Programmer. Only Hotplug is working ?!?. Any idea ?What I already tried: - Connect with hotplug and mass erase. → Flash is blank. - Update the Programmer and the Driver to the latest one. - connect via mode ‘normal’ ’under rest’ failed
We have device that has Stm32F405RG T6 Microcontroller. We have been using DFUSE Demo tool to update image.we have bootloader app (custom bootloader) and main app.we flash bootloader + app to device using STLINK JTAG.Custom boot loader checks for certain button to decide if jump to app or remain in DFU mode to upload new image to device.This works fine with DFUSE demo tool but when we use StmCubeProgrammer (after updating to stm32bootloader usb driver)it can detect the device in DFU mode on USB but only in read-only mode, we can not write any bin file back to device.
Hello,I am trying to create a custom AI model and run inference on the NPU of an STM32MP255F.At the moment, my goal is only to verify the model creation workflow. Therefore, inference accuracy is not important yet.Environment Target device: STM32MP255FInference engine: NPUNumber of training images: 116 (mouse images)Steps1. Dataset creation with RoboflowAnnotated all images. Resized images to 256x256. Exported the dataset in YOLOv8 format.2. Training and export with UltralyticsTraining:yolo detect train data=data.yaml model=yolov8n.pt epochs=100 imgsz=256Export:yolo export model=runs/detect/train/weights/best.pt format=onnx imgsz=256 quantize=8 data=coco83. Conversion with ST Edge AI Developer Cloud Uploaded the exported model to ST Edge AI Developer Cloud. Selected the platform: "STM32 Microprocessors embedding Cortex-A loaded with X-LINUX-AI" Executed Optimize. However, the following error is displayed and no .nb file is generated:Error while generating optimized file. Generation
Board: STM32MP257F-EV1 (also relevant to STM32MP257F-DK)Tool: ST Edge AI Developer Cloud, ST Edge AI Core 2.2.0The "Optimize" step (NBG generation) consistently fails with:"Error while generating optimized file. Generation does not contain any output."Model details:- Architecture: torchvision.models.mobilenet_v2(weights=None, num_classes=100)- Trained from scratch on CIFAR-100 (100 classes), PyTorch 2.5.1+cu121- Input: 3x224x224, output: 100 classes- Quantized on-platform to INT8, per-tensor (per-channel disabled)Attempts (all fail identically):1. Original export, opset_version=122. Simplified via onnx-simplifier (0.4.36) - only reduced redundant Constant nodes (176->108); Conv/Clip/Add/Gemm counts unchanged3. Re-exported with opset_version=174. All used random-value calibration (no .npz calibration dataset provided)No "Show terminal" or detailed log option appears for this specific error on the Optimize step.Control test (works fine):Imported mobilenet_a050_pt_224_qdq_int8_image_cl
I have the timing budget set to 56ms. Have histogram merge turned off, and histogram max size set to 1.I also have an IMU on board. I have also enabled Phase cal patch power. The following is the setup.I am having trouble getting returns above 1.2metres, and is there any way of estimating the timestamp with higher fidelity. At the moment I am just taking the mid-point from when it starts ranging to when we can load the sensor. Its not using a GPIO pin, its using the blocking getMeasurementData function, we have instrumented that poll and have included that into the timing measurement. Just want to know if theres any tricks we can do to get it comfortable returning 2+ metres, there are 16 sensors pointing radially outward. The sensor has slow and fast dynamic motion that it undergoes.
Hello ST Community,I would appreciate your guidance on the logic for BLE data transfer. I've created custom GATT services to transmit sensor data to mobile application via BLE. Currently, the data is sent in HEX format. Is there any method to send the raw read values from the sensor instead of HEX format so that it would be easily read and not prone to parsing errors. I've searched online for resources but haven't found a suitable one, so I'm posting here.Thanks in advance
I am working on a project on a STM32H563 with trustzone enabled. Our firmware update strategy relies on using the dual bank flash and swapping when needed. I was wondering if you can set the SWAP_BANK option byte and trigger a bank swap from non-secure code with SECBOOT_LOCK not set?. I am asking because do not I want a hacked non-secure application to be able to trigger a bank swap to potentially untrusted code on the other bank. I could not find a clear answer in the reference manual.
Hello, I have a kind of general question about the usage of interruptions and memory barriers.Because of the pipeline architecture of the processor, it is recommanded by ARM (https://support.arm.com/documentation/dai0321/a/ ) to use DSB / ISB instruction when enabling disabling instruction. The guide focuses (amongst othr cases) on the NVIC operations. The CMSIS functions __NVIC_DisableIRQ and __NVIC_EnableIRQ look to respect the guidelines.However, I’m wondering if such practices should be applied when enabling/disabling the peripheral interrupt (typically via the enable interrupt register) ? Same with the RegisterCallback functions avaialble in the HAl libraries. Regards.
I am working with an STM32H723ZG Nucleo-144 board and a small GA12-type encoder DC gear motor connected through a motor driver.My connections are:Motor driver PWM → D15 / PD15, configured as TIM4 Channel 4 PWM Motor driver DIR → Arduino A2 / PC3, configured as GPIO Output Encoder C1 → D6 / PE9, configured as TIM1 Channel 1 Encoder C2 → D5 / PE11, configured as TIM1 Channel 2 Encoder is configured in TIM1 Encoder Mode TI12PWM is working and the motor rotates, but I cannot make the motor rotate in the opposite direction. I have tried setting the DIR pin both HIGH and LOW: HAL_GPIO_WritePin(GPIOC, GPIO_PIN_3, GPIO_PIN_SET);HAL_Delay(3000); HAL_GPIO_WritePin(GPIOC, GPIO_PIN_3, GPIO_PIN_RESET);HAL_Delay(3000);However, the motor continues rotating in the same direction.I have confirmed in STM32CubeMX that A2 corresponds to PC3 and PC3 is configured as GPIO output. I am using TIM4 CH4 for PWM and TIM1 CH1/CH2 for the encoder.What could be causing the DIR signal not to reverse the motor direct
Erase sector operation is failing for more than 2 sectorsI have attached the code baseignore trace functionality added for debugging0x20 function code, (Not clear if the call to erase sector are separate or single call)write enable, erase command, wait for Busy bit to be clearedCan someone help to spot the issue
Does STEVAL-ESC001V1 evaluation board support 6 step ?.it already supports FOCif so any idea how to implement 6 step in steval esc001v1
Hi,I am working with an STM32H573 and would like to reliably detect when the device is running in the built-in ST System Bootloader.Is there any supported mechanism to determine that the MCU has entered the System Bootloader?For example, is there any status information, register, persistent flag, GPIO behavior, or other mechanism that can be used to distinguish the System Bootloader from the normal user application?The goal is to provide an external indication when the device is in this state. A status LED would be one possible example, but I am mainly interested in whether there is a general and reliable way to detect the System Bootloader state.In our setup, Secure Manager is enabled, so entering the System Bootloader may also happen as part of the secure boot / recovery flow.Is there any recommended approach for this on STM32H573 devices?Thanks!
STM32CubeProgrammer V2.21.0 displays an update avaliable icon and when I click it it offers to update to V2.23.0, but when I let it try to update it appears to download something then some windows flash up for a moment then STM32CubeProgrammer restarts but is still V2.21.0.I am on Windows 11
Hello everyone,I'm using STM32CubeIDE 2.1.0 and STM32CubeProgrammer on Ubuntu 24.04.4 LTS.Yesterday I was able to flash my firmware to an module based on the STM32H755 MCU via ST-LINK using the following settings:Port: SWDMode: NormalReset mode: Software resetEverything worked fine. Today I made some modifications to the firmware, but when I tried to connect again, I got this error:Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug AuthenticationThings I have already tried (none worked):Changing Mode to "Under Reset"Changing Reset Mode to "Hardware reset" and "Core reset"Holding the reset button while clicking connectTesting with a different ST-LINK programmerTesting with a different board (same MCU)Here is what st-info --probe returns:Failed to enter SWD mode Found 1 stlink programmers version: V3J15 serial: 004100223235511237333439 flash: 0 (pagesize: 0) sram: 0 chipid: 0x000 dev-type: unknownThe ST-LINK i
After updating to STM32CubeProgrammer v2.22.0, I get the following error when connecting with JLINK:Error: ST-LINK interface not availableMy commands still work, but they just print this error message everytime. Is this a known issue, and are there any ways of suppressing this particular error?Full trace of a simple command below:STM32_Programmer_CLI -c port=JLINK sn=xxxxxxxx mode=HOTPLUG -score ------------------------------------------------------------------- STM32CubeProgrammer v2.22.0 -------------------------------------------------------------------Connecting to J-Link/Flasher ProbeDevice=Cortex-M33Device ID : 0x484Voltage : 1.81VFrequency : 4000 KHzError: ST-LINK interface not availableNVM size : 2 MBytesCore is halted Using:STM32CubeProgrammer: v2.22.0 STM32H573II SEGGER J-Link PLUS: SEGGER J-Link Commander V8.10c
Hi all,I know there is a newer version of this (v2.2) but I'm still on the old one. I can click the ok button on the "Download has failed, some data may be not updated. Please retry later" window and the target selector shows up but the project I make (TestH7A3VIT6) for STM32H7A3VIT6 has an exclamation point on a triangle in it.BTW I'm using this in my windows 11 laptop and there is no crdb.zip in the repository folder.So is STM32CubeIDE 1.19.0 too old and not supported anymore? I'm trying to avoid some of the early bugs in STM32CubeIDE v 2.x.Thanks
Hello,I have a project that uses I3C to connect a Nucleo-C562RE with an STM32C542CCT6 MCU. The setup was working fine with HAL 2.0.0 but it does not work in 2.1.0. I generated the code with MX2 and I observed that it is identical to the code in the private_it_controller example code. I stepped through the mx_i3c1_init function and I noticed that the moment the GPIO for SDA and SCL are enabled, the I3C clock (SCL) is turned on (visible on the oscilloscope) and does not stop. I don’t see how this could be correct. When I try to start DAA it fails instantly (the error callback is invoked) and the SDA line never changes state (it stays HIGH after reset).Can someone help with this issue?Thank you,Gil
Hi ,I'm currently working with a BlueNRG-332AC and am unable to establish an SWD connection for programming/debugging.Hardware Checks Verified the SWD header continuity – all connections are OK. Tried swapping SWDIO and SWCLK to rule out wiring issues, but it made no difference. The target board is powered. Voltage Measurements on SWD HeaderPin Measured Voltage Pin 1 (VCC) 3.3 V Pin 2 3.3 V Pin 3 (SWDIO) 3.3 V Pin 4 (SWCLK) 0 V GND 0 v Software Tried BlueNRG ST-Link Utility RF Flasher Utility BlueNRG ST-Link Utility Log18:29:21 : Can not connect to target! If you're trying to connect to a low frequency application, please select a lower SWD Frequency mode from Target->Settings menu.18:29:22 : No target connected18:29:32 : Can not connect to target! Please select "Connect with Pre-Reset" mode from Target->Settings menu and try again. If you're trying to connect to a low frequency application, please select a lower SWD Frequency
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.