STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

F411 How to Generate 1 micro second interrupt

I am using F411. The sample code in F411 package can generate timer interrupt in terms of millisecond. I tried to play with some of the parameters like Prescaler, etc, but I could not make any difference. Can anyone give some advice on the relations ...

HDaji.1 by Senior
  • 1443 Views
  • 9 replies
  • 0 kudos

Im using the STM32L432 and I need to transmit data to a Raspberry Pi over I²c. In my project the STM32 is a slave and the Raspberry Pi is the master.

I am able to send & receive 1 integer over the I²c bus but I'm stuck how I can send more integers in 1 commando. Can someone help me please?#include "main.h" #include "string.h" #include "stdio.h"   I2C_HandleTypeDef hi2c1; UART_HandleTypeDef huart2;...

WFouq.1 by Associate II
  • 717 Views
  • 2 replies
  • 0 kudos

Resolved! Distinguish between PA and PB external interrupts

I am trying to understand the external interrupts for the STM32F103C8. It seems that I can attach an interrupt to any of the PA or PB pins. The first 5 pins (0-4) seem to have unique IRQ handlers, whereas pins 5-9 share a handler as does 10-13. When ...

JGaby.1 by Associate III
  • 2424 Views
  • 1 replies
  • 1 kudos

STM32F407 HAL_UARTEx_ReceiveToIdle() function missing

Hello. I am working on a project where i need to get different lenghts of data using UART and preferebly with least possible amount of iterrupts, so ive settled to using HAL_UARTEx_ReceiveToIdle() function (when testing the project on F103), but when...

DBara.1 by Associate II
  • 4612 Views
  • 12 replies
  • 0 kudos

STM32L0xx - why is PA4 initialized as digital input?

In STM32L0xx, all pins are initialized as Analog, except PA13/PA14 which are SWDIO/SWCLK, initialized as AF; and PA4, which is initialized as [digital] Input.I can't find any reason for the latter.It's not that important, and I can simply take it as ...

OTA update

I would like to know if the following is possible and if so, where can I find information about it.I have a STM32L010K8 micro connected via USART to an LTE CHIP (BG96) through which I can get the firmware update that runs on the microcontroller. I co...

YOrop.1 by Associate
  • 1045 Views
  • 2 replies
  • 0 kudos

STM32F3 - Permissible Magnetic Field Strength

I am currently using the STM32F3 series microcontroller (STM32F303CB) in a magnetic sensing application. Since the environment is prone to magnetic field, I wish to know the maximum field strength that the microcontroller can withstand.I could not fi...

MagSense by Associate II
  • 1277 Views
  • 2 replies
  • 0 kudos