STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Receiving wrong Data in UART in Nucleo Board.

Hi, I was testing UART communication using F446RE Nucleo Board. I was sending data to COM port by a python program running in PC and trying the receive to same data.ser.write(serial.to_bytes([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15])) print...

SayanSeth by Associate II
  • 1166 Views
  • 4 replies
  • 0 kudos

STM32L072 (B-L072Z-LRWAN1) - SPI2 not working

Hi,I'm working with B-L072Z-LRWAN1 platform and struggle to see a signal on SPI2.My SPI2 is connected on an accelerometer. It is configured as follow:void HW_IMU_SPI_Init( void ) { /*##-1- Configure the SPI peripheral */ /* Set the SPI parameters...

NGugg.1 by Associate II
  • 638 Views
  • 4 replies
  • 0 kudos

Not able to handle multiple external interrupts.

How to handle multiple External (more than 2 )interrupts on same port (eg Port A) of STM32. my code is below , I wants to know that how can I Differentiate External interrupt 0 And 1. I have configured pushbutton1 on PA0, Pushbutton2 on PA1, pushbutt...

STAR by Associate II
  • 1671 Views
  • 10 replies
  • 0 kudos

Best way to mate interrupts with c++ periephal drivers?

Hey!​Lets say I write general Can periephal driver in c++ for stm32f4 series(which I'm actually doing), then interrupt handlers for can1 and can2.​Now the proplem is how do I tell lets say can 1 rx interrupt, that >>this instance of object<< is the ...

JoniS by Senior
  • 2645 Views
  • 6 replies
  • 0 kudos

__set_BASEPRI -- implicit declaration

__set_PRIMASK(1); // No error __set_BASEPRI(3 << 4); // Implicit declarationThis is a snippet of my code from keil uvision5. But, the IDE results in a syntax error; implicit declaration of function ' __set_BASEPRI ' is inval...

0690X00000D8iehQAB.png
ASeyo by Associate II
  • 1038 Views
  • 3 replies
  • 0 kudos