STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Random hardfault on STM32F4

Hello,I have been struggling to make this post because I wanted to post a very clear question after I had found the source of the problem. However, I have been working on this problem nightly for two weeks now and even still I can't pinpoint precisel...

Resolved! G431 SPI - bits are not set.

First time i set up SPI, not using HAL.In the debug, i see that not a single bit is set.What am i doing wrong?  SPI_HandleTypeDef spiHandle; spiHandle.Instance = SPI2; // SPI_CR1_CPOL SET_BIT(spiHandle.Instance->CR1, SPI_BAUDRATEPRESCALER_256...

Tobe by Senior III
  • 1097 Views
  • 4 replies
  • 0 kudos

NVIC_PriorityGroupConfig() Undefined

Posted on February 26, 2016 at 03:02The processor is an STM32F373VC using STM32CubeMX generated code with the FREERTOS option enabled. I have attempted to add the code: NVIC_PriorityGroupConfig( NVIC_PRIORITYGROUP_4 ); to the code in main.c as instr...

spflanze by Associate II
  • 1098 Views
  • 4 replies
  • 1 kudos

STM32F411RE6: Analog input on PB5 and PB6 is always 0

Hi, I'm working with a STM32F411RE6 on a pcb and i've noticed that trying to read an input from PB5 and PB6  just returns 0. I've tried fiddling with the registers eg. setting them to analog input mode, pullup, pulldown and left floating but none of ...

Screenshot from 2024-03-30 09-31-46.png
Vandi by Associate
  • 480 Views
  • 2 replies
  • 1 kudos

Generate PWM output based on input capture

Hi, I am trying to sense a signal through TIM1 channel 1 by configuring as Input capture and Measure the signal frequency and Pulse width. Now I want to generate a signal with a phase delay after the falling edge of the input capture pulse. It should...

VGani.1 by Associate III
  • 372 Views
  • 0 replies
  • 0 kudos

Communicating with I2C DMA Without Interrupt

Hi, I am trying to communicate with i2c DMA without interrupt. My MCU is STM32G474RET6.I've read that it is possible but can't find how to do it. How can i communicate in slave mode with i2c dma? Since my interrupts disabled, can't use the callback f...

gunccc by Associate II
  • 3735 Views
  • 6 replies
  • 0 kudos

Resolved! STM32L452 LSE & PC13 Errata

Hi We use an STM32L452 with an external LSE (32.786 kHz) oscillator. We would like to use PC13 as a GPIO input with interrupt. In the errata sheet for the STM32L452 (ES0388 Rev9) I find the following entry:“2.2.12 PC13 signal transitions disturb LSED...

MMeie.3 by Associate II
  • 3018 Views
  • 10 replies
  • 0 kudos

CONFUSION IN USART BLOCK DIAGRAM

Hi, I have a confusion between these 2 USART Block diagram. Figure 1 and Figure 2.Figure 1 shows that the flow of the RX is from RX ENDEC block -> RDR -> Receiver control.Figure 2 shows that the flow of the RX is from RX ENDEC block -> Receive shift ...

1.JPG 2.JPG
WM_IR by Senior
  • 683 Views
  • 2 replies
  • 0 kudos