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
  • 837 Views
  • 2 replies
  • 0 kudos

Flash Erase Problem After Reset

I've flash erase problem after reset.My source code routine like this:1) Boot code start at address 0x08000000 2) Than read eeprom value if eeprom value is User value3) And jump user application. ( To 0x080A0000)4) After the successfuly jumping, I ge...

DCtech by Associate II
  • 1262 Views
  • 5 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
  • 1243 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
  • 858 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
  • 7140 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
  • 879 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
  • 3407 Views
  • 11 replies
  • 0 kudos