STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Bus Fault or Memory Management Fault

About fault exceptions, as I can understand user level trying to access privileged level memory will result in Memory Management Fault... but in Table 5.1 from Joseph Yiu's Guide to ARM Corten-M3 2nd edition page 83, it says Why that results in Bus f...

0693W000000UJ4qQAG.png
KSun.11 by Associate II
  • 433 Views
  • 0 replies
  • 0 kudos

SDIO + DMA missing last four bytes

Hello guys, I hope you can help me. I'm using a STM32F439 board and the following setup:In my application FreeRTOS with FatFS is running. For reading and writing blocks from my eMMC I use a DMA transfer. The problem occurs very seldom (in an 40 MB fi...

AWied.1 by Associate II
  • 410 Views
  • 0 replies
  • 0 kudos

Resolved! HAL_delay not working?

SOSI have tried the other forum suggestions but nothing seems to work so far for me. Basically I am just trying to turn an LED on/off with a set delay: while (1) {   /* USER CODE END WHILE */    HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, 0);    HAL_...

retro by Associate III
  • 1935 Views
  • 7 replies
  • 0 kudos

USART2 communication stm32f407 discovery

I've recently started studying stm32f4 discovery and I'm trying to enable USART2 communication through virtual com port. I've tried to use the code from the book called "stm32 Arm programming for embedded systems" (I've changed value of BRR register,...

MKarp.1 by Associate II
  • 916 Views
  • 3 replies
  • 0 kudos

SDIO 4bit not working, but SDIO 1bit is working.

STM32F429I-DISC1STM32F429ZIT6USTM32CubeMX Version 5.6.0FATFS Version R0.12ctwo different SDHC Class 10, 8GB with sector size 2048, tested on windows 10FREERTOS not enabledSDIO 1bit is working perfectly with my configuration.SDIO 4bit is not working, ...

DMA misunderstanding (burst, data alignment, FIFO)

While I was reading a book about DMA I came up with some questions. I tried reading AN4031, RM0090 with no better luck in understanding.The problem has to do about bursts in DMA. The questions are theoretical and there is no source code to follow the...

Resolved! UART with byte stream gets overrun error

Hello,I worked till now with H7 (stm32h743) and UARTs and had no issues at all.But recently I needed to port the project to L4 (stm32L496).For some reason UART now behaves differently:With polling there is no issue, but with interrupt or dma:As long ...

ranran by Senior II
  • 1072 Views
  • 4 replies
  • 0 kudos