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,In STM32H742xI/G datasheet (DS12110 Rev 8), the SRAM3 memory block is not specified in the "Table 7. Flash memory and SRAM memory mapping" but I can see the availability of the SRAM3 in the generated .map file.Can someone please confirm, it is typo mistake in datasheet or really not available for STM32H742xI/G? Thanks
Hi We are using an STM32U073CCT6 on a battery-powered board. We need to put the processor in low-power mode to increase battery life. The current in STOP MODE 2 is about 20uA. To address some issue related to the power supply and our hardware, we put the processor in Shutdown Mode and obtained a current of 2uA. How could we reduce the consumption in STOP2 mode? We have already deinitialized all peripherals before entering stop mode 2. BRGilberto
Actually i tried to upload a custom frimware as per tutorial given in the Lora e5 mini documentation everything is going fine but when it came to changing the RDP level from BB to AA in the post i just changed the level fro BB to AA and clicked apply after changes the module got disconnected and that is the first and last time my board connected to my cube programmer after that i can't connect my lora e5 mini to my cube i tried every method by under reset option and one thing i cannot access the boot0 pin in this board so i cant try this method if any one faced this problem and solved it can you give me solution for this problem
Dear , Would you teach me how to set SPC582B DSPI 40bit data frame? I use the SPC5Studio-6.0.0-Doyle, you can see my attached picture.The biggest setting of SPI frame is 32 bits. but the data sheet says "programmable serial frame size of 4 to 64 bits, expandable by software control"Would you teach me how to set SPI frame 40bit?
Hi,I’m working on a camera project and I would like to use the MT9M001 sensor if possible.My goal is to capture the camera image with STM32 and display it on a small TFT monitor (for example an ILI9341 or similar).I need a microcontroller board + display combination that:works well with the MT9M001 (parallel DCMI interface, XCLK 20–24 MHz),can use DCMI for the camera and an LCD interface (LTDC or SPI/8080 interface) at the same time without pin conflicts,has existing examples or documentation,and can be brought up within about two weeks.This time I’m in a situation where I cannot afford failures or dead ends, so I’m looking for a proven, reliable combination rather than experimenting with uncertain setups.I first tried the STM32F429I-DISCO1, but the LTDC pins for the onboard LCD conflict with several DCMI pins (PA4, PA6, PC6, etc.), so using its display together with the camera was not possible.(I'm now continuing to use this board only for “camera → PC display”, but not for LCD output
In our application we use the STPM801 as a switch and fuse. The fuse characteristic is, by default, very linear (except some filter/blanking times). Is it possible to give the fuse a I2t characteristic like old fashioned fuses/thermal fuses?I did experiment with a 1st order RC filter between the shunt resistor and the Sense and Out pins. Unfortunately doesn't work. With the resistor in the sense-track an over current error is detected and with the resistor in the out-track an ORING VDS error is detected.Is there any possibility to have a I2t characteristic available with the STPM801?(Detailed measurements are available.) regards, Johannis
as the image, after code generate in MX, instances chooser UI's graphic resolution is broken. I cannot choose any botton and projects. please solve it.
I wanted to inspect the memory using the built-in Memory View window in VS Code, but the option is unavailable even though the debugging is on at that time, and it says "Add a new view using the plus button in the Toolbar with the debugger paused. Supported debuggers: cspy, cortex-debug, cppdbg."Is this a limitation of the current ST-Link GDB debugger in STM32 VS Code extension version?
STM32H7S78 Software:TouchGFX Designer + STM32CubeMX + STM32CubeIDEProblems observed:- Screen flickers randomly especially during screen transitions.- UI text disappears or becomes invisible after returning to a screen.- Mixed or corrupted screens — elements from previous screen appear on the next one.- Sometimes partial or outdated frame buffer content is displayed.These issues occur consistently when navigating between screens, I attached video for your reference. TouchGFX Environment:- LTDC enabled, RGB interface, external display 7” TFT- TouchGFX task priority: Normal- TouchGFX task stack size: 4096 bytes- Running under FreeRTOSWhat I have already tried:- I have tested the following but issue still persists:- Increased TouchGFX task stack (4096 → 8192)- Ensured LTDC clocks are correct- Ensured invalidate() is called after UI updatesLooking forward to your further guidance.Best regards,Mehul Rana
Hello there, I'm playing with the NUCLEO-H743ZI2 board and having difficultis with PTP. When TSIE (MACIER is set the interrupt is getting retriggered endlessly. I've tried to clear TSIS by reading both MACISR as well as MACTSSR (TXTSSIS bit set). The manual states this is a way to achieve this, but neither register is cleared. BTW, the alternate way (MACCSRSWCR) semes not being supported altho I've tried that as well. Just at the interrupt entry: macisr = ETH->MACISR; // 0x1000 mactssr = ETH->MACTSSR; // 0x8000 macisr2 = ETH->MACISR; // 0x1000 mactssr2 = ETH->MACTSSR; // 0x8000 macisr3 = ETH->MACISR; // 0x1000 Where am I doing the wrong thing? Thank you for any input.The ST Community moderator has edited the post to comply with the code sharing guidelines. In the future, use the </> button to paste code and linker script content. For more information, see: How to insert source code.
Hi everyone,I’m working with the STM32WB05KZ using the BLE RC Peripheral example from STM32CubeMX.I added a push button on PA1 and an LED on PA0.My goal:Read PA1 button stateTurn ON LED on PA0 when button is pressedSend BLE notification to the central deviceContinuously print PA1 state every 1 second on the serial monitorHere is the code snippet:APP_DBG_MSG("SW1 OK\n"); uint32_t lastPrint = 0; // Print every 1 second if ((HAL_GetTick() - lastPrint) >= 1000) { lastPrint = HAL_GetTick(); uint8_t state = HAL_GPIO_ReadPin(GPIOA, GPIO_PIN_1); APP_DBG_MSG("PA1 State = %d\n", state); } while (1) { // Needed for BLE MX_APPE_Process(); } The output I get is:aci_gap_configure_filter_accept_and_resolving_list command ==>> End BLE_Init function Services and Characteristics creation Success: aci_gatt_srv_add_service command: RC_LR_Periph End of Services and Characteristics creation Success: aci_hal_set_radio_activity_mask command==>> Success: aci_gap_set_adver
HI all i have been working with LTDC to drive an external RGB parallel display . i made it working by placing the framebuffer inside internal RAM . i got output with good update speed. but when i try to incoperate FREERTOS with this project the output is gone . any one encountered such issues like this , any solution for this now? ;)
Hi i am struggling to make SPI work on my nucleo-h723z board. I am using Cubemx to configure and i press when asked to used the default setup for the nucleo board when creating the project.CubeIDE is v. 1.15.1CubeMX is v. 1.11.1my code is very basic: while (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ uint8_t address = 0x80; HAL_SPI_Transmit(&hspi4, &address, 1, 100); HAL_Delay(1000); }I have put a logic analyzer on the clock, MOSI and MISO, but no matter what, I can only see the clock signal. SPI in cubeMX is: Any suggestions?Friendly Regards, David
Hello All, Attached is the snapshot taken using logic analyser on PWM & Hall Effect TTL Signals. Trying with 446 & IHM08M1 – Open Loop.D0 – PWM1 & D1 – PWM1 ND2 – PWM2 & D3 – PWM2 ND4 – PWM3 & D5 – PWM3 ND6 – Hall Effect UD7 – Hall Effect VA0 – Hall Effect W (No extra digital channel, using the analog channel as digtal).Practical Explanation Required at each cycle.D6 rising edge makes PWM1 & PWM1N to operate until D3 rising edge –which winding is energised?Like this, explanation required for 1 full cycle wrt to Phase Energising.
Post edited by ST moderator to be inline with the community rules for the code sharing. In next time please use </> button to paste your code and a linker script content. Please read this post: How to insert source code.i, I am using STM32C092CCT6 with FDCAN.I transmit one CAN frame every 100 ms (even tried 50 ms).But on the receiver side, I always receive frames only every ~497 ms.It looks like something is delaying or buffering the frames.What I want to know:Which FDCAN settings could cause the frames to appear only every ~497 ms?My problem summary:Tx interval configured: 100 ms → Rx sees ~497 msTx interval configured: 50 ms → Rx still ~497 msSo the transmit timing is not coming out correctly.Request:Please check if anything is wrong with my FDCAN configuration (below)./** * @brief FDCAN1 Initialization Function * None * @retval None */ static void MX_FDCAN1_Init(void) { /* USER CODE BEGIN FDCAN1_Init 0 */ /* USER CODE END FDCAN1_Init 0 */ /* USER CODE BEGIN FDCAN1_Init 1 */
I've attempted to get an interrupt when one of the three CAN transmit mailboxes empties. In MX:It generated: /* CAN interrupt Init */ HAL_NVIC_SetPriority(CAN_TX_IRQn, 0, 0); HAL_NVIC_EnableIRQ(CAN_TX_IRQn); HAL_NVIC_SetPriority(CAN_RX0_IRQn, 0, 0); HAL_NVIC_EnableIRQ(CAN_RX0_IRQn); HAL_NVIC_SetPriority(CAN_RX1_IRQn, 0, 0); HAL_NVIC_EnableIRQ(CAN_RX1_IRQn); HAL_NVIC_SetPriority(CAN_SCE_IRQn, 0, 0); HAL_NVIC_EnableIRQ(CAN_SCE_IRQn); I am using the HAL method HAL_CAN_AddTxMessage. This method seems to be working because I see CAN data on the wire. However, I never get an interrupt. I have a breakpoint on this function:void CAN_TX_IRQHandler(void) { /* USER CODE BEGIN CAN_TX_IRQn 0 */ /* USER CODE END CAN_TX_IRQn 0 */ HAL_CAN_IRQHandler(&hcan); /* USER CODE BEGIN CAN_TX_IRQn 1 */ /* USER CODE END CAN_TX_IRQn 1 */ } and it never gets there. Why might this be?
Hi,I'm trying to implement a simple tickless idle on my STM32H7 running on the CM7 core i use TIM1 for TimeBase.I followed the example from this video:https://www.youtube.com/watch?v=hVlpf1Rm4QoMy question is how it works, because the default implementation in FreeRTOSConfig.h is:Why is time to sleep set to __x__ = 0; ???#if configUSE_TICKLESS_IDLE == 1 #define configPRE_SLEEP_PROCESSING(__x__) \ do { \ __x__ = 0; \ PreSleepProcessing(__x__); \ }while(0) #define configPOST_SLEEP_PROCESSING PostSleepProcessingWith this implementation and my PreSleepProcessing and PostSleepProcessing functions I use an LPTIM to wake up (similar to the video):__weak void PreSleepProcessing(uint32_t ulExpectedIdleTime) { /* place for user code */ HAL_GPIO_WritePin(LED_1_GPIO_Port, LED_1_Pin, GPIO_PIN_SET); //HAL_TIM_Base_Stop_IT(&htim1); HAL_SuspendTick(); // suspend SysTick timer HAL_LPTIM_TimeOut_Start_IT(&hlptim1, 0xFFFF, ulExpectedIdleTime); // enable interrupt from low-power tim
Hello,Is it possible to purchase an the IAR Workbench For ARM for an individual or does the the IAR Systems only cooperate with legal entities?
Hi,Vous avez dit :I’m using the STM32H753ZIT6 in my design and I’m looking for clarification on the correct way to connect the VCAP pins. Since the LQFP144 package does not support the VDDLDO pin, what is the recommended capacitor configuration for VCAP?Should I use 2 × 100 nF capacitors to GND, or 2 × 2.2 µF to GND?Additionally, if there is no VDDLDO pin available on this package, how does the VCORE receive its internal supply voltage? Is there an internal voltage regulator that is powered directly from VDD?Thanks in advance for the guidance!
Need getting-started help with STM32C011J6M6 MCU and USART1 in single-wire Async mode (using STM32Cube toolchain and C language.)The hardware configuration is just the STM32C011J6M6 MCU (8-pin SOIC package) with one pin (pin 1) pulled up (4.7K to 3.3V). Intent is to use this in single-wire Async mode to communicate with outside world. All other MCU pins have similar pull-up resistors but are not otherwise connected. Power to the MCU for this test is furnished by the STLINK device. The test is using programmed I/O (no DMA, no interrupts.) The test program solely is written to experiment with the USART1 in single-wire mode on this device; there are no other aspects being tested or included. Tools in use:IDE 1.19.0MX 6.15.0PROG 2.10.0 Used STM32CubeMX to generate code template (targeting STM32CubeIDE), STM32CubeIDE to build the example (C-language) program, and STM32CubeProgrammer to push the resulting (elf) binary to the device using STLINK attached to the&nbs
Hi all, My goal is to develop a personal STM32 + TouchGFX project.I’m reaching out to you because I’ve gone through all the tutorials, YouTube videos, GitHub repositories, ChatGPT, etc., without finding a solution.I followed the tutorial ''https://www.youtube.com/watch?v=__wggrTcx_0''. It works at the end of the video,but when I reproduced it step by step exactly as shown, the result was a white screen. Let me explain:Here is my project: STM32F429I + SDRAM + FLASH N25W128 + RIVERDI RGB888 LCD with framebuffer management.My STM versions: CubeIDE 2.0 - CubeMX 6.15 - TouchGFX Designer 4.26. ST recommends starting a project with TouchGFX Designer.But since my project is custom,TouchGFX Designer does not offer a “custom” template. So how do I start my project? I therefore started with CubeMX, but after integrating TouchGFX into IDE with a background image (TouchGFX),the screen remains white. So I’m looking for a step-by-step method to successfully complete my project, namely, as a first st
Hi;I am trying to dial in a PID controller, and my values are small (0-1 range). The Chart widget seems to want to always set its Y axis bounds to [-10, 10], which makes it hard for me to see what's going on in realtime. I have to make an adjustment, then pause the acquisition to scroll way in to see what happened. Is there a way for me to manually specify the Y axis scale and have it stay persistent?
Hai All, New to the workbench software. Able to set the required parameters - STM32F446RE & IHM08M1. Getting stuck in the final path - CubeMx & IDE. But I am having the latest updated one. Kindly help me where I am missing.Jayaraj.A
Hello ST communityWhat voltage margin would you suggest if using the motor STSPIN32G0A2 controller IC ? The supply voltage of the IC is rated from 15-45V. Is it safe to supply it with 36V and connect a BLDC motor to it? I am scared that the IC may be damaged due to voltage transients. This question may sound a bit silly, but I need some opinions.The motor is a 150W maxon EC 60 flat type, and the product is intended for the consumer industry. A gear with a ratio of 1:26 is connected and the motor and it is used to propel a machine (size of a vacuum cleaner) that is moving with a constant speed on the ground. The power supply is a mean well RPS-300-36-C type and the PCB also features a bulk capacitor of 2200 uF. The schematic and layout is similar to the STEVAL SPIN3202.Thank you for sharing your opinions.
Hello.I got a STM32U599J-DK engineering sample from the ST official warehouse (don't ask me how I get this cuz I don't know either).MB1829-U599 NJQ-B01A223400084I searched the st.com and was unable to locate its resources.(user manual, datasheet, data brief, OBD binary).I wonder if any ST employee got these resources and send them to me if you please as I wish to reuse this board to it's full extent.Or, are its resources compatible with the STM32U5A9J-DK's? If so, please send me an original OBD demo of the STM32U599J-DK if available.Thanks in advance.
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.