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

FFT and ZCD algorithm implementation

Hello,I am using STM32L072xx, Core: Arm® 32-bit Cortex®-M0+ with MPU– From 32 kHz up to 32 MHz max.– 0.95 DMIPS/MHzI have the following questionCan I implement FFT algorithms to read ADC values?How can I implement ZCD(zero crossing detection) algorit...

CDesh by Associate III
  • 1103 Views
  • 3 replies
  • 0 kudos

C++ and linker script

Hello All,I am using an STM32f767ZI device. I wrote a c++ program that has a base io class in which a gpio peripheral class inherits from the base io class. I call HAL_GPIO_TogglePin, HAL_GPIO_Init and HAL_GPIO_WritePin in the gpio class methods a...

IAgui by Associate III
  • 455 Views
  • 0 replies
  • 0 kudos

STM32H7 SPI question - what is SPI1 CS on NUCLEO-H743ZI2 ?

User manual of  NUCLEO-H743ZI2 says that SPI1_CS pin is pin 16 on CN7 (D10) which is PD14 of the MCU.But in CubeMX, pin PD14 does not have any function related to SPI1.What does it mean? Should this pin be set up as GPIO output and driven manually?So...

Pavel A. by Super User
  • 1151 Views
  • 2 replies
  • 0 kudos

Resolved! Enabling USART2 on STM32F413

Hello!I am wondering what the high level process for enabling a USART port is. I am enabling RCC_AHB1ENR_GPIODENRCC_APB1ENR_USART2ENBut the TX line stays low. I am guessing it has to do with the clock?Thanks

jkasper by Associate II
  • 2339 Views
  • 2 replies
  • 0 kudos

SPI Strange behaviour with two slaves

Hello,I have a SPI interface with two slaves. This is my code: /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_DMA_Init(); MX_ADC1_Init(); MX_ADC2_Init(); MX_TIM6_Init(); MX_USART3_UART_Init(); MX_SPI1_Init(); MX_USB_DEVICE_Init(); /* ...

HBesi.1 by Associate II
  • 440 Views
  • 1 replies
  • 0 kudos