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

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
  • 748 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
  • 2169 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
  • 3224 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
  • 1394 Views
  • 3 replies
  • 0 kudos

Could you give me some reason, why after run receiving I2S via DMA, the handler at half and full of fill of a buffer runs only once?

Configuration: DIR9001 as reciever of optical sound and convertor to I2SSTM32F407VG DISCOVERYSTM32 CUBE IDEAfter setting I2S, I can normally at while loop recieve valid I2S singnal from convertor. After change code to DMA and starting the DMA via con...

DZimn.1 by Associate
  • 348 Views
  • 0 replies
  • 0 kudos

Need help !!! I want to make 3 delay functions which works guaranteed delay in nanoSecond, microSecond and milliSeconds using Timer.

What i am currently using to achieve my goal.Few Details :1: STM32F103C8 Blue Pill2: CMISS core Library3:Datasheet, Reference Manual and Programming ManualI have attached two files. Which give you some idea that how I want to make These 3 functions. ...

Enabling a PWM kills ability to set state on some GPIOs

I am working with an STM32F777. I need to enable both GPIOs and PWMs (which ones is configured at run time by the application). Right now I'm seeing that some PWMs kill other GPIOs. For example if I turn on a PWM on TIM4 CH3 (PB8), it kills GPIOs on ...

CTack.1 by Associate
  • 524 Views
  • 1 replies
  • 0 kudos