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

CAN Stuff Error - Acknowledge

Posted on July 23, 2015 at 11:27I have a problem with the CAN Interrupt.My application is only listening, then I disconnect the CAN plug and get sometimes a CAN Stuff Error, this is ok, because it happens really.I read out the error and acknowlege i...

mmetzger by Associate II
  • 1386 Views
  • 6 replies
  • 0 kudos

Using Locks in STM32L4/F4 without RTOS

Posted on March 23, 2016 at 05:55Hi, Is there a  way to prevent the critical section of the code using Locks in STM32 code witout using an RTOS.Or in another way any variable which gurantees the portion of the code execution in an atomic fashion. ...

darla14 by Senior
  • 533 Views
  • 2 replies
  • 0 kudos

trigger adc after counter is reached

Posted on March 21, 2016 at 23:50Hello there, I was wondering either in STM32F4 it is possible, to get a similar functionality to C2000 one, that can trigger an ADC conversion after certain counter valueon a timer is reached, like here: https://www....

Need help understanding error

Posted on September 02, 2015 at 15:02Hi I am using the STM32F303RE and SdPeriph library v1.2.3. Whenever I build my code I get this error: STM32F30x_StdPeriph_Driver\src\stm32f30x_rcc.c(994): error:  #268: declaration may not appear after executable...

why would SetSysClock enable the HSE for stm32L1x

Posted on March 24, 2016 at 21:46I am developing a low power application for the stm32L151RC and after a lot of debugging noticed that the system_stm32l1xx.c file does a  RCC->CR |= ((uint32_t)RCC_CR_HSEON);Why would it do that. Why not just continu...

HSI never ready on STM32F4 Discovery

Posted on March 24, 2016 at 15:33I'm trying to set up the RTC on the Disco, have read some documentation, and looked at the many examples that are out there. But I fell at the first hurdle:      RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR,ENABLE);    ...