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

Does stm32g4 up-down counting mode support external events?

Hello, if configure stm32g4 in up-down counting mode, does it support external events,such as external pin event or analog comparator events?for example ,rising edge of analog comparator event set TA1 output in up count directionand the same event re...

0693W00000HpnOzQAJ.png
270284440 by Associate III
  • 497 Views
  • 0 replies
  • 0 kudos

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
  • 786 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
  • 397 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
  • 1512 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
  • 758 Views
  • 2 replies
  • 0 kudos

Sent int32_t with Hal_UART

Hi All,  I would like to send int32_t decimal number via USART, but with HAL_Uart_Transmit we can send uint_8. Do you have any idea how I can do that?Thanks.

Nmo.1 by Associate III
  • 1789 Views
  • 3 replies
  • 0 kudos