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

Trying to learn the STcube/HAL-interfaces on a NUCLEO-F446RE but got stuck at a very basic level. To control a pin (LED) worked well but trying to read the button-pin (PC13) doesn't seem to work. Though an example with interrupt on that pin work. See ex.

 HAL_Init(); SystemClock_Config();// Configure the system clock to 180 MHz __HAL_RCC_GPIOA_CLK_ENABLE(); GPIO_InitStruct.Pin = GPIO_PIN_13; GPIO_InitStruct.Mode = GPIO_MODE_INPUT; GPIO_InitStruct.Pull = GPIO_NOPULL; HAL_GPIO_Init(GPIOC, &GPIO_InitStr...

RLind.2 by Associate II
  • 486 Views
  • 2 replies
  • 0 kudos

Resolved! F4 and F7 SPI CLK waveform

During testing an SPI DAC (TI DAC8563) on an STM32F446RE (where it works) and on an STM32F767ZI (where output is always 0V), I noticed a different SPI clock waveform.In F4 you have three "8 pulses" signals from CLK (the message from MOSI is 24 bit), ...

0693W000004J8AmQAK.png 0693W000004J8B1QAK.png

HRTIM v2 - PWM higher than 16 bits

I'm using HRTIM to generate 16 bit duty cycle PWM on a G474, it works nicely.How can I configure the HRTIM to do more than 16 bit duty cycle?I've read the HRTIM cookbook and had a look at what configuration options are available in the HAL. I was hop...

Mac by Associate
  • 743 Views
  • 2 replies
  • 0 kudos

Resolved! timer clock

I am using STM32H743ZI2. I am confused timer internal clock. In F4, I can easily find which clock to control which timer, in h7 series manual, I can't find it easily. anybody knows that?

yang hong by Associate III
  • 393 Views
  • 1 replies
  • 0 kudos

Why does the SPI slave work different between G431 and G474?

The set-up is STM32G474 master can be connected to either STM32G431 or STM32G474 through LVDS transceivers (which delays the signals). The system clock is 170 MHz on all processors. The master uses low polarity clock edge one. The 431 works at 21....

BSout.1 by Associate II
  • 541 Views
  • 1 replies
  • 0 kudos