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

SPI2 problem on STM32F013.

Posted on September 19, 2014 at 03:46Hi,I working with STM32F103 chip and trying to test SPI2. I use the example from: STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\SPI\SPI_FLASHBut replace#define sFLASH_SPI                    ...

nhandt3 by Associate II
  • 645 Views
  • 2 replies
  • 0 kudos

STM32F4: In encoder mode, TIM2 counts only in one direction

Posted on September 10, 2014 at 08:54Hi All,I have a quadrature encoder interfaced to my STM32F427 using TIM2.In encoder mode, TIM2 counts up in one direction of the motor but does not count up/down in the other direction.I am adding my init code be...

jiss by Associate
  • 1004 Views
  • 2 replies
  • 0 kudos

STM32F103 & LCD Display

Posted on September 16, 2014 at 17:38Hi everybody,I'm working about the creation of an automotive dashboard and I'm going to use a STM32 microcontroller, in particular a STM32F103.I'd like to have some suggestions about the LCD display choice, here ...

emilio by Associate II
  • 2066 Views
  • 7 replies
  • 0 kudos

STM32F4Discovery LIS302DL or LIS3DSH

Posted on January 30, 2014 at 14:47I've been running the demonstration code and it's been failing in the MEMS selftest.The function call below puts 0x3F into temp whereas the value in the datasheet and in the function states it should be 0x3B. The v...

jim by Associate II
  • 1204 Views
  • 4 replies
  • 0 kudos

Using multiple GPIO interupts with STM32L053 Nucleo board

Posted on September 16, 2014 at 13:54I am trying to use multiple interupts on my nucleo board. I have used the cube hal. My problem is that I dont get the interrupts generated on the PB0 pin, but the PB1 works ok. I have tried to do the intializati...

johan2 by Associate II
  • 528 Views
  • 2 replies
  • 0 kudos

STM32CubeMx with FreeRTOS, LED, UART stuck in infinite loop

Posted on July 31, 2014 at 03:55 Hi there, I am using the STM32CubeMx code generator with the STM32L053 discovery board. In CubeMx, I enabled USART2 and changed the baud rate to 9600. Also, I configured the pins PA0 for user push button, PA5 for...

0690X00000605XWQAY.png
jephua by Associate II
  • 1150 Views
  • 9 replies
  • 0 kudos

SPI DMA Rx transfer error

Posted on September 18, 2014 at 02:05I want to change polling SPI to DMA SPI. Now I get stuck and have looked up lots of material. None of them is working for me. The original polling SPI code works fine. I implemented the following code for the DMA...

intcd31 by Associate II
  • 1565 Views
  • 11 replies
  • 0 kudos

STM32F103 SysTick Timer Problems

Posted on September 18, 2014 at 13:24Hello community,first of all I’m using the STM32F103RCT6, CooCox IDE 1.7.7 and ARM GCC 4.8. Now to my problem. I’m trying to implement a task similar processing by using the Systick timer. I initialized the SysTi...

STM32F205 - Store byte array in FLASH

Posted on August 01, 2013 at 10:33Hi,I need to store a byte array in the STM32F205 flash memory. I've followed an approach that was working on a STM32F103 mcu, but now it doesn't work anymore.The problem is that the first call to the FLASH_ProgramBy...

TIM1 interrupt STM32F0

Posted on September 15, 2014 at 13:56Hi,I need to know if it's possible configure TIM1 as timer base (I need interrupt every 5 msec). Thanks

mosine by Associate II
  • 1412 Views
  • 5 replies
  • 0 kudos