Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi. There is a task of displaying the menu, data input-output, editing from the terminal. I use stm32h743 communication via com port. Looked closely at the "ncurses" library, the problem with porting it to the project. I have no operating system. The...
MCU: STM32F072, clock: 48MUART BR: 115200, clock: 48Mapplication: receive 20 bytes per secondissue: overrun happens sometimes, maybe after 3 hours or 1 day.I think the clock is fast enough to handle the slow application, but overrun happens sometimes...
I'm using HAL_UART_Receive to receive 8 bytes from a Nextion screen. The baurate is 9600, so the response takes ~10ms.If I set the timeout around 50ms, the response is not read properly. If I increase the timeout to 300ms, then all works fine.I don't...
Hello,I am using STM32F469 with an external SDRAM (Alliance AS4C16M16MSA-6BIN) through FMC bus. Both STM32F469 and AS4C16M16MSA-6BIN run at 1.8V. The FMC bus is configured with 13 address pins and 16 data pins as follows: hsdram1.Instance = FMC_SDRAM...
https://community.st.com/s/ideazone#0873W000000PAyzQAGThanks,JW
Hello everybody:i'm trying to implement modbus function on mcu(stm32F4)my structure as followingi receive data from usart6 by HAL_UART_Receive_DMA function(circular mode)it's work when just only one MCU edge. but if two mcu edge (two modbus slave),...
I don't use CubeMX - I write to all the SPI registers directly.STM32F030C8I have SPI1->CR2->DS set as 7 (8 bit data transmit) but the CPU is transmitting 16 bits for each write to the SPI1->DR register.I verify this using a logic analyzer.I can't fin...
Hi,I am using the stm32L100RBT6 and I have successfully implemented the stop mode.I have chosen to wake up the µC from stop mode either by RTC or by an external interrupt.Before I put the µC in stop mode, I set all the pins to analog to save power an...
#include "stm32f4xx_hal.h" static UART_HandleTypeDef UartHandle; void Setup( void ) { GPIO_InitTypeDef GPIO_InitStruct; /* STM32F4xx HAL library initialization: - Configure the Flash prefetch, instruction and Data caches - ...