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
Summary: When enabled st67w61 forcefully keeps MISO low and doesn't let other slaves use SPI. In our setup: - STM32L452: Is master SPI with latest mission_profile_t02. - st67w61: Is SPI slave 1 with dedicated CS pin - 3rd party SPI slave 2 with dedicated CS pin SPI bus speed is 2MHz, and CPOL, and CPHA are 0 Reproducing problem: 1. st67w61 is enabled (CHIP_EN is HIGH), - BLE initialized W6X_Ble_Init() successfully - Advertisement starts - We are able to pair with st67w61 successfully via our phone - We then try to start SPI slave 2 with no success. Data is being sent via MOSI but MISO stays low. We have tried this with other types of slaves with no success. After turning OFF (CHIP_EN to LOW) st67w61 module, we can communicate successfully with Slave 2. However we need to have both slaves enabled for our application to work. Note that CS pins are in the correct state. It seems like the st67w61 forcefully pulls MISO line low when enabled and doe
I'm trying to figure out how to make a driver for your camera. The problem seems to be the licensing. The driver is all GPL which would be fine because with the datasheet i could figure out all the calls i need to make my driver work on a non linux device. The problem is the patches. The only place i can find about the patches are on the github driver page. Are they located another place thats not under GPL.* https://github.com/STMicroelectronics/vd56g3-linux-driver
Hello.I'm working on project with LSM6DSO and I use FSM.For easier programming I use the FSM Feature in MEMS studio, but it looks like it's buggy:1 - SRP doesn't change the graphical diagram of FSM. It always point to start of the program on RNC.Example: 2 - Adding STIMER3/4 lead to error when I try to export the register config (save device configuration as):There are also missing settings from the Fixed Data section (CONFIG_A, CONFIG_B, SETTINGS) which could be important.Thanks
Hello,I am working with the Machine Learning Core (MLC) of the LSM6DSOX and I would like to better understand how to extend or reuse existing ST models.In particular, I am using preconfigured models available from ST (e.g. Activity Recognition), which are provided as .ucf files.My goal is to:reuse an existing ST model as a baselineadd my own labeled data (custom activities)generate a new combined model without starting completely from scratchFor this reason, I would like to ask:Is it possible to access or obtain the original datasets used by ST to train the provided MLC models?Is there a way to extract or inspect the underlying decision tree from a .ucf configuration?Is there an official workflow to extend an existing model (e.g. retrain by adding new data) rather than creating a new model from zero?I understand that .ucf files represent the final register configuration, but I am interested in working at a higher level (model/data level) if possible.Any guidance or recommended approach
I've always found it a little irritating:#define CLK_A_Pin GPIO_PIN_0 #define CLK_A_GPIO_Port GPIOFWhy is it deemed necessary to have "GPIO" in one, but not the other? Surely, that should be either:#define CLK_A_GPIO_Pin GPIO_PIN_0 #define CLK_A_GPIO_Port GPIOF("GPIO" in both), Or:#define CLK_A_Pin GPIO_PIN_0 #define CLK_A_Port GPIOF ("GPIO" in neither) (There isn't a label for "suggestion" - so "bug report" is the nearest option)
Hi, I am not sure how to categorize this problem. I have a custom board that I had done an initial software development cycle on STM32CubeIDE. I am working a newer version in VSCode with the STM32 Extension. Everything is working with the exception of one problem. I am using a watchdog on my MCU (STM32L4R9ZGJ6), which triggers while I have the processor halted. I know how to fix this in CubeIDE (Debugger tab, Enable Suspend Watchdogs) but cannot figure it out on the VSCode/GDB side. Below is the launch.json I have so far:{ "version": "0.2.0", "configurations": [ { "cwd": "${workspaceFolder}", "executable": "./build/debug/build/test.elf", "name": "Debug with ST-Link", "request": "launch", "type": "cortex-debug", "runToEntryPoint": "main", "showDevDebugOutput": "none", "servertype": "stlink" }, { "name": "Launch", "type": "cppdbg", "request": "launch", "cwd": "${workspaceFolder}", "program": "${command:cmake.launchTargetPath}", "MIMode": "gdb", "miDebuggerPa
[PN]: custom Board based on evspin32g4-dual[VERSION]: 6.4.0[Motor]: Xing2207 1800Kv[CubeMx]:6.14.1Hello,I have a problem with getting my FOC BLDC motor to start, the specs of the motor are: 0,08Ohm 50uH 0,32Vrms/kRPM. My project is for two sensorless motors with one shunt each, but I am trying to get started with the one connected directly to the stspin32G4.When using 10kHz Pwm the motor first vibrates but does not spin, then it starts accelerating, then I get the startup failure. The failure always occurs when it reaches the start-up speed threshold. When I try 40kHz PWM it wont start at all. I noticed that in cubeMX there are some errors.The schematic for the mosfet drivers is identical to the evspin32g4-dual:33Ohm gate resistors and 1uF Boot CapI set the Boot charge time to 50ms and the Charging Duty cycle to 15% Below is a screenshot of the startup phase once the motor is running, orange: one phase, blue: voltage over shunt, the digital signals are the gates of all t
Evaluating the L9963E BCC chip for a BMS design, using the AEK_POW_BMSNOTX eval board together with AEK-MCU-C4MLIT1 (spc58ec) running the example BMS application as reference but seeing some odd results in the cell voltage readings.All readings are a bit low compared to actual cell voltage, but cell1 and cell14 are off by a fairly large amount.What could be causing this?cell1 & cell14 reading off by 0.5vcell2 to cell13 reading off by about 0.1vCell1 reading seems to improve if the HotPlug selection jumper is mounted. But not cell14.
Hi I have created a project using STM32Cube.AI Studio. I am able to successfully run and generate the project from the tool. After that, I can open the project in STM32CubeIDE and build it without any issues.However, while debugging, I encounter the error shown in the image below.I am able to debug the image classification and face detection sample projects provided by ST without any issues. Therefore, I suspect that there may be a problem with the project configuration generated by STM32Cube.AI Studio.The evaluation board I am currently using is the STM32N6570-DK.Please help me to resolve this issue?
I am implementing NFC wake-up functionality using the main controller chip STM32L433 and the ST25DV04KC. I2C writes and reads are functioning normally. However, when the NFC field is present, the GPO pin does not output a pulse (reading the GPO register returns a value of 0x11). Using a multimeter to measure the GPO level change when the NFC field appears shows a minimal change in voltage level. The same program works correctly on an STM32F1 development board with an ST25DV04KC NFC module (both 8-pin and 12-pin versions were tested, with the same phenomenon). Does anyone know why this is happening?Could you provide some troubleshooting directions?This would be very helpful to me.Thank you!
I'm new to using AI. I want to create a USB adapter that will connect to devices with a USB port and manage and control them.How would I go about accomplishing this?Are there any pre-defined models I could use?
I am running the FLASH_EraseProgram example code provided by STM32CubeU3. the code fails in erasing the flash and enters ErrorHandler. I have verified the FLASH_USER_START_ADDR & FLASH_USER_END_ADDR. it is set as follows. #define FLASH_USER_START_ADDR ADDR_FLASH_PAGE_128 /* Start @ of user Flash area */#define FLASH_USER_END_ADDR (ADDR_FLASH_PAGE_255 + FLASH_PAGE_SIZE - 1) /* End @ of user Flash area */I have tested in both debug and run mode, it is not working as expected. Is anything to be modified to run the code. regards,Rajath
I am trying to run my QT app directly on HDMI without wayland but for some reason it doesnt work. I am using the EGLFS root@stm32mp1:~# export QT_QPA_PLATFORM=eglfsroot@stm32mp1:~# export QT_QPA_EGLFS_ALWAYS_SET_MODE=1root@stm32mp1:~# export QT_QPA_EGLFS_INTEGRATION=eglfs_kmsroot@stm32mp1:~# export QT_QPA_EGLFS_KMS_DEVICE=/dev/dri/card1root@stm32mp1:~# ./appFridGui-sh: ./appFridGui: not foundroot@stm32mp1:~# appFridGuiDetected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.If this causes problems, reconfigure your locale. See the locale(1) manualfor more information.drmModeGetResources failed (Operation not supported)[ 406.915847] appFridGui[760]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL setCannot create window: no screens availableAbortedPlease help.
I am experiencing a problem with RTOS Proxy in STM32CubeIDE 2.0.0/2.1.0 when debugging a ThreadX application on STM32H753 using a SEGGER J-Link.The same setup works correctly with STM32CubeIDE 1.19.0, but after upgrading to 2.0.0/2.1.0 the debugger aborts during the flash download when RTOS Proxy is enabled. If I use J-Link Kernel Awareness instead RTOS Proxy everything works fine.ConfigurationMCU: STM32H753BIRTOS: ThreadXSTM32CubeIDE: 2.0.0RTOS Proxy: ThreadX / Cortex-M7Debug probe: SEGGER J-Link Ultra+J-Link GDB Server: V8.80Interface: SWDDebug configuration:RTOS Awareness: EnabledRTOS Kernel Awareness: RTOS ProxyRTOS: ThreadX (Cortex-M7)ProblemWhen starting a debug session, the debugger stops at the point where the firmware should be downloaded.The following error appears:Remote communication error. Target disconnected: Not a directory.Failed to execute MI command:load <path>/app_1500_xg.elfwhere <path> is the correct and full absolute path to my elf file.After the
Hello, I am using the STM32H503 MCU. When I configure the pins as follows:PB2 → OUTPUTPA8 → TIM1_CH1PB7 → I2C1_SDAIn the RCC section, I get red warnings for Master Clock Output1 (MCO), LSCO clock output, and SAI1 External clock. I cannot disable these clock settings. Is there a way to do this in CubeMX? How can I resolve this conflict in CubeMX?
Hello together,I search for a solution to put calibration data in a NS area.Background Information:we are using STM35H573 with STM secure manager.we use an ethernet Rest API to update Application including request install and so onNow I want to use the same Rest API to update configuration data. The BIN file shall be signed like a normal application. The behavior should be more or less the same: Restart µC, SM checks validity; app will be started,...I have read um3254 but I do not understand the section with large profile.I have read something about ITS, but I think this is not the solution I need. The calibration data must not be stored in the trusted area. They shall only validated bei the SM during update or startup. Thanks for joining this topic. Br Sebastian
Split from USART in Proteus not displaying any characters as this is now a new situation (real hardware; not simulation) Now as per your advise i have moved from simulation to real hardware can you please why under freertos its not working the led is counitnusly onn instead of blinking? Working behavior: LED blinks correctly without FreeRTOS using a simple while loop in the same setup . Flashing and debugging via ST-LINK works without issues. Problem: When FreeRTOS is enabled, the LED stays continuously ON instead of blinking under the same hood . CubeMX configuration: FreeRTOS enabled (CMSIS V2) Default task created USE_NEWLIB_REENTRANT enabled in FreeRTOS advanced settings SYS timebase tested with: SysTick TIM1 GPIO PC13 configured as: Output ( that is fine as it worked without freertos but stays counitnuoly on with freertos ) Code behavior: Using osDelay() inside the task Same toggle logic works outside FreeRTOS but not inside
I am trying to use USART in Proteus, but it is not displaying any characters in the virtual terminal. In fact, nothing is appearing at all. My workflow was: I first generated the .ioc configuration using STM32CubeMX. Then I generated the project and built it in STM32CubeIDE to create the .hex file. I loaded this .hex file into the STM32 in Proteus. For USART communication: I am using USART2. PA2 → TX PA3 → RX I also verified the following: The baud rate is the same in both: STM32CubeIDE code Proteus Virtual Terminal I even simplified the code to just print a simple string using UART, but nothing appears in the Proteus virtual terminal. I followed several tutorials, but I still cannot determine what I might be doing wrong. At the moment, the UART in Proteus is not displaying any characters at all. I would appreciate help identifying what might be causing the USART not to work in Proteus. In this project, I am implementing a Publisher–Subscriber model. However, before pro
Should each vdd pin of the stm32f407zgt6 read continuity like the blue pill on multimeter, are they internally connected within the chip or separated? Similary for all the vss pins are they also all connected vss inside stm32f407zgt6 Thanks
Hello everyone, I am Li Weiwei (李炜炜) from a company based in Shenzhen, China, specializing in integrated circuit testing equipment and related R&D. We are currently working on a small-scale R&D / prototyping project that requires the STM32F103TBU6 (VFQFPN36 package) in bare die or wafer form (Known Good Die / KGD preferred), rather than packaged chips. Has anyone here successfully sourced STM32F103 series (or similar STM32F1xx) as bare die / wafer through ST directly, authorized distributors (e.g., Avnet, WT Microelectronics, WPG Holdings, Excelpoint, etc.), or other specialized bare die suppliers? Key details I'm looking for: Is the bare die / wafer option officially available for STM32F103TBU6? (I couldn't find it listed on the ST eStore, public datasheets, or standard channels.) Typical MOQ (minimum order quantity) — e.g., full wafer, partial wafer, or small engineering samples (our target: equivalent to 1–5 wafers or a small number of dies for initial prototyping)? R
I have question on STM32WBA65RI uC we are using it for our products TEK923/926. It seem to me that BLE stack doesn’t allow to use Free Running Binary mode and Calendar Mode.There is option of MIX Mode in CubeMX but doesn’t seem working. Causing not to allow Alarm/Timer to configure and giving below error: sAlarm->AlarmSubSecondMask Details:1056964608 Default:1056964608 Decimal:1056964608 Hex:0x3f000000ICSR Details:519 Default:519 &n
I tried doing an OBD2 request via Car's OBD2 port.I am able to see the CAN BUS traffic using an oscilloscope , just my request frames are rejected by car. I am using STM32h735G-DK development board to send OBD2 requests. It consists of an inbuilt FDCAN transceiver. Settings are fine (removed termination resistor as car already has two), baudrate is 500kbps with 87.5% sample point. I am using the following code to send OBD2 request frames:I am able to receive CAN frames and able to log CAN frame frames it is just that frames sent are rejected. What am i doing wrong here?FDCAN Code excerpt: /* ============ 500 kbit/s Bit Timing Derivation ============ * * Step 1: FDCAN Kernel Clock * fCAN = 80 MHz (from Clock Configuration) * * Step 2: Prescaler * Prescaler = 10 * * Step 3: Time Quantum (tq) * tq = Prescaler / fCAN * tq = 10 / 80,000,000 Hz = 0.125 µs = 125 ns * * Step 4: Bit Segments (in TQ) * Sync Segment = 1 TQ (fixed, always 1) * Time Segment 1 = 12 TQ (Prop_
My BLE project on stm32wba65 makes use of "UTIL_TIMER_Create" to set a callback. This works ok when the RTC is configured just as free running binary. If I set the rtc mode to mixed binary & bcd, the callback never gets fired. I'm using an LSE to drive the rtc. Why is this? I'm trying to base a project off the BLE_Heartrate example. I need the calendar time & date so I can timestamp data. I synch the time over the BLE from a PC. I suppose I could just use the ms ticks since boot, but how does this survive a reset (but not power outage)? Is the binary counter derived from the rtc sufficiently large enough to hold a date for a year or more? Any examples using binary RTC and external time synch would be most welcome.
Hi, I am currently working on a project where I want to adjust the duty cycle and trigger an ADC measurement on every counter rollover. I managed to get the PWM running in center-aligned mode, but I’m having trouble triggering the counter rollover at the correct moment. To verify whether the trigger is correct, I routed the output compare signal to an external pin and observed it on an oscilloscope. The basic idea is to run an additional counter alongside the PWM. This counter should count up to ARR and then generate a trigger that starts the ADC conversion. Becuase in the center aligned mode two update event occurs both on CNT=0 and CNT=ARR. On the oscilloscope, it looks like the trigger—presumably when CNT = 0 (at least that’s my assumption)—produces an edge. Im using NUCLEO-G491RE. What could I be missing here? What might be causing this behavior? Yellow (PWM TIM8 Channel3), Blue (PWM TIM8 Channel1), Orange (Capture Compare TIM8 Channel 4) Thank you in advance!
There is something strange happening with STM32N657x0HxQ MCU when HAL tick timer is not using SysTick, but a timer like TIM6, and TIMPRE is changed to 4 or 8 while timer is active. Observed it on DK and custom board.I created isolated test code with CubeMX v6.17.0 for STM32N6570-DK and STM32CubeIDE v2.1.0 to reproduce the issue. IOC file and code in attachment. Test code is in FSBL and it just blinks LED1 with 1 second period. When TIMPRE is 1 or 2, it blinks correctly. To reproduce: Change TIMPRE to 4 or 8 in clock tree and generate + build the code:Power up the board in development mode (BOOT1 = 1). On real application it only happens on cold boot. With this test code it seems to appears all the time.Launch the FSBL with debugger. Debugger should break at HAL_Init(). Press Run. Nothing happens. LED does not blink. Pause debugger and watch uwTick value:CPU is busy in TIM6_IRQHandler and with few seconds, the count has reached 489211. CPU is busy serving only the timer interrupt reques
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.