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

SPI CPHA Problem

Posted on March 25, 2016 at 22:53My application requires CPHA=1 in the SPI phase configuration of SPIx_CR1. STM32F030 family does not allow me to set CPHA to 1.  I did not see it in the errata.  Is there anyway to get around?  Thanks.

jwang by Associate II
  • 568 Views
  • 1 replies
  • 0 kudos

File STM32CubeL4.zip is currupted

Posted on March 24, 2016 at 16:18Hello,I'm unable to unzip the file STM32CubeL4.zip which I found from the link (http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1897/PF261908♯)  at the bottom of the page : http://www.st.com/web/catal...

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
  • 1532 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
  • 582 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...