STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Why does a timer operating in interrupt mode generate an update event immediately after intialization?

HelloI have TIM3 set up like so:ABP1 Timer clock = 84 MHzPrescaler = 8399Period 9999Update event selected as triggerNVIC enabled for TIM3 global interruptThis gives me a timer interrupt every 1 second. But it appears as though the callback HAL_TIM_Pe...

Always getting SPI OVR Error instead of executing SPI RX callback functions while interfacing SPI1 + DMA + STM32H7

For DMA, allocating the buffer to the right memory segment,I am already allocating the buffer in to D2 (0x30000000), which I think should be right, and I haven't enabled the cache yet, for remaining all nonvolatile memory allocated in section D1 (0x2...

0690X0000087ZcfQAE.png 0690X0000087ZckQAE.png 0690X0000087ZczQAE.png 0690X0000087Zd4QAE.png

STM32F7 IAP using DFU & USB MSC

Hi all, On an STM32F746-Disco I've succesfully tested DFU using DfuSe demo (ie sending a .dfu file from a PC to the board using the USB as a serial port) and the USB Host MSC... I wonder if it's possible create a bootloader that will read a dfu fil...

iw2lsi by Associate III
  • 1241 Views
  • 2 replies
  • 0 kudos

Resolved! Should nor flash be mapped as non cacheable memory ?

Hello,When using external NOR is it reasonable to configure its memory addresses as cacheable or should it always be configured as NON-cacheable?If it is cacheable it means that when executing a programming nor command, it is not yet written into dev...

ranran by Senior II
  • 707 Views
  • 2 replies
  • 0 kudos

Jump to bootloader from application

I'm trying to jump to the bootloader in system memory in order to update my firmware via USART1. See attached code based on https://stm32f4-discovery.net/2017/04/tutorial-jump-system-memory-software-stm32/. When I execute the attached function the s...

JSzyb by Associate
  • 413 Views
  • 0 replies
  • 0 kudos

STM32F072RB CAN Transmit Timeout Error

Hi, I'm new to CAN communication and trying to up the CAN(normal mode) between two identical custom boards having stm32f072 controllers. Code generated using CubeMX (STM32Cube_FW_F0_V1.9.0) drivers.I have given the setup diagram. TJA1050 RS pin is gr...

0690X0000087uNlQAI.png
LRPS_92 by Associate II
  • 429 Views
  • 0 replies
  • 0 kudos