STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to properly temporarily disable UART reception ?

Hello,we have UART based communication that cause crosstalk between RX and TX lines.It can't be fixed, so I'd like to solve it in SW.I'd like to temporarily disable/enable UART reception before/after sending on UART.I'm already putting DMA into Pause...

bully by Senior
  • 2057 Views
  • 5 replies
  • 0 kudos

Resolved! How to generate 2 sync square signals with timers

I would appreciate if someone could provide me with some tips about how to accomplish this in an optimal way.I want to generate a square signal in one pin, and exactly the double in other, both must be synchronized.My first approach was to use one ti...

DAlvarez by Associate II
  • 514 Views
  • 2 replies
  • 0 kudos

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
  • 493 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
  • 1326 Views
  • 9 replies
  • 0 kudos

Bad FW behavior on first debug session

Working on uvison5 keil IDEWhen I start the first debug session I don't get any interrupts (BLE).Only after pressing the "Rst" button, and jumping back to .s file the ISRs work.What am I doing wrong?

DS.4 by Senior II
  • 285 Views
  • 0 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
  • 1936 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
  • 538 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); ...