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

General C question - volatile cast

Posted on November 30, 2015 at 19:31Hello,Using a lot of global variables modified into ISR sections, I use a lot the ''volatile'' keyword when needed.volatile int foo;int square(int din){   return din*din;}result = square(foo); // Does not compile:...

tarzan2 by Associate III
  • 628 Views
  • 2 replies
  • 0 kudos

STM32F072B-DISCOVERY

Posted on November 30, 2015 at 11:28Hi, I have a STM32F072B-DISCOVERY microcontroller and I've been working on some simple projects. I tried downloading snippets for my board, which included using Touch Seinsing panel placed on the board. My problem...

cravaour by Associate II
  • 1118 Views
  • 5 replies
  • 0 kudos

STM32F746 ADC1 and temperature sensor

Posted on December 01, 2015 at 01:07Hi all, I am writing an application using the stm32cubef7 where I need to sample the temperature sensor channel of ADC1. According to the STM32F746 reference manual the temperature sensor is on channel 18 of ADC1,...

STM32F051R8 SPIx->DR data in high byte

Posted on December 01, 2015 at 01:35I have set the data size to 8 bits for SPI on SPI1 using the pins PB3,4,5, PA15. I see 8 bits of data on the MOSI line corresponding to the 8 bits I put into SPI1-DR. But on the rx side I see the 8 rx bits in SPI-...

rlegault by Associate II
  • 406 Views
  • 0 replies
  • 0 kudos

Periodic wakeup interrupt does not raise

Posted on November 12, 2014 at 10:33 Hi at all, I'm working on an stm32f4 trying to use the RTC periodic interrupt but it doesn't work; I'm using an RTC with a 768KHz external oscillator and a working frequency of 1Hz. The RTC set-up is quit...

DUrbano by Associate III
  • 1110 Views
  • 7 replies
  • 0 kudos

Query on IAP over UART for STM32F072C8

Posted on November 27, 2015 at 18:41  The original post was too long to process during our migration. Please click on the attachment to read the original post.

gmate1 by Associate II
  • 720 Views
  • 3 replies
  • 0 kudos

stm32f756 uclinux - system hang on init

Posted on November 30, 2015 at 13:53hello I make custom board with sdram and use stm32f756 chip. Then I try to run modyfied my self version of uclinux (and u-boot) - but system hangs. this is callstack that I build with 2 leds (early printk don't wo...