STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! USART1 IRQ Handler Problem

Hello everyone, I use STM32F103C8 and try to receive data via USART1 using DMA and IDLE. When I receive 1 character and IDLE occur then USART1 interrupt was generated and call "USART1_IRQHandler" function like this.void USART1_IRQHandler(void) { cou...

WPong.1 by Associate II
  • 1177 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F103VBTx GPIOC pin3 Pulling up first and then down will result in failure to receive CDC data within 100ms,Probabilistic

Hi​:STM32F103VBTx STM32CubeMX_v5-3-0The basic code is generated by cube.​There are the following changes:​static int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len){  /* USER CODE BEGIN 6 */ CDC_rx_len += *Len;//pinjie    USBD_CDC_SetRxBuffer(&hUsb...

xhan.11 by Associate II
  • 735 Views
  • 4 replies
  • 0 kudos

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
  • 509 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...