STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

small and fast: µs-delay with TIMER4

First suggestion after internet inquiry:// Initialization procedure: RCC->APB1ENR = 0b00000000000000000000000000000010; TIM4->PSC = 15; TIM4->ARR = 65534; TIM4->CR1 = (1<<0); // Function: void delay_US(uint32_t us) { uint32_t i; for( i = 0; i <=...

timbo2023 by Associate III
  • 231 Views
  • 2 replies
  • 0 kudos

STM32G4 COMP behaviour using HRTIM

Dear all, I am developing a project using the STEVAL-DPSG474 board. I want to use a COMP module to trigger event on HRTIM output and I want to know the state of this COMP. To highlight the strange behaviour, I am using COMP 2 (and 3) connected to ext...

Resolved! STM32H743II / SD Card Init Problem

Hey I have a Custom Board with a STM32H743IIT6 (Rev V) (My IOC is attached) i have a clock source with 25 MHZ, and the SDCARD is connected over 4 Bits, and Clock Divider 5.My code runs on main function in to the Error_Handler with Reason "HAL_SD_ERRO...

Sany by Associate III
  • 601 Views
  • 2 replies
  • 0 kudos