STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

jump function

I have jump function this like that but this method don't work. Please I need help immedietly void jumpToAddress(uint32_t jump_address) { void (*jumpFunction)(void); static constexpr uint32_t SHIFTED_JUMP_ADDRESS_DUE_TO_RESET_HANDLER = 4; static cons...

Snm.1 by Associate III
  • 36 Views
  • 1 replies
  • 0 kudos

QDEC on STM32H563RG with Zephyr

Hi all, I was able to make the qdec on timer1 run and read pulses from an external encoder. Now I wanna generate an interrupt after let's say 100 pulses. That interrupt should toggle a led I mean the timer has interrupts, but i don't know how to use ...

Lukas4 by Associate II
  • 148 Views
  • 1 replies
  • 0 kudos

I2C integration using DMA Driver

Hi All,I am integrating the IMU sensor Using I2C DMA in circular mode on stm32f103c8t6 using Hal Library, so facing an issue reading the address value.In the below code "HAL_I2C_STATE_READY " this flag is not resetting after once function executes so...

Piyoosh by Associate II
  • 72 Views
  • 2 replies
  • 0 kudos

FFT on Array outputting incorrect value.

Hi there, I'm attempting to run an FFT on a sine wave input with frequencies from 0.1-1Hz however i seem to be getting incorrect frequencies from my FFT. Any help would be appreciated.  #include "main.h" /* Private includes -------------------------...

Resolved! lwip on CM4 STM32h745

Hello,  I am trying to setup the CM4 core with lwip+mbedtls working. Actually I get this code working on CM7 but I need to migrate it to CM4. When I run the code the CM4 get a ard fault interrupt. Debuging I can see that this happens in HAL_MPU_Enabl...

RafaelS by Associate III
  • 165 Views
  • 3 replies
  • 1 kudos