STM32 MCUs Products

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
  • 607 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
  • 1798 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
  • 2333 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
  • 608 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
  • 776 Views
  • 3 replies
  • 0 kudos