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
STEVAL-FCU001V2について、ST社のサイトからダウンロードしたプロジェクトをStm32CUBEIDEで開き、以下の修正を実施。修正1ヘッダーファイル:rc.hについて、REMOCON_BLEからREMOCON_PWMにモード変更。 #define REMOCON_PWM // 外部リモコンRX 4チャンネルPWM修正2 \stsw-fcu001\STSW-FCU001\STEVAL-FCU001V2\Core\SrcにあるSysmem.Cについて、ソースコードに書かれていたcaddt_tが、廃止されたtypedefであった為、void *に変更。上記修正後にBuild ALLを行ったが以下のメッセージが出る。重大なエラー:custom_motion_sensors.h:そのようなファイルまたはディレクトリはありません。custom_motion_sensors.hはフロクトジェ内の別フォルダに、存在しているのでパスまで指定してもう一度Build ALLを試しましたが、結果は同じで、ヘッダファイルのインクルードは結局出来ませんでした。
Edit: I just effectively measured the cables, and they’re are 1.2m, not 50cm, I dont know where I got that number.I have been sitting on this issue for a long while, trying to fix it, so it is a long post. Please bear with me.Hardware setupThe system is based on an ESP32 WT32-ETH01 connected to two ST VL53L8CX ToF sensors (aliexpress pcb).The main hardware configuration is:* ESP32 WT32-ETH01* 2x VL53L8CX* Sensors have both NCS and SPI_I2C_N connected to GND* TCA9548A I²C multiplexer* 3.3 V supply for esp, sensors and multiplexer (Variable regulated DC power supply 1.2A max and 3.3v)* I²C SDA: GPIO 32* I²C SCL: GPIO 33* Separate LPN control for each sensor* Approximately 1.2m of multi conductor shielded cable between the controller and the sensors (also tried with ethernet cable)* No Cable shield connectedThe sensors work correctly when tested individually (with both long or short cables) and also worked together when using short cables. Also using one long cable connected to one sensor
camera module cam-6gy-152vis with rockchip rv1106g3 boardBelow are the pin connections of the adapter board to rockchip let me know what is wrong in this like ffc cable is be have alternate connection at the ends of cable on that time if we reverse the cable first pin goes to 22nd pin vice versa.now my problem is will camera module will on with this connection or no ?Here are three things first image left side is adapter board schematic and right side rockchip ffc connection schematicbelow is image has camera module pinout which is snapped on the adapter boardUnable to detect the i2c on the rockchip and unable turn on the camera ?for more info i have attached full shematic of the both adapter board and rockchip.Thank you
Good morning! I need to replace an SCR with the code FLC 10 200, but it is out of production. What component can I use to replace it?
We have 2 nos of STEVAL Drone 02. 1)We assembled correctly the motors CW & CCW 2) Propellers are also correctly assembled. We are using STBLE Drone androidapp. We are facing same problem for both the units.Propellers rotates in proper direction but its not lifting up.instead it lifts slightly 25 cm above ground & then starts rotating around itself & moves horizontally uncontrolled. Then we have to stop it.VIDEO of Drone behaviour attached.Please suggest RegardsShirish
Hi,for a project involving a custom educational flight controller, I need to use the following hardware:- steval-FCU001V2 board- steval-drone02 drone kitFor clarity, here are st product page links that i used.Manual:https://www.st.com/resource/en/user_manual/um3117-how-to-build-your-own-minidrone-with-the-stevaldrone02-and-stevalfcu001v2-stmicroelectronics.pdfSteval-drone02 Drone kit companion:https://www.st.com/en/evaluation-tools/steval-drone02.htmlSteval-FCU001V2 FCU board:https://www.st.com/en/evaluation-tools/steval-fcu001v2.htmlMy main issues are as follows: I can’t get it to fly with the factory-loaded firmware, and I can’t even reload the firmware.I followed the UM3117 manual to assemble the kit and perform the initial tests. Compared to the materials and manuals available for version V1 of the drone kit and the Steval FCU001V1, this one seems less comprehensive, and in some images the connections aren’t very clear.When I connected the motors according to the manual, I found th
I am writing this to help.I have just received my EVB STM32MP257F-DK.When I have connected my USB cable in "USB PWR STLNK".LD5 and LD6 were RED, LD11 was flashing GREEN once.Installed the SD card and nothing, no boot ?Win11 was claiming that the driver is fine and the latest.The USB port were displayed as regular: USB PORT COM9 and COM10.Pressing the RESET button B1 nothing: No BOOT, no bad character on both ports ???Disconnecting the USB cable was well detected by Tera Term but nothing else.I have decided to install STM32CubeProgrammer Winn64 to check ithe ST-LINK by trying to connect.During the installation of the tool, the installer has advised that it is installing a driver.With no intervention, my EVB started to work, booting LINUX and all the LEDS have started flashing like a chritmasResetting the EVB, we can see Linux booting on port COM10 115200,8,N1See the image attached when the driver work fine and how it is displayed in Win11 device manager.Have fun.Best regards,SuperGDx
I need to perform lot of mathematical calculations and within a fixed time interval, the micro is STM32G474 my question is even if floating point calculator is available, do you recommend to use fixed point calcuations Q15 format etc. or I can go ahead with floating point calculations, will i get same performance? Please clarify.
Evaluating the STM32G081B-EVAL board, and I’m struggling to find the sizes of the two DC barrel jacks on the board and UCPD daughter board (5V CN16 and 19V CN3). As I understand it, it would be sufficient to power CN3 and let that power the mainboard, but I can’t find either of these sizes.Checking the BOM shows CN3 as Qiaod DC-094, but I can’t find any information about this either.Does anyone know what size of power supply barrel jack we will need for either (preferably CN3)?
Hi,I am working on a custom board using STM32H745XI MCU.I am facing an issue on one particular board.The same source code works correctly on our other boards with the same MCU and hardware. On the problematic board: The firmware can be programmed successfully using STM32CubeProgrammer. After programming, the firmware runs normally. But when I debug the same firmware from STM32CubeIDE using ST-LINK, execution reaches Reset_Handler and then main(). HAL_Init() is entered, but it does not return. After debugging HAL_Init(), I found that execution is actually hanging at: HAL_Delay(1000);inside HAL_Init().The relevant flow is:Reset_Handler ↓ main() ↓ HAL_Init() ↓ HAL_InitTick() ↓ HAL_MspInit() ↓ HAL_Delay(1000) ↓ HANG ↓SystemClock_Config() ← never reachedMy understanding of the problemHAL_Delay() depends on the HAL tick counter (uwTick) being incremented periodically by the SysTick interrupt.Normally the flow should be:SysTick interrupt
Hi ST Community,I’m working with an STM32N6 project and I am facing a build issue after generating a project with STM32CubeMX.The project generates successfully and the driver folder is present, but when I open it in STM32CubeIDE and build, I get many linker errors related to missing HAL functions.I checked the STM32N6xx HAL driver folder, and I do not see the HAL source files It looks like the generated CubeIDE project is not adding the HAL driver files into the build.My setup:STM32CubeIDE: 2.2.0 STM32CubeMx: 6.18.0Can you please advise if there is any additional setting required to avoid this issue ? or if this is a CubeMX generation issue?
I am having an issue with .ioc file association on macOS when using STM32CubeIDE 2.2 together with the standalone STM32CubeMX.The .ioc file does not seem to be properly registered with macOS.For example, in Finder, .ioc files are shown as unknown files rather than as STM32CubeMX project files.More importantly, when I open an .ioc file from STM32CubeIDE, STM32CubeMX is launched, but it stays on the welcome screen instead of opening the selected .ioc project.The behavior is roughly:STM32CubeIDE ↓STM32CubeMX launches ↓CubeMX stays on the welcome screen ↓project.ioc is not opened I've made some checks. macOS does not appear to assign a normal, application-specific UTI to the .ioc file.For example:mdls -name kMDItemContentType -name kMDItemContentTypeTree project.iocreturns:kMDItemContentType = "dyn.ah62d4rv4ge80w55d"kMDItemContentTypeTree = ( "public.item", "dyn.ah62d4rv4ge80w55d", "public.data")I also checked the application bundle:plutil -p /Applications/STM32
I’m running into a ‘Heisenbug’ crash (just adding or moving a bit of general code between builds makes it either crash or work), and when it crashes, the STLINK-V3MINI can’t attach, or if already attached, it fails to halt the processor.Any tips or advice about catching it in the act or theories as to the cause?
Hi Team,I am using the STM32C542RC on the STM32C5 Nucleo-64 board (MB2213),What is the max. supported baud rate for the USART baud rate?We have checked that, with STM32CubeMX, the DIV1 prescaler, and oversampling by 16, the maximum supported USART baud rate is 9 Mbit/s, assuming the peripheral clock is configured appropriately.However, in our setup, we are receiving garbage/corrupted data at 1.5 Mbit/s. Communication works correctly at 1 Mbit/s (TX and RX both working at this baud rate), but increasing the baud rate to 1.5 Mbit/s or higher in that case results in receiving garbage/invalid data. The STM32 receiver and the sender are configured with the same UART settings:Baud rate: 1.5 Mbit/sStop bits: 1 (also tested with 2)Parity: NoneWord length: 8 bitsHardware flow control: None Please check the above configuration and let us know how to achieve reliable data on the receiving end at a 1.5 Mbps or higher baud rate. If any additional configuration is required, then please let us know.
Greetings,We have a new HW design based on the STM32H573ZI. We are using the USB port and have itgoing to a 4-pin micro-USB connector with VBUS, D-, D+, and GND. I would like to run an H5 Example application to verify that the HW is functional, something like the Ux_Device_HID example.However the Ux_Device_HID examples I see seem to only support USB-C with USBPD (Power Delivery). Are there any simple Device Only examples which natively support micro-USB, or USB-A? ThanksKen CarlsonDraeger Medical Systems
Hello ST team.I am working on the boot chain from qspi NAND flash memory. The board is based on the STM32MP135F SOC and the w25n01gvzeig winbond 128MB IC. The IC is sitting on qspi bank 1 on the default BOOTROM pins (AN5474 p49).I have already succeeded the bootchain for EMMC and USB uboot successfully locates and flashes the nand with the partitions I have specified. But as set the boot pins to 111 I get 0 logs from the serial.By reading in the forum I suspect that the OTP should be programmed with the NAND layout configuration but I would like to be sure. Note the I have build tf-a with the STM32_SPI_NAND=1 on the extra flags and I get a boot log from NAND boot if i perform software reset from uboot usb.With softreset and tfa hardcoded the otp value for nand block nb[7:0]:STM32MP> resetresetting ...▒NOTICE: CPU: STM32MP135F Rev.YNOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.6-yocto-scarthgap-mpu-v25.06.11INFO: Reset reason (0x74):INFO: System
ProblemI am working on an STM32H743 and I have implemented a custom bootloader that should be able to jump to the STM32 internal system memory USB DFU bootloader.The application can request a firmware update by setting a flag (in the BKPRAM) and performing a system reset. After the reset, my custom bootloader detects the flag and tries to jump directly to the STM32 system memory DFU bootloader.The relevant part of my bootloader is:int main(void){ if (Bootloader_IsUpdateRequested()) //check if update is requested { Bootloader_ClearUpdateRequest(); EnterUpdateMode(); //go dfu mode } HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART3_UART_Init(); HAL_Delay(100); int err = Bootloader_is_app_valid(&crc); //check if app is valid if (err != 0) { // ... Bootloader_SetUpdateRequest(); NVIC_SystemReset(); } JumpToApplication(); //start application while (1) { }}The function used to ju
CubeMX allows the user to change the Preemtion Priority of the “System service call via SWI instruction” / SVCall_IRQn.When its not at the default value of 0, CubeMX generates this HAL_NVIC_SetPriority(SVCall_IRQn, X, X); inside HAL_MspInit(). When USE_FULL_ASSERT is enabled this function call triggers an assert. Namely assert_param(IS_NVIC_PRIO_INTERRUPT(IRQn)) where IRQn is SVCall_IRQn and IS_NVIC_PRIO_INTERRUPT(X) checks if IRQn is != to SVCall_IRQn.I noticed this on a STMU385, using CubeMX version 6.18.1Best Regards, Cecil
Hi,We are using STM32L496RGT6, VDD voltage is 1.8V, our device is low power device, max current available on 1.8V is 13mA. We are using Segger flasher for flashing .hex file to MCU by SWD and Speed 4000kHz. Now while flashing MCU, it takes around 36mA current. Setting as follows, can we reduce programming power by changing any setting in flasher tool.
I have a board which is in the STM32V8 family but i cant find anything about its datasheet or anything to work on it how can i work on a board which has no data sheet or any pin out things , even if i create a file using stmcubeide i cant find its ioc file for that particular project
Hi. I built the PCB myself at home. While working, I noticed strange anomalies in the image. The anomalies are in different places and on different photos. I asked AI but didn't get a satisfactory answer. I tried reducing the frequency without any positive effect. I suspect ESD or power supply issues. The traces are very thin, 0.4 mm for power and 0.35 mm for data. Has anyone experienced this?
The GT911 configuration (as far as I know registers 0x8047 - 0x8100, but maybe there is more?) on my module got overwritten by my experiments, and touch now has large dead zones, where no touch is registered at all. The driver/sensor channel map is specific to this panel and isn’t in any BSP, so I have no factory copy to restore from, and I also don’t have a 2nd board.Could anyone with a working DK dump their GT911 config and paste the values? (Or does ST have the default config for this module, I sadly couldn’t find it anywhere?) From my understanding it should be as simple as: uint8_t reg[2] = {0x80, 0x47};uint8_t cfg[186];i2c_write(0x5D, reg, 2);i2c_read (0x5D, cfg, 186);
I’m trying to build the LED example for the P-NUCLEO-WB55.USBDongle.I have included all the necessary include & source paths yet when I try to build it exits with the following, This file does actual exist though, and its location is in the paths list, What am I missing here?
Hello, When you start STM32CubeIDE with this settings removed : Run/Debug → Launching → General Options → Build (if required) before launching, the debugger couldn’t start, nothing happens, no error in logs.You have to set again this settings, launch debug, then remove again this settings, and now debug can work.Laurent.
I hope you are doing well.We are currently working on a Driver Monitoring System (DMS) project at Rapidise Technologies Pvt. Ltd.Could you please let us know if STMicroelectronics has any DMS reference design, application board, or evaluation board based on an STM32 microcontroller?If available, could you kindly share the following:Schematic files PCB/Board design files Bill of Materials (BOM) Hardware design documentation Design guidelines Reference software or demo projects (if available)These reference materials will help us evaluate the platform and accelerate our hardware development.
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.