/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / enum eSpeed doc error or OS error ?

Username:     
Password:     
             

Forum

# 1   2007-11-01 13:31:51 enum eSpeed doc error or OS error ?

ThomasScherrer
Member
From: Denmark
Registered: 2007-10-29
Posts: 64
Website

enum eSpeed doc error or OS error ?

I use OS 1.6 and the doc htms set for 1.5, sorry no docs avail for 1.6 ??

enum eSpeed 

Available clock speeds.
Enumerator:
SPEED_LOW  Low speed. 
SPEED_VERY_LOW  Very low speed. 
SPEED_MEDIUM  Medium speed. 
SPEED_HIGH  High speed. 
SPEED_VERY_HIGH  Very high speed. 

if I call the change CPU speed:
UTIL_SetPll(SPEED_VERY_HIGH); 
this should give me the FASTEST possible speed !
but I only get speed 4 not 5

I tried this:
UTIL_SetPll(5);  // works give me max speed


Thomas Scherrer Denmark webx.dk

Offline

 

# 2   2007-11-07 11:04:20 enum eSpeed doc error or OS error ?

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: enum eSpeed doc error or OS error ?

You are right... Circle.h and Circle_API.h contained different definitions.
Fixed in CircleOS V1.7

Thanks!

Offline

 

# 3   2007-11-07 14:00:20 enum eSpeed doc error or OS error ?

michaelc21
New member
Registered: 2007-11-06
Posts: 6

Re: enum eSpeed doc error or OS error ?

I would like to  know   who  call   the  "SysTickHandler( ) " function  every  1ms?  I mean the  Circle OS, 

interrupt ?   I can not  find  the  caller .  would please   remind  ,  thank you !

Offline

 

# 4   2007-11-07 20:41:03 enum eSpeed doc error or OS error ?

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: enum eSpeed doc error or OS error ?

The SysTickHandler is called by the SysTick interrupt request (see CiircleStartup.c).

Offline

 

# 5   2007-11-08 01:52:09 enum eSpeed doc error or OS error ?

michaelc21
New member
Registered: 2007-11-06
Posts: 6

Re: enum eSpeed doc error or OS error ?

Thank you.
Still about SysTickHandler(), but who make the  interrupt ,  timer?
which timer?   where to find the  root source of  the interrupt?

Offline

 

# 6   2007-11-08 10:11:49 enum eSpeed doc error or OS error ?

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: enum eSpeed doc error or OS error ?

The systick timer is in the CortexM3 core. It's directly connected to the CPU clock that is divided... but it behaves as a simple standard timer. It has its own interrupt vector.

Offline

 

# 7   2007-11-08 16:38:47 enum eSpeed doc error or OS error ?

michaelc21
New member
Registered: 2007-11-06
Posts: 6

Re: enum eSpeed doc error or OS error ?

Thank you very much.
I study the  CircleOS just  like the  8051 series MCU ' code. May be it is  not right.

Offline

 

Board footer