Forum Posts
STM32F4 Gated Timer with TIM2_CH3
I want to count the 'high time' of a signal on TIM2_CH3. I simply want to count up TIM2 by using internal clock, but gating it with TIM2_CH3. I don't care about interrupts; I only want to use the counter value to access how much 'activity' has occurr...
one Timer PWM, 2 LEDs
Hey thereI want to use one and only one Timer to generate PWM signal to control 2 LED lights. assume that PWM generated is only attached to one the LEDs. how can I make both of LEDs shine or dim with only one PWM?thanks in advance for any help and hi...
QSPI flash not read in S25FL512 with STMH743
hi, i want read read and write data from external QSPI flash S25FL512.i posted code from below st linkhttps://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/external_QSPI_loader.html QSPI_READ and QSPI_write function exec...
TIMER PWM mode driving stepper motor how to soft start or acceleration time?
i am driving STEPPER MOTOR using TIMER in PWM mode use interrupt for counting PULSES now how can i accelerate motor slowly(acceleration time 200ms) then running at set speed?acceleration time(ex 200ms) is variable how can i do it? Can iuse dma for ve...
16-bit ADC collects samall ADC siganal used by STM32H743 problems
Hi, I use 16-bit ADC to collect small-value ac signals, and then use USART to transmit them to the computer for reading. The following figures are the result I read. The amplitudes of the two signals are respectively 20mVpp and 100mVpp, and we can ...
Cannot read low current consumption on STOP2 mode with my STM32L412 board (~300uA+-), but using the same code and compatible with my STM32L476, i succeed (~3uA). ill be happy to work with low consumption with the STM32L412, can any one help me with that?
Hello guys, first, i would like to thank you about this forum i used a lot and got good suggestions and i learn a lot from you.About my problem:I checked a lot in the internet and see others that had the same problem like mine, but didnt find any wit...
Resolved! Nucleo - STM32L412RB-P: How to measure IDD only through STM32 Microcontroller?
I have generated minimal code using cubeMX that i enter stop2 mode and never wake up.i added some functions to decrease power consumption and tried to combine between them in order to see how the idd measurements changes.among the functions:killing t...
Frame synchronization randomly swapping.
I have a STM32L433 driving a FDA802 using SAI in I2S standard mode, and it randomly swaps the left and right channels. I have compiled with a small table of interleaved data (two sine waves of different amplitudes) to try an fault find. the code I am...