STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32L051 EEPROM initialisation

Is it possible to initialize the EEPROM area of a STM32L051 with values at compile time (IAR compiler) simply like this:const char array[] @ "my_eeprom" = {0X1C,0X1F,0X9F,0XFF};

JGeis by Associate
  • 455 Views
  • 1 replies
  • 0 kudos

can't use TIM21 as pulse counter STM32L051

I try to count pulses from PA1 as TIM21_ETR, seems like all setting is OK, but no counting what soever. What am I missing?Thanks/* TIM21 init function */ void MX_TIM21_Init(void) { TIM_ClockConfigTypeDef sClockSourceConfig; TIM_MasterConfigTypeDe...

Johanan1 by Associate II
  • 704 Views
  • 5 replies
  • 0 kudos

STM32H7 Nucleo: VCP not enumerating

I have one of the newer STM32H743 Nucleo development boards and I'm having issues getting the VCP enumerating. I know I'll need to add some code to transmit and recieve data, but is there anything that I should need to change with the initialization ...

Measuring speed with Input Capture Mode.

Hello,I have the L432KC Nucleo. I'm trying to measure low speeds with a 1 PPR (pulse per revolution) sensor. For low PPRs. using the Period Measurement Method is suggested. If I get the period of the signal, then I can apply the formula:RPM = 60/(Pul...

xpp07 by Senior
  • 1710 Views
  • 5 replies
  • 0 kudos

Timer Clock division has no effect

HiI was reviewing my code and I wanted to change some timer configurationSo I use a STM32F727 @216MHz with all clock periph at max speed.I use the following init (generate by cube) to configure TIM2 to get a 1 µs based timer htim2.Instance = TIM2; ...