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

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
  • 2912 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
  • 748 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 II
  • 923 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
  • 2139 Views
  • 12 replies
  • 0 kudos

Resolved! Is this chip a genuine stm32 chip or clone?

I've been having a few problems uploading code to that chip ( having to press reset every time in addition to the inability to use the "ST-Link (GDB server)" option for debugging) and i was wondering if that was due to the fact that it might be fake...

0693W00000D15qpQAB.jpg
HAbay.1 by Associate III
  • 894 Views
  • 3 replies
  • 0 kudos

Interrupt safety issue in HAL_I2C_Mem_Read_DMA()

STM32Cube_FW_F0_V1.10.1Line 2434 in function HAL_I2C_Mem_Read_DMA()/* Process Unlocked */ __HAL_UNLOCK(hi2c);   /* Enable DMA Request */ hi2c->Instance->CR1 |= I2C_CR1_RXDMAEN;   /* Enable ERR and NACK interrupts */ I2C_Enable_IRQ...