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

STM32G071 Break Bidirectional IO always HIGH

Hi. I want to OR two comparators to produce one fault signal to external device. While comparators on event are generating TIM1_BRK_UP_TRG_COM_IRQHandler and TIM1->SR & TIM_SR_BIF is set to 1 and my PWM output (which I use for debug) is stopped the ...

KoRba88 by Associate III
  • 733 Views
  • 2 replies
  • 0 kudos

Cannot Program STM32F103c86

I have bought a new stm32f103c86 and I am trying to program it first time. To program the STM32 Blue Pill board I am using a using a USB to serial converter. The Rx and Tx pin of the Converter is connected to the A9 and A10 pin of the STM32 respect...

RR.7 by Associate II
  • 2084 Views
  • 9 replies
  • 0 kudos

Contents mismatch error (Flash = 00H) on STM32L4R5

Hello,I'm having a problem after having changed the AHB Prescaler while the code was running...It did work for like 5 minutes then the problem appeared and I'm not able to do anything nowHere is the error :Contents mismatch at: 08000000H (Flash=00H R...

AAit.1 by Associate
  • 2710 Views
  • 3 replies
  • 0 kudos

Timer 2 as likely watchdog

Dear,We using the STM32L071 and timer 2We will using a timer where the timer output is connected a relay. (watchdog functionality) The timer prescaler is set to a time of 2 sec. The output should be high when the timer counter is lower than the comp...

OGhis by Senior
  • 704 Views
  • 2 replies
  • 0 kudos

Resolved! Missing EXTI IR handler code

I'm using the EXTI1 interrupt and defined the EXTI1 handler like this:void EXTI1_IRQHandler(void) { __HAL_GPIO_EXTI_CLEAR_IT(GPIO_PIN_1); if (GPIOA->IDR & 0x0100 { EXTI->PR = 1; (void) EXTI->PR; NVIC_ClearPendingIRQ(EXTI0_IRQn); ...

FILE *stream via USART

Hi,I'am reading data through USART1 and USART2. I am sending the data over USART3 using printf. It works for a while but then stops.Here is my code:FILE *stream; char *buf; size_t len; void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { if (...

asttekin by Associate
  • 887 Views
  • 3 replies
  • 0 kudos

Resolved! Changing of ADC control and configuration bits of STM32L475

I have found that from the ref. manual, certain bits of ADC control and configuration bits when ADC enabled but in the drivers provided by the ST showing that they are changing only when the ADC is disabled. For reference, I have attached the screens...

0693W00000D0LHeQAN.png
Harish1 by Associate III
  • 2005 Views
  • 12 replies
  • 0 kudos