STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

USART DMA Problem

I' using USART1 to send and receive DMA with a module. When I configure DMA for one of TX or RX, it works fine. but when I configure it for both TX and RX, in RX-Buffer I have '\0' character in second position. for example the receive buffer is so:"...

Slh by Senior
  • 645 Views
  • 2 replies
  • 0 kudos

I want to use CCMRAM in 407. Is there a possibility of getting malloc to allocate CCMRAM instead of regular RAM? I changed the linker script to put stack and heap in CCMRAM but the issue is CCMRAM clock has to be enabled before any call takes place.

To overcome this problem I modified the start up assembly file by enabling the clock (AHB1ENR bit 20) at the very beginning. The program which was freezing before enabling the clock started working but stops/freezes after executing a few C statements...

how to write in external flash memory with stm32l4?

HII am using stm32l496 and want to use external flash memory MX25R6435F .Although this memory has 64 MB of memory, I set it to 8 MB in the ioc file and mx25r6435f library, but when I write in that string or character, it is not written correctly and ...

alianvari by Associate III
  • 1792 Views
  • 2 replies
  • 1 kudos

Resolved! STM32H7 cache and DMA transfer error rate.

Hi.It seems, that sometimes data in cached memory is corrupted.DMA transfer data from SPI to SRAM2 (0x30000000). I use ping-pong buffer in SRAM2 (two similar buffers). Data processing performing for first part of the buffer in thread, while second it...

Aleks by Associate III
  • 4051 Views
  • 6 replies
  • 0 kudos

Resolved! QSPI from Dual to Single flash mode

Hello, I tried to start QSPI working on a Single flash mode but have a problem with non readable part config registers (NonVolatile, Volatile and Enhanced Volatile). As I understand when working in Dual Flash mode this registers should write and read...

0693W00000Ly4hwQAB.png
ROlii.1 by Associate
  • 1424 Views
  • 2 replies
  • 0 kudos