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

Resolved! PWM Input capture trouble

Hi everyone, I'm trying to capture a PWM signal's duty cycle and period using a timer (TIM3 in this case) in PWM input mode. However, when I run the following code, I see no updates in the CCR1 and CCR2 registers, which should have the values of my ...

BKoll.1 by Associate II
  • 643 Views
  • 1 replies
  • 1 kudos

STM32G071RB sleep current

Hi,I am currently playing with a G071 nucleo board for possible use in a future project. I have trouble achieving datasheet power figures.At 16Mhz (regulator mode 2) using HSI, in run mode I get 1.20 mA with a While 1 loop. This is 0.1 mA above data...

Trilys by Associate II
  • 613 Views
  • 2 replies
  • 0 kudos

STM32L0 ADC with External Trigger and DMA

Hello,I am having a bit of a problem with using the ADC on the STM32L072 in combination with the External Trigger and the DMA.I have just two conversions set not continuous mode and not discontinuous, but the DMA is set to take 32 results.If I trigge...

EHarr.1 by Associate II
  • 814 Views
  • 3 replies
  • 0 kudos

SPI issues while trying to communicate with ILI9341. Only 0 comes in over miso and FRLVL decreases without reading from the dataregister.

For a couple of days now I have been trying to get some visuals on a ILI9341 LCD screen.I'm working on a STM32F723E-DISCOVERY board. The LDC screen works with an 8080 controller. According to the manual of the device the internal IM bits define wethe...

Zeron by Associate III
  • 1257 Views
  • 4 replies
  • 0 kudos

STM32F4 disco TIM1 PWM DMA mode not work.

i want to generate variable duty PWM using TIM1 & DMA but it not work.uint16_t variable_duty[10] = {0,1000,2000,3000,4000,5000,6000,7000,8000,9000};   HAL_TIM_PWM_Start_DMA(&htim1,TIM_CHANNEL_1,(uint32_t*)variable_duty,10); HAL_TIM_PWM_Start_DMA(&hti...

How to De-init the SysTick clock?

Hello,Currently, I'm working on a project in which the boat-loader is already present. Now, in the boat-loader, there are several things which I'm not using i.e Systick clock, DMA etc. So, I want to De-init all the unnecessary peripherals to run the ...

Resolved! STM32H753. Stranger things...

For a hour I'm breaking my head. How it this possible? What's going here?unsigned max_prio = 5; __set_BASEPRI(max_prio); __DSB(); __ISB(); uint32_t basep = __get_BASEPRI(); printf("basepri=%u\n", basep); //>>>>>>>>>>>> it prints 0 !  Using the At...

Pavel A. by Super User
  • 488 Views
  • 2 replies
  • 0 kudos

Are EXTI flag bits sticky?

I have an EXTI interrupt with a shared handler, EXTI15_10_IRQHandlerNormally there should be only pin 15 interrupt.So I did this:void EXTI15_10_IRQHandler(void) { if ((EXTI_D1->PR1 & (1<<15)) != 0) { my_handler(); EXTI_D1->PR1 = ...

Pavel A. by Super User
  • 1271 Views
  • 10 replies
  • 0 kudos