STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32F103 Alternate Function selection for a specific pin.

Hi, I am familiar with STM32F407 from my previous works. In that 40xx family, it was easy to understand, there are AFRL and AFRH registers by which user can select the desired AF for each and every pin independently.However, now, I am working with ST...

YAkse by Associate III
  • 1219 Views
  • 4 replies
  • 0 kudos

Timer 2(32 bit timer) in running mode to provide timer tick at 1ms. controller - STM32F072VB timer - TIMER 2 mode - up counting mode This timer should get TIm->CNT increment at 1 ms. then what should be the prescalar??

here is settings i did..but little bit confused about prescalar valuestatic void MX_TIM2_Init(void){ /* USER CODE BEGIN TIM2_Init 0 */ /* USER CODE END TIM2_Init 0 */ TIM_ClockConfigTypeDef sClockSourceConfig = {0}; TIM_MasterConfigTypeDef sMasterCon...

Bs.1 by Associate II
  • 361 Views
  • 2 replies
  • 0 kudos

#define eeprom value

Hello,I have settings in my EEPROM. I would like to assign these parameters with a #define.I tried several things, searched the internet, but couldn't find anything conclusive.I found something, but it is not suitable for my program, here it is :#def...

SetRange problem in X axis

Hello, I've wrote SetRange in a graph like SetRange(0, 50, 0, 50), but the problem is my graph is stretched an i want have it in a compressed look. So i changed it to setRange(0, 100, 0, 50), but my x axis was shorten to 1/4 and rest of my X axis rem...

MHaji.1 by Senior
  • 229 Views
  • 0 replies
  • 0 kudos

SD card write using SDIO (4 bit) with DMA enabled is making system fail. I suspect cyclic write of around 200 bytes at 100 Hz is leading to bus contention issue or so.

Am using sTM32F4 Discovery board with extension board for RS232 interface and SD card.RS232 is also using DMA and its priority is higher than that of SD card DMA channel priority. The tasks working on RS232 interface and SD card log are different to...

DevBee by Associate II
  • 286 Views
  • 0 replies
  • 0 kudos