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

Reading worng first byte from serial flash

Posted on May 18, 2015 at 09:43Hi everyone, I'm working on custom board connecting STM32L152 to MX25L8006E (serial flash) using SPI driver. The SS is handle by me (software). I'm writing 24 bytes to some address and when i read from same address the...

moran by Associate II
  • 882 Views
  • 2 replies
  • 0 kudos

ADC to turn on LED HELP!

Posted on May 11, 2015 at 12:46 Hello, I want to read data from ADC so that a LED turns on when I connect 5V to the input pin of the ADC and turns OFF when I connect 0V to it. The problem is that the LED turns OFF when I connect 5V inste...

fiulala by Associate II
  • 780 Views
  • 3 replies
  • 0 kudos

updating CubeMX project if loops lost

Posted on May 12, 2015 at 16:10Hey, after I updated a CubeMX generated project again with CubeMX, all my if loops in the while loop were lost. Other loops outside of the main() are untouched. Where is the problem? Can anybody help me please? Thanks ...

gross by Associate II
  • 672 Views
  • 4 replies
  • 0 kudos

clock configuration in STM32F107Rc

Posted on May 17, 2015 at 08:49HiI want to use the dSPIN family firmware library for my board. The STM32F107RC and a 8MHz crystal are integrated on my board. I have problem with this library (system clock configuration) and I confused.I want to have...

yasamin by Associate II
  • 569 Views
  • 2 replies
  • 0 kudos

stm32f4 GPIO clock enable delay

Posted on May 17, 2015 at 01:06Hi,I just wanted to blink an LED on my STM32F4 discovery board. It should be easy, right? I grabbed Ross Wolin's blinky code off of github. https://github.com/rowol/stm32_discovery_arm_gccHere's the code of interest: /...

galens by Associate II
  • 1474 Views
  • 7 replies
  • 0 kudos

RTC Get Time Problem

Posted on May 17, 2015 at 19:32Hi there , Anyone can help me retrieve the current time on STM32F4 RTC unit. I already create necessary code to setup the RTC , enable it and set the time and date.But I find the Get Time function the hardest to deal w...

monta by Associate II
  • 426 Views
  • 1 replies
  • 0 kudos

Rotate Bitmap on SPI

Posted on May 15, 2015 at 13:45Hi there , I'm using this code to display a Bitmap (stored in an array) on a TFT.int Cnt = 128 * 128;int i = 1;SetAddrWindow(0,0,128,128);while (Cnt--) { writeData16(mainscreen[i]); i++;}However I get my image rotated ...

monta by Associate II
  • 585 Views
  • 2 replies
  • 0 kudos

STM32F4 I2S setup registers

Posted on May 12, 2015 at 18:34Hi all. I'm currently attempting to get the audio codec on the STM32F4 disco board working as I want to create a simple i2s codec library that will work with the Arduino/Libmaple port from Roger Clark (STM32Duino) I am...

defacato by Associate II
  • 1544 Views
  • 5 replies
  • 0 kudos

STM32F407VG wont boot after Flash

Posted on May 17, 2015 at 11:25Hey guys!I have an STM32F407VG on my board. I am able to bring it to the dfu mode.Then I am able to flash it using DfuSe (http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1533/PF257916) or using the dfu-util...

ADC multi channel & DMA reads only first channel

Posted on May 16, 2015 at 18:34I have a project with 3 channels DMA with STM32F407VGT (STM32F4-Discovery). The channels 2,3 and 4 (PA2, PA3, PA4) are used to read the ADC values. Its enough to read the values every 10 seconds. So the poling mode is ...

Osto by Senior
  • 1026 Views
  • 4 replies
  • 0 kudos