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
Hi All!After the CubeIDE auto-update, the option to import example projects had disappeared. Or was it moved somewhere else now? Release Notes mention nothing about this.In the meantime I guess I can access the examples using CubeMX.
Hello, as I mentioned in the title, I'm designing a battery-powered UHF RFID reader. This is a challenging project for me; I'm pushing the limits.MCU: stm32wb52cgUHF RFID: ST25RU3993Battery: li-ion (18650)I'm using the ZigBee feature of the MCU. My question is, I need a design that's compatible with both batteries and works at 2.5V levels. Therefore, what kind of power circuit should I create? If I install a 4.2V battery, I need to use a step-down converter. If I use li-ion (18650), I need to use a booster. What do you think I should do? 2-Is a switching regulator used in a UHF RFID circuit? 3- I need to make a booster with the li socl2 battery. When the battery drops to 2v, should I make a step up for RFID reading performance?
I'm writing a UART driver for NUCLEO-F103RB and I followed all steps in the book "Bare-metal embedded C programming" and advices from Gemini but still can't see the receiving output from my PC.How can I fix this?Other parts than UART work without problem in this setting.main.c#include <stdint.h> #include <stdio.h> #include "gpio.h" #include "uart.h" #if !defined(__SOFT_FP__) && defined(__ARM_FP) #warning "FPU is not initialized, but the project is compiling for an FPU. Please initialize the FPU before use." #endif unsigned readBit(unsigned line, unsigned position){ unsigned mask = 1U<<position; return ((mask & line) >> position); } int main(void) { RCC_APB2EN_R |= 1U<<2; RCC_APB2EN_R |= 1U<<4; //led init GPIOA_MODE_R &= ~(1U<<20); GPIOA_MODE_R |= 1U<<21; GPIOA_MODE_R &= ~(1U<<22); GPIOA_MODE_R &= ~(1U<<23); //button init GPIOC_MODE_R &= ~(1U<<20); GPIOC_MODE_R &= ~(1U&l
Hello, I have an expansion board X-NUCLEO-PLC01A1 that I use with a micro controller F767Zi on its F767Zi Nucleo Board.When I plug the PLC01A1 on the board, I cannot flash (meaning that I can neither Run nor Debug) any code on the micro controller, even if I turn off the 24V supply of the PLC01A1.I get this error on STM32CubeIDE: And here is what happens when I try to connect the board on STM32CubeProgrammer with the PLC01A1 plugged on it: My solution for now is to physically unplug the PLC01A1 every time I have to flash some code on the F767Zi, and then plug it again. Which is not so convenient. I think this problem can be due to a lack of power from the board which cannot supply itself and the PLC01A1. Note that even if the 24V power supply of the PLC01A1 is turned off, the PLC01A1 is stilled supplied by the 5V and/or 3.3V pin of the Nucleo Board. Have any of you an idea to solve this ?Thank you
Hello everyone,I'm experiencing an issue with network packet loss in a setup using the AR8031 PHY with an STM32MP1 system and would appreciate any insights or suggestions.Problem Description:Significant (60-90%) packet loss when STM32MP1 board is directly connected to a Linux host via EthernetNo packet loss when the same board is connected through an Ethernet switchIssue occurs consistently with direct host connectionsTested/Verified so far:Multiple known-good Ethernet cables (CAT5e/CAT6)Different Linux hostsLink speed and duplex settings (100M/1G, full/half duplex), 100M works fine with no packet lossEnable/disable various PHY driver quirks (qca,disable-smarteee, qca,disable-hibernation-mode, qca,clk-out-strength, qca,keep-pll-enabled, qca,smarteee-tw-us-1g)Device Tree Snippet:&ethernet0 { status = "okay"; pinctrl-0 = <&ethernet0_rgmii_pins_a>; pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>; pinctrl-names = "default", "sleep"; ph
Hi everyone!I figure out that Type III Format Interface Descriptor is generated automatically on STM32L476RG, and this use encoder format to transmit audio (Not PCM). Frame size vary an do mot match PCM packet sizes, meaning that transmitting raw PCM using Format Type III result as no audio output.However, apparently those problems doesn't occur using Format |Type I Interface descriptor.Any idea about how can to solve this problem? Thanks.
After (auto) migration the .ioc file to the actual CubeMX 6.15.0, the Dual Quad SPI mode got changed to Octo SPI mode and there seems to be no way to get back to Dual Quad SPI mode, since the mode selection entry "Dual-Quad SPI" is not shown as mode selection entry.After taking a closer look, I found out, that the Dual-Quad SPI mode is avail only for the OCTOSPI2 device, whereas the Dual-quad SPI option is not avail for the OCTOSPI1 device (tested with a "clean" configuration). Since my hardware was doing fine with Dual-quad SPI mode on OCTOSPI1 device there seems to be no reason for removing the Dual quad SPI mode from OCTOSPI1.I think, this behaviour is not intended ? Actually I found no workaround for this problem except for manually changing the auto-generated code so it would be nice to have that issue fixed. Even if changing the .ioc file manually the Dual Quad SPI mode option is removed on next load into the MX GUI again. Best regrads, Heino
I want to run OpenSTDroid on the STM32MP2 DK board, I cannot wait for ST to add support so what's the bare minimum I can do to run it on the DK board? I don't mind WiFi or Bluetooth not working, I just want to get Android running first, Then I can work on drivers.As I understand I think I can get away with just modifying the DTS overlay file to match the new hardware.
Hello ST team and community,I am working with STM32H755 and noticed a potential bug in the code generated by STM32CubeMX when handling the RCC_FLAG_D2CKRDY check during system initialization. CubeMX produces two variants of the loop:while((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) != RESET) && (timeout-- > 0)); if (timeout < 0) { Error_Handler(); }andwhile((__HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) == RESET) && (timeout-- > 0)); if (timeout < 0) { Error_Handler(); }Issue observedThe loop condition uses (timeout-- > 0).This means the loop exits when timeout reaches 0, but never decrements below zero.As a result, the check if (timeout < 0) will never be true, so Error_Handler() is never called — even if the D2 domain clock never becomes ready.Since STM32H755 relies on proper synchronization between the Cortex‑M7 and Cortex‑M4 domains, missing this error condition can mask serious startup failures. Developers may assume the system initialized correctly when
Hello,I created a project with an older version of the extension (v2.0.0) and everything worked fine. After coming back to it some time later, I found that I’m no longer able to run the code.I’m not sure if this is an issue with my setup or a more general problem, but I can’t select my MCU (STM32C071KBUx) in the VS Code extension’s project setup.When I manually set the deviceName property in launch.json I get an error:Is anyone else experiencing a similar issue?Thanks for any help!
Hello everyone,I just received the STEVAL-25R200A evaluation kit and I have a few doubts.1. Can I connect this board directly to another MCU?2. If yes, are the SPI pins available on the PCB?3. I found that the board uses an STM32G0B1KEU. Should I develop and test the firmware for this MCU using STM32CubeIDE first, and then later port it to my custom board?Thank you!
Hi,I noticed that for the FLASH PECR register there is a discrepancy between the RM and the CMSIS files provided by ST.The RM includes information about the `NZDISABLE` bit (which is not present in the CMSIS file `stm32l010x6.h`). On the other hand, the macro `FLASH_PECR_HALF_ARRAY` is provided in the CMSIS files but is not described in the RM.Best,msemegen
Hi!In AN5289, on page 37, the sequence for writing to Flash memory is described, taking into account potential CPU2 access (semaphores Sem2, Sem6, and Sem7). What does the diagram for writing/reading option bytes look like? Is it the same?
I was examining the .ioc file from TouchGFX project and found out that LTDC_G0 is on PF5. However in the schematic provided for STM32N6570-DK (MB1939) LTDC_G0 is on PG12. I suspect the provided schematic is the correct one, and an error in the .ioc was never spotted as it is the LSB, but can somebody confirm this is the case?
Hi,in the latest cube (6.15) the STM32H573LI is not available, I can't start a project on this MCU.why is that? is there going to be a fix soon?
Hi,The ST25DV supports I2C speeds upto 1MHz, for which the datasheet has mentioned the rise and fall time using the RC time constant of <150ns according to I2C standards.We are using it at 100kHz only but there is no mention of rise and fall time for 100kHz ( acc to I2C standard it should be <1000ns), and the following point is mentioned in datasheet as attached.Does this mean that ST25DV supports only <150ns rise and fall time even if it used only at 100kHz?
How to develop STM32C091 series, use stlink V2 or stlink V3?
i have an old st92F150 that is defect. now i have an extra which is good so i wanted to upload the dump from the good one into an empty one. for this i need STVP9 software. is there a way you guys can help me get this? other link on this forum is expired or something.
I am using the stm32wb55rev6 for my ble project.I created a new project based on the custom template provided by the ST. I am not able to print the messages on the terminal using the APP_DEBUG function.I am not able to send the data from the app to the stm only notify and enable and disable characterstics are working.Is there any specific reasons for not working.should i need to add any extra functions.Thanks.
Hi! We are developing a sensitive device using the STM32WB55, using in the M0+ the concurrent Thread+Ble binary (we use the concurrent because we'll need both Ble and Thread in the near future, althought the most important role is the Thread communication, and is the only one we are using right now). Thread works fine, but after some hours on the field (not in lab), the M0+ gets stuck in some state where it no longer ack the commands from our app in M4. Reseting the whole device makes it functional again, but it is not an opcion in the field. We need a way of reseting the M0+ without touching the M4, in order to make it function again. The state in which the M0 wont respond is simply it wont ack any command anymore after a while. It is not consistent, it could happen after 4h or after 12h. It is not reproductible in the lab, it only happens on the field. So we need to implement a recovery for when it happens. Please any hint is welcome.
Hi, i'm looking for at least a pinout for the STDP6036 or STDP6038 Ic (128-pin PQFP) Triple input LCD controller for WSXGA+ and WUXGA applications
Hi! I'm confused about the wiring for some of the pins on the STM32H7S3I8T6: Does the full-speed USB connection require an external high speed oscillator?There's a GPIO that senses VBUS from USB called "OTG_FS_VBUS." Currently, we have it pulled up to VBUS so that it will read high when USB is connected. However when USB isn't connected, it is left floating. Would that be ok? Thank you so much for the help!
Hi,I want my slave device to be able to sniff packets destined for other slaves on the same bus. At the moment, communication management is based on HAL with interrupts, and I can see when the master sends requests to me because I enter the address match interrupt. I would like to take a step back and see where a wrong address is discarded, before answering with a NACK.I want my slave to be able to understand when the packets are intended for another slave with a specific address and from there monitor the communication to sniff the information.Is that possible?I can't find where an address that doesn't match mine is discarded. Thank you
Hi, there is this example for using the DAC with DMA for the NUCLEO-U575ZI:https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/NUCLEO-U575ZI-Q/Examples/DAC/DAC_SignalsGeneration_DMAIn the current V1.2.0 of file https://github.com/STMicroelectronics/STM32CubeU5/blob/main/Projects/NUCLEO-U575ZI-Q/Examples/DAC/DAC_SignalsGeneration_DMA/Src/linked_list.cin line 61 it says pNodeConfig.Init.Direction = DMA_PERIPH_TO_MEMORY;Shouldn't it be DMA_MEMORY_TO_PERIPH instead?Best wishes,Sebastian
I'm currently trying to configure a project based on an STM32U375CGUxQ, but I can only "choose" the LDO, even though the package clearly shows the SMPS pins:I'm using the STM32U3 package version 1.2.0, STM32CubeIDE 1.19.0, build 25607_20250703_0907. Are there any prerequisites to being able to use the SMPS, and if so, what are they? NB: There doesn't seem to be a "Power saving mode" under the PWR category:
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.