Other tools (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Variable runover before it reaches its limit

Hello everyone,My variable had a Runover even before it reached its range.Currently, I am working with timer 2 with a frequency of 90MHz. When I retrieved the current time by `__HAL_TIM_GET_COUNTER()` and printed it by `printf("receive_time: %lu\n", ...

HNguy.25 by Associate III
  • 405 Views
  • 5 replies
  • 0 kudos

Is it a problem to use TIM1 PWM ch1..3 under Arduino?

Dear reader,I have a question about the use of TIM1 on the Blue Pill STM32F103. I want to build a synchronous Buck Converter using the Blue Pill and need to use PWM on TIM1 ch1..3 with its complementary outputs and the programmable dead time for that...

WOGoos by Associate II
  • 346 Views
  • 3 replies
  • 0 kudos

Hi, set stm32H750 tim, Error in 'deviceManage/Function-Call Subsystem/Timers': Initialization commands cannot be evaluated. TIMERS_Config function : Can not find which APB timer TIM1 is connected to.Default preference value STM32TIMAPB set to APB1 is use

Hi, set  stm32H750 tim, Error in 'deviceManage/Function-Call Subsystem/Timers': Initialization commands cannot be evaluated. TIMERS_Config function : Can not find which APB timer TIM1 is connected to.Default preference value STM32TIMAPB set to APB1 i...

0690X00000D8vuiQAB.png
lling.1 by Associate II
  • 793 Views
  • 15 replies
  • 0 kudos

hello, I am using stm while controlling a device and after working conditions for a while, I saw that the software made itself like this. I have not encountered it on other devices. When I put the software on the processor again,it gets fixed,what reason?

That is part of broken softwareD8 0A 00 20 CD 02 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...

0693W00000Lz1QVQAZ.png

Multi Channel ADC Configuration STM32G4

Hello everyone,I'm having a hard time polling multipe channels on an ADC triggered with a Timer on my stm32g474re nucleo board through the STM32 MAT library. Would anyone with a similar experience care to provide an example?

suicich by Associate
  • 346 Views
  • 1 replies
  • 0 kudos

I want to generate 16 MHZ clock signal from Nucleo-F746ZG development board. I have used FastPWM library to generate 16 MHZ clock on PA_8 pin. But not able to see square wave on CRO. Can someone please help

#include "mbed.h" #include "FastPWM.h" FastPWM fastpwm(PA_8,1); int main() { fastpwm.period(5.25e-8 ); fastpwm.write(0.5); }This is my simple code to generate PWM in MHZ using FastPWM. When i check on CRO its showing frequency about 16 to 19 MHZ b...

Cjosh.1 by Associate II
  • 237 Views
  • 4 replies
  • 0 kudos

How to use timer1 for pwm input

I use STM32F103c6 timer1 for pwm input . after right config in cubemx, and in simulink enable timer1 ch1 interrupt. Then auto code gen, but code in Keil the ch1 interrupt not enable, its callback not registered, the timer also not started. Want to kn...

PYong.2 by Associate II
  • 356 Views
  • 5 replies
  • 0 kudos