STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

USART IDLE Line Interrupt

I have an idle interrupt, on usart2 handle;void USART2_IRQHandler(void)   {   /* USER CODE BEGIN USART2_IRQn 0 */   /* UART IDLE Interrupt */   if(__HAL_UART_GET_FLAG(&huart2, UART_FLAG_IDLE) == SET)   {   __HAL_UART_CLEAR_IDLEFLAG(&hu...

DCtech by Associate II
  • 3438 Views
  • 11 replies
  • 0 kudos

Interrupt Latency Measurement

Hello,I have three interrupts,One from EXTI4, which has NVIC_IRQChannelPreemptionPriority = 0One from EXTI9_5 which has NVIC_IRQChannelPreemptionPriority = 1One from TIM4 which has NVIC_IRQChannelPreemptionPriority = 2For testing purposes, EXTI4 and ...

JTone.1 by Associate
  • 860 Views
  • 2 replies
  • 0 kudos

DMA - Normal vs Circular

Hello, what's the difference between the "Normal" and "Circular" modes of the STM32 DMA ?As far as I understand - "Circular" will write to the first address, auto increment the address to the next one until the last address is reached and then return...

skon.1 by Senior
  • 15361 Views
  • 5 replies
  • 3 kudos

Hello, I am using stm32f407vgt6 that supports fsmc, I need to extend the RAM; is it possible to interface hyperbus RAM chips using the FSMC? if not what are the possible alternatives? kinly note stm32f407vgt does not support QSPI.

Hyperbus RAMs requires 12 pins for implementation and offer decent speed. I have already 16 spare pins for the data/address and 10 other pins for fsmc handshaking. have any one tested this option before? is this easily implemented using HAL library o...

JAbde.1 by Associate
  • 279 Views
  • 0 replies
  • 0 kudos

Sharing flash sector when using dual-bank mode.

Hi,I'm using the flash in a dual-bank mode. I would like to have a common (shared) sector between the 2 banks for storing configuration data. This becomes somewhat tricky when addresses are shifting according to the active bank. How should I go about...

Eitan by Associate
  • 482 Views
  • 1 replies
  • 0 kudos

What's the macro for NUCLEO-G474RE?

I tried this tutorial - https://www.carminenoviello.com/2015/06/04/stm32-applications-eclipse-gcc-stcube/ - Build STM32 applications with Eclipse, GCC and STM32Cube. In the last,it was said:we have to declare which MCU we are using defining a global ...

MQi.1 by Senior II
  • 524 Views
  • 1 replies
  • 0 kudos

Resolved! Encoder Mode Counter value is missing in every revolution?

Hi, I am using STM32F407 for my PMSM vector control project. And i need to determine the current position of motor for vector control. So I use TIM3 Encoder MODE (x4) and ı have 360 PPR (pulse per revolution) encoder. I set the ARR value 1439 (4*36...

UART RX

Hi there!Here i'm with another question about UART. I know i have a tree mode for receive data from uart 1) Polling 2) Interrupt3) DMAi know the difference , but i'm soo confiuse about :Example : I work with interrupt where i put this declaration HA...

SGian.1 by Senior
  • 657 Views
  • 6 replies
  • 0 kudos