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

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
  • 1840 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
  • 999 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
  • 401 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
  • 568 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...

[STM32F7] SMBus stack

Posted on September 06, 2016 at 11:36Hi,I want to read the battery status from a smart battery using SMBus. I found the Cube extension ''X-CUBE-SMBUS''. http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embe...

smrtkai by Senior
  • 672 Views
  • 3 replies
  • 0 kudos

ETH_MACDBGR not in the device headers

Posted on September 02, 2016 at 14:01While the reference manuals list ETH_MACDBGR as offset 0x34 in the ETH register space, ETH offset 34 is only listed as RESERVED1[1] in the device headers.