STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F407VG - Input capture, DMA(mem-peri) Configuration.

Im working with STM32F4 DISCOVERY board. I'm trying to generate DMA request to write to GPIOD[15:8] pins on button press (PA0) by input capture timer configuration (TIM2) .I presume my configuration of timer is wrong, because i used very similar DMA ...

DMich.1 by Associate
  • 347 Views
  • 0 replies
  • 0 kudos

Resolved! Wakeup from standby falling edge

Hello, i'm working with stm32l412cb on custom PCB, and I ran into trouble.Is there any way to wake up MCU from standby by falling edge? Here is scheme and code:void enter_sleep() { HAL_EnableDBGStandbyMode(); //HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13,...

0693W000003BWPCQA4.png 0693W000003BWZqQAO.png
makavity by Associate II
  • 1140 Views
  • 2 replies
  • 0 kudos

HAL_SPI_Receive() issues, more than 1-byte SCLK

Dear all,I have been trying to read ADC value from an ADC chip (TI ADC161S626) through SPI receive only master (The STM32 used were STM32F103C8T6). However, I realised when I request to read one byte with HAL_SPI_Receive() function, there are more th...

0693W000003BWQPQA4.jpg
YChen.41 by Associate
  • 1290 Views
  • 3 replies
  • 0 kudos

Hi all, I am trying to get the USART1 working with STM32F072VB micro (only USART-1 and no other peripheral). At CubeMX, I have seleted PA9 and PA10 as the GPIO pins configured for USART-1 and have selected the NVIC option at USART configuration at CubeMX.

huart1.Instance = USART1; huart1.Init.BaudRate = 9600; huart1.Init.WordLength = UART_WORDLENGTH_8B; huart1.Init.StopBits = UART_STOPBITS_1; huart1.Init.Parity = UART_PARITY_NONE; huart1.Init.Mode = UART_MODE_TX_RX; huart1.Init.HwFlowCtl =...

JK.4 by Associate II
  • 1100 Views
  • 3 replies
  • 0 kudos

Resolved! STM32L151 custom bootloader problem with HAL_UART_ErrorCallback

Hi all! I use STM32L151VDT7X, CubeMX HAL and Atollic TrueSTUDIO® for STM32 9.3.0 in my project. I need to upgrade my firmware on-the-air and so I made “bootloader + image�? application:1)     Edited in bootloader linker file:MEMORY { RAM (xrw) : ...

Alexor by Associate II
  • 807 Views
  • 3 replies
  • 0 kudos

Cannot Re-Enable EXTI After Disabling It

I want to write an application in which whenever an external interrupt occurs on a GPIO pin, the EXTI gets disabled until a certain amount of time is passed, and then it gets enabled again.What I tried is that I have put the following lines in the HA...

MMoha.3 by Associate III
  • 561 Views
  • 3 replies
  • 0 kudos