STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F466 USART6 DMA2_Stream6 (TX/RX)

void init(){ RCC->AHB1ENR = RCC_APB1ENR_TIM12EN | RCC_APB1ENR_TIM13EN | RCC_APB1ENR_TIM14EN | RCC_AHB1ENR_GPIOAEN | RCC_AHB1ENR_GPIOBEN | RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIODEN | RCC_AHB1ENR_GPIOEEN | RCC_AHB1ENR_GPIOFEN | RCC_AHB1...

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
  • 1103 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
  • 582 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 II
  • 2016 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
  • 3822 Views
  • 12 replies
  • 0 kudos