cancel
Showing results for 
Search instead for 
Did you mean: 

SysTick Interrupt

charles2399
Associate II
Posted on November 16, 2008 at 08:29

SysTick Interrupt

4 REPLIES 4
charles2399
Associate II
Posted on May 17, 2011 at 12:50

I am having a problem getting the systick interrupt. Yes I new to ARM prducts.

The SysTic control register shows the interrupt is enabled, count flag is 1, and mult-shot is enabled.

The Interrupt Control State register shows systick interrupt is pending and the vector is 15.

The I and F flags in CPS register are 0 (interrupts are enabled).

Execution is out of sram and the vector tables is moved to 0x2000E800 and the TVOR register shows the correct vector table address.

Does anyone know what is wrong?

- Chuck

16-32micros
Associate III
Posted on May 17, 2011 at 12:50

Hi Charles,

You get be inspired by using the

http://www.st.com/stonline/products/support/micro/files/um0427.zip

on web and then to this example : STM32F10xFWLib_v2.0.3\FWLib\examples\SysTick

Cheers,

STOne-32.

charles2399
Associate II
Posted on May 17, 2011 at 12:50

I am trying to use the systick example from the FW library.

We are using the Green Hills suite and ST does not provide support for this tool set. So I have had modify the examplet for the Green Hills SW.

Boot pins are 00, the vectors located at 0x2000e800 is SRAM.

Still no interrupts.

Any suggestion?

Posted on May 17, 2011 at 12:51

In case you're using the stm32f10x_it.c/.h files from the example to handle the interrupt, there's a typo which you should fix:

Code:

void SysTickHandler(void)

should be

Code:

void SysTick_Handler(void)