STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! whats wrong in below code

uint16_t val[200]; unsigned char data[20]; uint32_t AVG_val[10]; uint16_t val_2=0; unsigned char count=0; double rms=0.0; uint32_t square = 0; double mean = 0; double root=0.0; int arr[]={15,78,59,85,56}; int n=100; int main(void) { HAL_Init(); S...

ykn by Senior
  • 602 Views
  • 4 replies
  • 0 kudos

STM32F4 Audio acquisition slowing tasks

I am using STM32F401 for audio acquisition through I2S interface and also interfaced an IMU sensor with the MCU through I2C. I am using the CCA02M2 library provided by STM for audio acquisition and a separate task for reading IMU data. When I run the...

PA.3 by Associate
  • 312 Views
  • 0 replies
  • 0 kudos

Button interrupt with time period

Hi,I want to implement button interrupt with time period to send the mcu to Dee-sleep ,and wake up. For example; When I press button for 5 sec, MCU will go to sleep, when I press the button second time for 5 sec MCU will wakes up. but I don't know ...

TPiri.1 by Associate II
  • 1172 Views
  • 6 replies
  • 0 kudos

How to restart counter of a timer

Hello All,I'm using a STM32H743, and I would like on runtime from a GPIO IT, restart to zero the counter period of a timer, is it possible ?How to do that ? I havn't found API for that.Thanks.

MGuil.1 by Associate II
  • 585 Views
  • 2 replies
  • 0 kudos