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

DMA1_Channel1_IRQHandler() is not getting triggered

Hello, I am using STM32G030F6Px, it has 32 KB flash memory and I need free space to save data in flash, also it needs to have bootloader. That's why I decided to use bare metal code instead of HAL library, of course I did this by examining HAL librar...

kb24 by Senior
  • 3488 Views
  • 11 replies
  • 0 kudos

udp_recv trigger when input data available.

Hello,I'm using stm32h757i-eval board & STM23cube ide for programming.I have successfully achieved the UDP communication.But there is one problem.I want a trigger or auto polling function for the UDP_RECV i.e, when ever there is a input data availab...

Aarra.1 by Senior
  • 1291 Views
  • 4 replies
  • 0 kudos

Resolved! __weak requirement on stm32f4xx_hal_pcd.h functions

I have default setup under linux with CubeIDE 1.7.0 and for overriding, i had to modify as __weak void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd);__weak void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd);oh header definitions. Otherwise i...

MKanc.1 by Associate III
  • 1994 Views
  • 4 replies
  • 0 kudos

Is the formula for the frequency of the sine wave generated by the D / A converter in the document from ST incorrect?

Hi,I generate a sine wave on the DAC. To trigger the DAC, I use the TIM 2 timer, which is clocked on the APB1 (32 MHz) bus, then I reduce its frequency through the dividers PSC = 15 and ARR = 1. In this way, I obtain the frequency from the timer equa...

HWorl.1 by Associate II
  • 800 Views
  • 2 replies
  • 0 kudos

HAL_GPIO_EXTI_Rising_Callback or EXTI0_1_IRQHandler

Hi, is there a reason to implement the HAL function over simply running code inside the IRQ handler.In my current case I only am incrementing a counter and do not need to demux the line, so I presume not this time, but if I was doing something more i...

OHaza.1 by Associate III
  • 2252 Views
  • 8 replies
  • 0 kudos

Resolved! What is the cause a DMA transfer error?

I am trying to read from an external SPI ADC at a 1MHz rate using a timer and 4 dma channels.I setup TIM 3 to run at 16 MHz and rollover at a count of 24.CC1 pulse is 1, cc2 pulse is 2 cc3 pulse is 22. CC1 drives DMA1 stream4 which is setup to trans...

LHarm.1 by Associate III
  • 3308 Views
  • 4 replies
  • 1 kudos

STM32L462 Can not start DMA transfer via SPI.

Enabled DMA2_CLKSPI3_CLKset DMA2_CSELR = 0x00000033;GPIO is set up correctly and has clk enabledCMAR1 CMAR2 CPAR1 CPAR2 sSetup interrupts for DMAe Channel 1 and 2 and their prioritiessetup spi3 cr1 cr2DMA2_CNDTR2 DMA2_CNDTR1RESET Ints with DMA2_IFCRF...

MDrak.1 by Associate II
  • 868 Views
  • 5 replies
  • 0 kudos