STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

stm32f407 dma and interrupt ENCODER mode.

Hi, I'm pretty new to stm32.My goal is to use HAL_TIM_Encoder_Start() , HAL_TIM_Encoder_Start_DMA(), HAL_TIM_Encoder_Start_IT() commands from Hal library. I have the stm32f407 Discovery board.in polling mode//-----------------------------------------...

MKara.13 by Associate
  • 929 Views
  • 2 replies
  • 0 kudos

Resolved! Hi. I've included the code below. I want to pause for 10 seconds in standby mode. The code works once and never returns. And there is no serious drop in Ammeter. What could I be doing wrong?

#include <string.h> #include <stdio.h> #define printf(...) HAL_UART_Transmit((UART_HandleTypeDef *)&hlpuart1, (uint8_t *)u_buf,\ sprintf((char*)u_buf,__VA_ARGS__), 0xFFFF); uint8_t u_buf[256]; /* USER CODE BEGIN 2 *...

ZKURT.1 by Senior
  • 1391 Views
  • 3 replies
  • 0 kudos

Keil error for STM32U5 project

I'm using the STM32U5 and when I create a basic project in Keil and compile, I get the following error:"Error: L6218E: Undefined symbol SECURE_SystemCoreClockUpdate (referred from system_stm32u5xx_ns.o)."How to fix this?I don't want to use STM32Cube ...

K-.2 by Associate
  • 932 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F103C8T as SPI slave

Hello, I'm trying to set up SPI communication between an MCU as master and the STM32 as slave. Data reception in the STM32 works fine, but I'm not being able to transmit data to the MCU from the STM32. I'm using the interrupt callback to read and sen...

0693W00000JP2YLQA1.png
DBern.7 by Associate II
  • 7734 Views
  • 3 replies
  • 0 kudos

Resolved! STM32 NUCLEO GPIO IDR BIT MASK PROBLEM

Hello,I'm using STM32 NUCLEO board.In my application, I want to read GPIO PORT A input register (IDR) & (pins setup as inputs).With that variable, I want to do something, if specific pins are HIGH, execute the if cycle.As an example, I want to execut...

JJack.1 by Associate II
  • 986 Views
  • 2 replies
  • 1 kudos

Resolved! I2C operating voltages

 I have my MCU running at 1.8V and in I2C operation mode I have disabled the internal pull ups on the pins. Externally I have added pullups to 1.1V as my target device has been operating at 1.1V. Will this cause any issues?

VThan.2 by Associate III
  • 3726 Views
  • 11 replies
  • 0 kudos

Resolved! STM32L4R: Is it possible to go from Low-Power-Run Mode to STOP2-Mode and start in Low-Power-Run-Mode after exiting STOP2-Mode?

Hello STM32-Community,I'm getting mixed results checking up this question. In the power consumption calculator (PCC) there is the following diagram displayed:As you can see it should not be possible to enter STOP2 from LOWPOWER_RUN. However the seque...

0693W00000JOq99QAD.png 0693W00000JOq5IQAT.png
crackl1ng by Associate III
  • 779 Views
  • 5 replies
  • 0 kudos