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

Is it possible to handle UART IDLE line detection with the HAL library? If not, which is the nicest way to implement it?

I am using the HAL library to use my MCUs peripherals and I would like to use the IDLE line detection of the UART controllers. To me, it seems that the HAL library does not offer any callback for IDLE line detection so I think it is not possible to u...

TNaum by Associate III
  • 498 Views
  • 0 replies
  • 0 kudos

NUCLEO-F042K6 HSE crystal

I want to run the NUCLEO-F042K6 on external 3V3 supply. I understand that in this case ST-LINK remains down, and I cannot use its crystal for clocking. I want to use a crystal to clock the MCU.Looking at the schematic[1], I wonder if I can use the sa...

AKrup by Associate II
  • 815 Views
  • 4 replies
  • 0 kudos

Independent Watchdog Freezing in debug mode

Hello everyone,I have to freeze watchdog during debug mode because it geneates problems (the same old story).I tried to use __HAL_DBGMCU_FREEZE_IWDG(); before main loop, but this is not the right solution.Have some tips?Best regardsPS: I use an STM32...

Hi. I am using stm32f429 board I am trying to read an analog signal from adc with timer. The sampling time should be 2us. But no matter how much I try, I could not do it. Please at least give me an idea about how to do it.

My first goal is to reach the sampling time of 2us. I am using timer2 as interrupt to read an analog signal from AN0 and to measure the adc sampling time, I am toggling a led every time I read a value in the callback interrupt and checking the toggle...

MKara.17 by Associate II
  • 561 Views
  • 0 replies
  • 0 kudos

Why chaining TIM5 to TIM3 fail ?

I'm using a STM32L486RG and i try to chain TIM5 to TIM3 and it fail (TIM3->CNT doesn't increment). The other chaining combinations work correctly. Here is my test code:#include <assert.h> #include <stdbool.h>   #include "stm32l4xx.h"   #define TIM_MA...

nicolas by Senior
  • 679 Views
  • 4 replies
  • 0 kudos

SD(FATFS) cannot work with STemwin

Posted on April 29, 2017 at 07:40Hi , all:I use STM32CubeMx to generate MDK V5 project for my stm32f746g-discovery board.I found I can't use the SD  with FATFS after add STemwin Lib to my project , but it works fine only if  i just use SD and  LTDC ...

What to do to use LSE?

STM32F746GDiscovery, CubeMX. Selecting RCC-> LSE causes the Clock Configuration error. I want to use this clock.

AD�?b by Senior
  • 927 Views
  • 6 replies
  • 0 kudos