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

F103 PWM using DMA not working

Hi,I'm usingSTM32CubeIDE 1.6.1Windows 11I can get PWM working using both TIM1_CH1 and TIM2_CH2The frequency and duty cycle are as expected from the settings in the IOC file.However, when I try and do a HAL_TIM_PWM_Stop_DMA(htim, TIM_CHANNEL_1);I get ...

Jorgie by Associate III
  • 1087 Views
  • 7 replies
  • 1 kudos

STM32F429 timer Question

im confused about the TIMPRE bit in the RCC_DCKCFGR does it only effect the apb1 and not apb2 timers cause the way it describes this bit it acts like the apb2  can be times 4 because it says PPREx so 1 or 2  but on cube mx im noticing when u enable t...

Resolved! Problem with built-in bootloader over CAN with STM32F466

Hi, i can definitely use a push in the right direction as i am really stuck on this one. Goal is to push new firmware onto a STM32F446 via the built-in bootloader. For this i have connected two MCU's on a CAN bus, the receiving one is a STM32F446. I ...

bonzo by Associate II
  • 889 Views
  • 12 replies
  • 4 kudos

STM32N6 Datasheet Feature Summary - inaccurate

Hello ST,The STM32N6 Datasheet (DS14791 Rev 2) claims that the device has 1 HR Timer and 4x 32-bit General Purpose Timers, yet the Functional Overview section does not support these claims.  Nor does the Reference Manual (RM0486 Rev 1).  Could you pl...

How to transmit 2-byte / 16-bit data over HID USB

I came across a nice tutorial (8-bit data) and successfully had the code work with the STM32F103C6/8. Win11 can see it as a joystick.   *** Original HID_MOUSE_ReportDesc *** 0xA1, 0x02, // Collection (Logical) 0x05, 0x01, // Usage Page (Generic Ctrl...

redbook by Associate
  • 398 Views
  • 2 replies
  • 0 kudos

SDRAM data Duplicated

Hi,everyone. currently i'm trying to acces IS42S16400J SDRAM using STM32H743ZIT. but i have problem, when i write "01020304" data to C0001000 addres the data was duplicated to addres c0001080,although i didnt write anything on that addres do you guys...

0693W00000aHURUQA4.png
fasyr.1 by Associate II
  • 479 Views
  • 1 replies
  • 1 kudos

Resolved! STM32H7 Workaround for DMA data transfer > SPI fifo-buffer

Hi!  I am working on a project where we are using DMA driven SPI-transmissions. I am using LPTIM1 to synchronize readouts of multiple SPI busses. The setup works when the transmissions is equal or below 128 bits (for SPI1-SPI3).  When HAL_DMA_MuxSync...

HansPLJ by Associate III
  • 818 Views
  • 8 replies
  • 3 kudos

LPBAM_LPUART_TransmitReceive hardfault

I'm trying the LPBAM_LPUART_TransmitReceive with a NUCLEO-U575ZI-Q but I can't make it works.I enabled the debug by removing the init of PA13 and  PA14. The MCU got stuck into an hardfault when calling ADV_LPBAM_UART_Transmit_SetFullQ() for the secon...

hardfault.png
nicolas by Senior
  • 774 Views
  • 9 replies
  • 1 kudos

F0 RTC Alarm matching - documentation typo?

RM0360 (STM32F030x4/x6/x8/xC and STM32F070x6/xB) says:"The ALRAF is set to 1 if the calendar subseconds, seconds, minutes, hours, date or (sic?) day match the values programmed in the alarm registers RTC_ALRMASSR and RTC_ALRMAR"But, surely, that shou...

AndrewNeil_0-1736275066432.png