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

STM32F103 not programming

Hello i am working on a project which is based on stm32f103c8t6 mcu.i face a issue while programming some of these microcontrollers.sometimes some microcontrollers are programmed perfectly while some start giving errors(see attachment).while going th...

ASakp.1 by Associate II
  • 3087 Views
  • 8 replies
  • 1 kudos

Can I put read/write variables in DTCM, when DCache enabled?

If DCache is enabled how then can I update a variable (I think DMA + MDMA) and after processing get results to a peripheral e.g. DAC (again MDMA?)?Do I need to clear cache?Will I still have the speed advantage of caching?I am struggling how to get d...

leon64 by Associate II
  • 3811 Views
  • 17 replies
  • 0 kudos

Resolved! Cannot cofigure the ADC on STM32L431KB. ADEN always set to 1.

Hi,I am having trouble configuring the ADC on my STM32L431KB. The calibration procedure appears to go well until it gets to the step where the program waits for the calibration to finish. It is never able to finish. I think the problem may be related...

NMill.3 by Associate II
  • 1029 Views
  • 4 replies
  • 0 kudos

Resolved! STM32 PWM Generate when Input Capture Update Event

Hi, I'm doing a project with STM32F769I-EVAL.In my project, I set Timer 2 Channel 1 to input capture mode, and I made a clock to TIM2 CH1 Pin with Function Generator. And Timer 5 Channel1 to PWM Generation CH1 to make a PWM.I calculate frequency of i...

ELee.9 by Associate II
  • 1264 Views
  • 1 replies
  • 0 kudos

How to restart an STM32 timer halfway with a new value?

I have a timer which at each interrupt first stops itself, and then set its own next delay:HAL_TIM_Base_Stop_IT(&htim); // do stuff __HAL_TIM_SET_PRESCALER(&htim, new_p); __HAL_TIM_SET_AUTORELOAD(&htim, new_a); __HAL_TIM_CLEAR_FLAG(&htim, TIM_FLAG_UP...

HKaze.2 by Associate
  • 1705 Views
  • 2 replies
  • 0 kudos

Resolved! What is OutputDrive on the SAI Peripheral?

On the STM32 SAI peripheral, there's a member of the SAI_InitTypeDef which is:​ uint32_t OutputDrive; /*!< Specifies when SAI Block outputs are driven. This parameter can be a value of @ref SAI_Block_Outp...

APire.1 by Associate
  • 1174 Views
  • 1 replies
  • 0 kudos

STM32H735 HyperBus speed byte vs word (32bit) vs QSPI

Hello,I got my hands on a H735 Discovery Board which has an external "HyperRAM" (Infineon S70KL1281DABHI023) connected to OCTOSPI2.I need to use it in memory mapped mode, which is quite easily setup via HAL stuff (just switched to register setup to l...

LCE by Principal II
  • 4825 Views
  • 7 replies
  • 1 kudos

I2C stops working with System Clock 168M on STM32F407

Hello,I'm working on a STM32F407 board, and communicating with 6 I2C sensors which are scattered on the 3 I2C interfaces with 400K clock. Everything is fine if the system clock is set to 40MHZ. When I'm trying to change the sys clock to 168M, all I2C...

XLei.3 by Associate II
  • 1091 Views
  • 7 replies
  • 0 kudos