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
a F407 developer board in hand, it don't fit to touchGFX project, No OS, think to use DMA rise color data send speed,color data in external sram be to send LCD interface, a lots of trying, lost! DMA poll amd interrupt mode had test!for guiding
Hello,We have designed a custom board based on the STM32MP157F-DK2 platform.The design uses the STM32MP157FAC MPU and includes the following peripherals:MicroSD (SDMMC)STPMIC1 PMICDDR3L memoryEthernetUART4 for console My power sequencing, PMIC wiring, and clock architecture are identical to the DK2 reference schematics.All voltage rails appear stable except the DDR rails, and SDMMC signals look correct during boot.However, when I try to boot from the SD card and monitor UART4, I only receive the following messages:PANIC at PC : 0x2ffeada7Exception mode = 0x00000016 at : 0x2ffeada7There is nothing else printed afterward. From the Cortex-A7 exception codes, 0x16 indicates an Undefined Instruction exception, and the address 0x2FFEADA7 lies inside the SYSRAM area. This suggests the crash happens very early, likely during TF-A execution.My problem is that the MPU never seems to wake up properly, and I cannot identify the exact origin of the failure.I would appreciate guidance on w
I am currently working with the Yocto BSP/meta-layer you provide for the Odyssey STM32MP157C board. I am trying to include the following packages in my image:CORE_IMAGE_EXTRA_INSTALL += "kernel-modules"CORE_IMAGE_EXTRA_INSTALL += "kernel-devsrc"CORE_IMAGE_EXTRA_INSTALL += "kernel-dev"However, these packages are not being recognized or supported in the meta-layer provided. The build either fails or reports that these packages do not exist. I would like to understand whether these components are intentionally excluded from your BSP or if there is an additional layer, configuration, or package feed that I need to enable to use them.I built the image using the github documentation in this link https://github.com/Seeed-Studio/meta-st-odyssey .Could you please guide me on how to properly include kernel modules, development sources, and kernel headers/dev packages in the image for this platform?Any help or documentation reference would be greatly appreciated.
Hello,I developed a product,but customer wants that if no touch detected in 10 seconds the device will go in home page. I believe that the only way is to manage STM32TouchController.cpp in the point I have higlighted Is it the best way ?Thankyou for your patience.
Hi, We are planning to use PSRAM chip apmemory (APS12808L-3OBM) with STM32U575QII6. Please check pin assignment from STM32 to PSRAM chip And also please share the schematic and layout guidelines for STM32U575QII6 OCTASPI to PSRAM chip integration. And general layout guidelines. Thanks.
I'm using an STM32H725 to communicate with an i2c sensor. I'm using the I2C4 bus with the HAL DMA functions. I also enabled the BDMA channels for the rx and tx and respective interrupts. The problem is that the complete rx/tx callbacks are not triggered. I found that this could be related to the problem described here: https://st.my.site.com/community/s/article/FAQ-DMA-is-not-working-on-STM32H7-devicesAny solutions to this problem?
i use STM32N6570-DK to do a simple project but i cannot get any useful info via printf() on SWVITM data console. (1) I add some code in systemcall.c for printf() on SWVITM data console or UART1 via a "define" in my main.c. (AS many professionals suggested on the net) Now i can get info correctly by using uart but not the SWVITM. (2) I also choose SWD under DEBUG in .ioc config. Three wires are used. SWO is populated.(2) when i use SWV ITM data console, the display is just messy symbols. AI told me that it is either due to the wrong Baud rate or wrong encoding. The default is UTF-8. I tried different Baud rates and coding standards. No one works. The same messy display (3) I have watched a few youtube clips and followed their methods. No one works either. Has anyone got the correct display of printf () in SWV ITM data console ON THIS STM32N6570-DK?Thanks a lot in advance!
Now I want to know whether the STM32C011J6Px has a Low-Power Timer (LPTIM).Currently, we are planning to use the STM32C011F6P6 MCU in STOP Mode 2. Since we do not have any external pin interrupt available as a wakeup source, we are planning to use the LPTIM to wake up the system every 1 ms, read one analog value, and then go back to deep sleep again.I checked the datasheet and found the following list of timers for this series. Can you please confirm whether this is correct, or let me know if I am missing anything?TIM1 – Advanced-control 16-bitTIM3 – General-purpose 16-bitTIM14 – General-purpose 16-bitTIM16 – General-purpose 16-bitTIM17 – General-purpose 16-bitIWDG – Independent WatchdogWWDG – Window WatchdogSysTick – System Timer
Hi, I am using STM32H743ZI Nucleo 144 board for one of my application. As per the observations I got the utilization factor with STM32H743 is 35% where as with STM32H752 it was 60%. We have not initialized any crypto or secure features on STM32H753 but still i can see drastic change in the utilization factor. Have you observed this before? Any suggestions to check?
I want to stop generating a PWM signal after 22 clock edges. It seems like the TIMx_RCR register (repetition counter register) should work for this. My code started from the CubeMX generated code but I have had to remove a lot of it for performance reasons. I am running an STM32H523 with a SYSCLK of 250MHz. The PWM is about 650 KHz so I need to disable the output about 33 us after I start it. That timing is a little tight to do with an interrupt counting down from 22 to zero; however, that seems to be exactly what the TIMx_RCR register does in hardware. My current code uses the HAL_TIM_PWM_PulseFinishedCallback() function but it seems that it is being called for every pulse, not every 22 pulses. Does anyone have some pointers or code examples for how to setup TIM1 on an STM32H523? I am using STM32CubeIDE v 1.19.0 (because 2.0.0 broke my build).
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 */
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.