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

HAL_TIMEOUT when call HAL_LPTIM_Counter_Start

Hi,I am using stm32L431 and trying to use LPTIM to count pulses.When I call HAL_LPTIM_Counter_Start() return HAL_TIMEOUT in if (LPTIM_WaitForFlag(hlptim, LPTIM_FLAG_ARROK) == HAL_TIMEOUT) {  return HAL_TIMEOUT; }But if I comment this part of function...

GFont.1 by Associate III
  • 442 Views
  • 0 replies
  • 0 kudos

Resolved! Hello all. I am implementing a simple application that reads data using USART. I want to read 10 bytes of data and if carriage return or new line is detected it must print "String Received" otherwise it must print "Error". I am using STM32F205.

The problem that I am facing is that I implemented HAL_UART_Receive_IT function in a while(1) loop and then I check for the elements of buffer for \n or \r. After I type the first message it prints "String Received". But after that it continuously ...

NSirm.1 by Associate III
  • 949 Views
  • 3 replies
  • 0 kudos

Resolved! STM32L432KC RTC wakeup from STOP1 mode not working.

The processor never wakes up from STOP1 mode and I do not know why.Reading RTC time and date works, so I know the RTC clock is running. With debugger (using HAL_EnableDBGStopmode()), I notice that the firmware is stuck in __WFI()I'm using STM32Cube_F...

Ivo by Associate II
  • 846 Views
  • 4 replies
  • 0 kudos

External interrupt not working. Why?

Hi. I have two sensors connected to an STM32f410r8t6, where they send a high signal whenever new data is ready to be read. Pin connections are as follows: PC9 (GPIO_EXTI9) -> INT_IMU2PC7 (GPIO_EXTI7) -> INT_IMU1I have them setup as follows in the ioc...

0693W000006ERm9QAG.png 0693W000006EReBQAW.png 0693W000006ERsMQAW.png
VSøby.1 by Associate III
  • 4001 Views
  • 2 replies
  • 0 kudos

SPI - SDO long tail

Hello,I am having problems with STM32C8T6 interfacing with TI ADS8317.Long tail at SDO line (first & second image)The seperation time between each byte is always significantly long (not sure if this is a problem) ( second image)Second image is the en...

0693W000006EMfSQAW.jpg 0693W000006EMgpQAG.jpg
YChen.41 by Associate
  • 575 Views
  • 2 replies
  • 0 kudos

STM32H745 Extenal Flash QSPI

We are using STM32h745XI board with external memory. But the DISCO board has two QSPI flash 64MB each and total of 128MB. Where as in our custom board we used only one chip as 64MB.But in the project file there is no flash algorithm file for 64MB onl...

YSN by Senior
  • 348 Views
  • 1 replies
  • 0 kudos