STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 627 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
  • 804 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
  • 1677 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
  • 696 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...

STM32 and json

Hi Guys,I´m working with STM32F429ZI and I´d like integrate a project with json library. What is the best way? Are there ST json library? to STM32?Where can I find examples?Thanks,Geraldo.

occurred fault during HAL_RCC_OscConfig

Hi,​I am using ST32F446RC.After jumping from bootloader to application, an fault occurs during clock setting(HAL_RCC_OscConfig function). The bootloader code and application code use the same clock code as below.static void SystemClock_Config(void) {...

HKim.23 by Associate III
  • 686 Views
  • 1 replies
  • 0 kudos