STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32L072 - PWM out of PB15

I am using the STM32L072CBT and wish to use PB15 as PWM output. I have created the project in CubeMx but selecting PB15 offers no timer channels at all. I have double checked the data sheet which shows PB15 with AF1 as TIM15_CH2. I have created a new...

GSewe by Associate II
  • 909 Views
  • 3 replies
  • 0 kudos

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
  • 3307 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
  • 1226 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
  • 1905 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
  • 739 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
  • 2057 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
  • 3202 Views
  • 4 replies
  • 1 kudos