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,Hello, in our project we are using an STM32N6 MCU and an external flash from ISSI with this MCU. Datasheet of the flash's link in the below.https://www.issi.com/WW/pdf/25LX-WX032-064.pdfDuring debugging, we read the flash using standard commands, and the values we read appear as shown in the image.Everything works fine up to the code marked with the red box;however, when it reaches that point, we get an error. If we comment out the code marked with the red box, it works, but when we try to read using the cube programmer, we get a "read fail" error. What could be the issue?Also, is the ExtMem driver supports 1S-8D-8D?Best regards,Egemen Aksoy
When I change variables from live expression and other areas during Prohe debug, I get the error "Failed to read all registers from target" and unfortunately I couldn't find a solution. I am using the latest version of stm32cube 1.18.1. There was no such jata before! I am using Stm32f767zi processor. I tried with both st link v2 and isol version but this error is not resolved.
Hi, I'm having really a hard time setting up my ADCs to work with DMA using the STM32F429I-DISC1. My objective: have a clock source from a Timer at a given frequency as trigger to the ADCs, each ADC would then read a specific pin (let's say ADC1-> pin_x; ADC2->pin_y and ADC3->pin_z). Since nothing is working regardless of the configuration I set, I'm trying with very big time intervals to avoid busy bus and so on. So I've set the TIMER8 to have a period of 5s and tested it individually with the interrupt enabled to make sure it is triggering and having the correct interval. Now the idea is to trigger the ADCs to perform a few conversions of the pins in order to do some oversampling. Here is my ADCs configurations: The ADC3 is identical to ADC2. Timer8 Trigger Event Selection is set to "Update Event". Here is my main function: int main(void) { /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ /* MCU Configurati
Hi All,There is any problem if VBAT powered before VDD? (VBAT is another supply that feeds from Battery with LDO ) I deep dive all the datasheet and didn't find any reminder about it.
Hi everyone,I was exploring the VENC_SDCard example from STM32CubeN6 v1.2.0, and I was successfully able to record and store video to the SD card after making a few necessary changes mentioned here.Now, I want to record and store the video in grayscale format. After modifying the MX_DCMIPP_Init() function in main.c and the BSP_LCD_InitEx() function in stm32n6570_discovery_led.c, I can correctly see the grayscale video output on the display.However, when I try to record this grayscale stream, the resulting video is distorted.(Attached it)Upon debugging, I suspect the issue originates from the following line in encoder_prepare():preproc_cfg.inputType = H264ENC_RGB565;The inputType is still set to RGB, and after checking the h264encapi.h header file, I found the following enum for H264EncPictureType on line 159: typedef enum { H264ENC_YUV420_PLANAR = 0, /**< YYYY... UUUU... VVVV... */ H264ENC_YUV420_SEMIPLANAR, /**< YYYY... UVUVUV... */ H264ENC_YUV420_SEMIPLANAR_VU, /
Hello,I downloaded stm32cubeIDE 2.0 + stm32cubeMX but I'm having problem in auto complete function in main.cI tried https://community.st.com/t5/stm32cubeide-mcus/stm32cubeide-auto-complete-ctrl-space-is-not-working/td-p/342759but Parsing-based Proposalsare enabled
Hello, Is there any application like Power Consumption Calculator (PCC, which is embedded inside the STM32CubeIDE) for SPC5 microcontroller Family?I am using SPC58xCx and SPC58xBx lines and need the current consumption data for microcontroller core, peripherals, and I/Os.Best regards.
I am not able to discover the error It should work but i do not have any pulse on PB6 CPU STM332F103C8T6 ide PlatformIO #include <Arduino.h> void setup() { RCC->APB2ENR |= RCC_APB2ENR_IOPBEN; // Enable GPIOB clock RCC->APB1ENR |= RCC_APB1ENR_TIM4EN; // Enable TIM4 clock RCC->APB2ENR |= RCC_APB2ENR_AFIOEN; // Enable Alternate Function clock GPIOB->CRL |= (0b0011 << (4 * 6)); // Set PB6 as Alternate function output Push-pull (TIM4_CH1) TIM4->CR1 = TIM_CR1_CEN |TIM_CR1_ARPE; // Enable counter and auto-reload preload TIM4->CR2 = 0; TIM4->SMCR = 0; // No slave mode TIM4->DIER = 0; // No interrupts TIM4->EGR = 0; // No event generation TIM4->CCMR1 = (0b110 << 4 ) | TIM_CCMR1_OC1PE; // PWM mode 1, preload enable TIM4->CCMR2 = 0; TIM4->CCER = TIM_CCER_CC1E ; // Enable output on channel 1 TIM4->PSC = 71; // Set prescaler to have 1MHz timer
Dear ST Community Members,I have built a 7KW three-phase interleaved totem pole PFC circuit (based on the schematic of STEVAL-7BIDIRCB, retaining only the PFC section). The firmware was generated using ST eDesignSuite's "FW download" tool. Before power-up, I verified the ADC readings for input voltage/current and output voltage/current sampling, all of which matched the calculated values.Current Observations:Scenario A:Apply 230V/50Hz AC power first → Power on the STM32G474 MCUResult: Output stabilizes at 325V (rectified voltage), control board yellow LED lights up, and can't start.Scenario B:Power on the STM32G474 MCU first → Apply 230V/50Hz AC powerResult: Output rises from 0V to 230V, holds for ~300ms, then the circuit breaker trips.Additional Notes:Tripping device: Schneider Electric C16 30mA RCCB (Residual Current Circuit Breaker)No components on the PFC board show visible damageCould anyone kindly advise on potential root causes for these behaviors? Any insights or suggestions wo
I use the STEVAL-MKBOXPRO and I updated the board with the data recorder thanks to the expert view. I added the bluetooth stream output and I can see all the sensors on the IOs application. But I don't record any data on the SD card. The file is created and I see the header with all the sensors, but there is no data. The defaultAppPro is available on the card. I use the card provided by ST with the eval kit. What is wrong in my set up if I cannot record sensor data?
In the setupscreen function:Screen1ViewBase::setupScreen(); digitalHours = digitalClock1.getCurrentHour(); digitalMinutes = digitalClock1.getCurrentMinute(); digitalSeconds = digitalClock1.getCurrentSecond();and in the handletickeventScreen1View::tickCounter++; if (tickCounter % 60 == 0) { if (++digitalSeconds >= 60) { digitalSeconds = 0; if (++digitalMinutes >= 60) { digitalMinutes = 0; if (++digitalHours >= 24) { digitalHours = 0; } } } // Update the clocks digitalClock1.setTime24Hour(digitalHours, digitalMinutes, digitalSeconds);But as shown below the time is the initial value (current time was 22:47) how can we fix it.
one box in the screen, then create a button on box, meant to change the color of box, when button pressed; simulator -> OK; but download to board, running denormal , when button pressed, finger off, button not release, still pressed state, why? (use STM32F429I_DISCO BOARD CUBEIDE)
Reply to you How to fix SDIO error HAL_SD_ERROR_RX_OVERRUN? - STMicroelectronics Community SDIO data region should be AXI SRAM.
Hello,Im trying to use the stedgeai generate command and want to move the data that gets located in the octoflash which seems to default to name=octoFlash offset=0x71000000 at times. Id like to relocate it at another position in the octoflash because i need to run several models. I tried adding the following that I found in an example and the output does not change at all from running it with the following options or not:--binary --address 0x810000or --binary --address 0x810000 --copy-weights-at 0xD0000000I found these examples via a search but as I said they dont seem to change the output.What am i doing wrong, I would like to change the default 0x71000000 to say something like 0x73000000, how can i accomplish this? I also tried to just change that in the network.c file, that didnt go well, just locked up the project at run time. Thanks
Hello STMicroelectronics Community,I’m excited to engage with this platform and explore the wealth of resources available here. STMicroelectronics has long been at the forefront of innovation in semiconductors and embedded systems, and this community is a great space to exchange knowledge, ask questions, and collaborate with experts.From product forums and knowledge bases to learning materials and developer news, the community provides essential tools for both beginners and experienced professionals. I’m particularly interested in exploring:Latest product updates and development toolsBest practices shared in the knowledge base and FAQsLearning opportunities for embedded systems, IoT, and microcontrollersNetworking and collaboration with other developersLooking forward to contributing to discussions, sharing insights, and learning from the expertise within this community.Thank you for maintaining such a valuable resource for developers and tech enthusiasts!
Respected Sir/ Madam, AS i'm using LORA-E5(stm32wle5jc) module communicating point to point Radio Frequency and AT Command also. We are config SubGHz for Radio Send and Receive Functions in Loop Mode . No Response received from this. By using AT command we need to flash any Binary Files? How to Communicate P2P Two Lora-E5 module. Thanks,
Hi techs, I have a problem with the LoRa configuration with the LoRa-E5 Development Kit. How to do the Pin configuration for the LoRa point to point communication. I have tried multiple ways to do but the communication is not happening, and I also tried the PA4 = 0 and PA5 = 1 pins are in Tx mode. I have used the CubeMX for HAL code generation. Can anyone tell how to do?
Hi Team,As we are going to use RAM – IC CY62136EV30 (TSOP-44) in our new project with ST micro STM32F407ZG (LQFP-144).Do we need any impedance matching for 6-layer board?Can you please suggest the same. Crystal frequency we taken 16MHz for the MCU.Thanks.Regards,Ashutosh
System OverviewHardware ConfigurationMicrocontroller: STM32H7S3L8H6Memory ArchitectureXSPI1 (Flash, MX25UW25645GXDI00): 32MB, accessed via GPIOP/GPIOOClock: PLL2S source, Prescaler = 3flash_xspi_handle.Instance = config->instance; flash_xspi_handle.Init.FifoThresholdByte = 1; flash_xspi_handle.Init.MemoryMode = HAL_XSPI_SINGLE_MEM; flash_xspi_handle.Init.MemoryType = HAL_XSPI_MEMTYPE_MACRONIX; flash_xspi_handle.Init.MemorySize = HAL_XSPI_SIZE_256MB; flash_xspi_handle.Init.ChipSelectHighTimeCycle = 2; flash_xspi_handle.Init.FreeRunningClock = HAL_XSPI_FREERUNCLK_DISABLE; flash_xspi_handle.Init.ClockMode = HAL_XSPI_CLOCK_MODE_0; flash_xspi_handle.Init.WrapSize = HAL_XSPI_WRAP_NOT_SUPPORTED; flash_xspi_handle.Init.ClockPrescaler = 3; flash_xspi_handle.Init.SampleShifting = HAL_XSPI_SAMPLE_SHIFT_NONE; flash_xspi_handle.Init.DelayHoldQuarterCycle = HAL_XSPI_DHQC_ENABLE; flash_xspi_handle.Init.ChipSelectBoundary = HAL_XSPI_BONDARYOF_NONE; flash_xspi_handle.Init.MaxTran = 0; flash_xsp
Hello, Is it possible someone to help how to generate 6 PWM signals with STM32H753ZI. They should be diphase on 60 degrees, im trying to reach 50 khz on each output at least. How to do it, please help me.Thank you in advance.Best Regards,
Please consider adding 5V tolerant pin mark to STM32CubeMX pin configurator.This would be very usable during pin configuration.
I am trying to follow the steps from the community link below and I get an unusual messingabout "missing natures" (see paste below) when I try to open projects from file system. I tried changingmy workspace location, but still get this message most of the time. Other FAEs are seeing this issue as well. Any idea what causes this? The suggestion solution is to install software that I have never heard about before. Any guidance would be appreciated. Thanks, Sonya https://community.st.com/t5/stm32-mcus/how-to-debug-stm32n6-using-stm32cubeide/ta-p/800547
I have problem that most headers are not visible so a lot of dependent problems occured.All files are present - the same project compoiled in STM32CubeIDE works.There is note that "clang(pp_file_not_found)"Tried to add paths in CMakeLists.txt but no luck.
Hi,I'm trying to set launch.json to use SWO. I can do it with cortex-debug, but what about the stlinkgdbtarget?{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "stlinkgdbtarget", "request": "launch", "name": "STM32Cube: STM32 Launch ST-Link GDB Server", "origin": "snippet", "cwd": "${workspaceFolder}", "preBuild": "${command:st-stm32-ide-debug-launch.build}", "runEntry": "main", "imagesAndSymbols": [ { "imageFileName": "${command:st-stm32-ide-debug-launch.get-projects-binary-from-context1}" } ], "swoConfig": { "enabled": true, "cpuFrequency": 170000000, "swoFrequency": 2000000, "source": "probe", "decoders": [ { "label": "ITM Port 0", "type": "console", "port": 0, "encoding": "ascii" } ] }, } ] } But it shows syntax error:"Property swoConfig is not a
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.