STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Timer Duration Count With Interrupt

Posted on September 10, 2012 at 12:26A fairly basic thing to do which I am struggling to find any precise examples for.I want to be able to setup a Comms timeout - specifically on an SPI connection whereby if  I don't get a response to a command I s...

dclark9 by Associate II
  • 1324 Views
  • 5 replies
  • 0 kudos

STM32F4 USB Host HS for MSC

Posted on May 26, 2012 at 17:08hi all i try to work with usb host hs for msc. but no answer ! my program in this instruction looped :     do     {       status = USBH_MSC_Read10(&USB_OTG_Core, buff, sector, 512*count);       USBH_MSC_HandleBOTXfer(&...

jt1355 by Associate
  • 782 Views
  • 4 replies
  • 0 kudos

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
  • 461 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
  • 625 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
  • 839 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
  • 298 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
  • 328 Views
  • 0 replies
  • 0 kudos