STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

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
  • 1495 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
  • 1084 Views
  • 4 replies
  • 0 kudos

Resolved! What is the value of R_ADC in STM32G474 (the resistance of ADC multiplexors)? The datasheet does not list this parameter.

The application note AN2834 states that this parameter should be listed in the device datasheet. This is true for MCU families like F4, but not for G4. I know that there is a difference between slow and fast channels, but where could I find precise v...

VMich.1 by Associate II
  • 2431 Views
  • 5 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
  • 756 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...