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

STM32F4 - Reinitializing I2C driver

Posted on September 07, 2016 at 09:41Hi, I'm trying to deinit and then init the I2C driver during runtime of the STM32F411. I2C1 generally works when initializing the drivers once, but when I deinit and then init them, I get a start-bit timeout - th...

gkovelman by Associate II
  • 1229 Views
  • 1 replies
  • 0 kudos

Nucleo external 32khz clock.

Posted on September 06, 2016 at 03:15Hi Everyone.I'm having trouble starting the external 32khz RTC source as fitted to the Nucleo. Are there any issues with this clock on the Nucleo, has anyone got it to work?ThanksMartin

mbmail4 by Associate II
  • 987 Views
  • 7 replies
  • 0 kudos

SDADC problem in single-ended mode.

Posted on September 04, 2016 at 10:02Hi,I meet a problem with my project in which a STM32F373 MCU is used to collect singnal in single-ended mode.I short the pin with GND to test the board,the ADC values I get seems to fluctuate like saw-tooth.The g...

0690X00000603BzQAI.jpg
txmsszd by Associate II
  • 1848 Views
  • 10 replies
  • 0 kudos

How to handle overflows in a register like DWT_CYCCNT

Posted on September 06, 2016 at 20:40There are examples counting clock pulses with the DWT_CYCCNT, but it will overflow in time. Counting pulses is easy if there is no overflow, but with overflow I am sure there nice way of doing it. I could do some...

LMI2 by Lead
  • 1014 Views
  • 5 replies
  • 0 kudos

Reading the device type in user software

Posted on September 06, 2016 at 21:37Is it possible to read the device type in user code?  I would like to write some code that uses the crypto acceleration hardware if it is running on an STM32F415 and falls back to software implementations if it i...

ron2399 by Associate II
  • 402 Views
  • 1 replies
  • 0 kudos

How to print unsigned int always positive

Posted on September 06, 2016 at 18:47 This is more of a C problem than Arm problem, here too are some people who know their C. I am reading the value of DWT_CYCCNT; When print it via Uart, after a while it becomes negative. The most ...

LMI2 by Lead
  • 571 Views
  • 3 replies
  • 0 kudos

Embedded bootloader

Posted on September 05, 2016 at 17:54I am messing around with the SMT32F429 discovery EVK. I am trying to play with booting into the internal bootloader and may have blown it away. Using IAR workbench I look at the device's memory location 0x1fff000...

CubeMX bug : MDK project

Posted on August 19, 2016 at 15:41CubeMX breaks your MDK project if you have added ''Project Targets''.1. Generate MDK project from CubeMX2. Add Project Targets (ex. Project_DEBUG, Project_Optimize_O3)3. Change a setting in CubeMX project, example c...