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

SYSTICK is really funky - I think

Posted on September 10, 2012 at 09:25In my application I set up SysTick with: SysTick_Config(SystemCoreClock / 1000);to generate a 1ms interrupt.I got some weird timing anomalies and eventually used a timer interrupt to generate 1ms interrupts using...

carl2399 by Associate III
  • 505 Views
  • 1 replies
  • 0 kudos

Internal temperature sensor

Posted on July 02, 2011 at 20:18Hello.I'm trying to use the internal temperature sensor, but I can't understand the reference manual formula:  Temp = ((V25 - Vsense) / Avg_slope) + 25).In the product datasheet, it says V25 is 1.41 V and Avg_slope is...

Recover ST-LINK firmware

Posted on September 07, 2012 at 14:29Hi, I would like to know if its posible to restore st-link firmware on the STM32F103C8. I have 2 boards and I tried to program it to play a little with USB. Can I restore it? How? Thanks in advance.

rmarku by Associate
  • 684 Views
  • 1 replies
  • 0 kudos

HSERDY bit is always 0

Posted on September 08, 2012 at 14:48Hi guys, I have a board from hardware guys who told me they had tested this board and everything is fine including SPI1. But I cannot let my SPI1 working because status register bit TXE is always 0. From the spec...

UART4 Rx

Posted on September 10, 2012 at 04:03Hello every1, few days ago i had a problem with uart tx and nw i have solved that problem. so my tx is working fine now. my rx is working too but very slow and gets junk values. below is my code. int main(void) {...

vivek2 by Associate II
  • 870 Views
  • 4 replies
  • 0 kudos

Unwanted breakpoint after hardfault

Posted on September 10, 2012 at 14:29Greetings,I'm trying to test a hard fault handler, but are having some problems with executing it.I generate the hard fault the following way:MOVS r0, &sharp1 LDM r0,{r1-r2} BX LRThe problem is that the code brea...

th2 by Associate
  • 324 Views
  • 0 replies
  • 0 kudos

ST-Link not working after sysclk is lowered

Posted on September 10, 2012 at 09:40Hi, I am having an issue with ST-LinkV2 on a STM32L-discovery board not communicating with the IAR debugger after the system clock is lowered. In my code, I started off with the sysclk at 4.194Mhz (using the MSI)...

songgee by Associate
  • 348 Views
  • 0 replies
  • 0 kudos

how to update TIM_Period when timer i running

Posted on September 09, 2012 at 21:55Hi I need to be able to update the Period for a timer (TIM3) I though it was simple, but no.I have tried :else if(TIM_GetITStatus(TIM3, TIM_IT_Update) != RESET){ ledTimeBaseStructure.TIM_Period = newValue; TIM_Ti...

spa23 by Associate III
  • 345 Views
  • 1 replies
  • 0 kudos