From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90491 invoked by alias); 17 Dec 2015 11:17:40 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 90478 invoked by uid 89); 17 Dec 2015 11:17:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=2.5 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy==d0=be=d1, =d0=bb=d0=b8=d1, privat, Privat?= X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 17 Dec 2015 11:17:29 +0000 Received: from [10.2.2.142] ([109.199.162.209]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MKHMk-1aA53d0ORS-001gxw; Thu, 17 Dec 2015 12:17:23 +0100 To: =?UTF-8?B?SWxpamEgS29jaG8gW9CY0LvQuNGY0LAg0JrQvtGH0L5d?= , ecos-discuss@ecos.sourceware.org References: <56728F18.1040409@gmx.de> <5672976A.9030806@siva.com.mk> From: Privat Message-ID: <567299BF.8010000@gmx.de> Date: Thu, 17 Dec 2015 11:17:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5672976A.9030806@siva.com.mk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-UI-Out-Filterresults: notjunk:1;V01:K0:JdreigCRgfo=:Z8ovcZeDv09FqUpLq9C9yt Hj12P9B6GAtzHzNK9j3NTMvwvH6MLS9GKP/cZ+cMX7uy7KRWDy1xsL67B8YIuOBTxEVQB7hxH 5n9guz51tUuInAvopx1yESP9VnxUMuJJLRitIuI7uCDBtbC19ZOyDOY8GVlmCNxr0zfb8twuu pwyeR/cC6AoPA84IRWJk94M1FKH69X0RI44HJAqCXJXPhG7Ct9lRU/kRUcW2muinZ3m8sIr7G 9NXUXdg55tPA92DWHDu57MNTZ7X/9HJvXA9mUtTxcaC2r/BQGDo4gp7u6JUzBwdbmoor0qL99 HH+uGk3urt3677Hg0zSqgrgYmpX7/fA4n2iMCnHQfk9c/5AqYDpxTYLMzN6K8CFaFVZq97fiZ fy5dq+0gEqemyZP2RnZxeqDk/9xAQ7XyOoloSEsbz8I0f74KQ+LWF8MaMY40rM03BEta2v1QP 5nsP6GlRZfqCFIJfDiw7y0EHDfhLecshFN1eqyU8/Z5Jh011cpRxrbkRs389m+Ze3+wJb6veb E8hM6EAWngSPhl8hmfGR/CLv1BmdZ46Jai5q/LOTiD1NTdKgr4bpowpLb1esTRIPZisRWpPkX UbmbvFO0BFuLU+BlFl0Imn988kt6cjN3c+MMaCvfI7QtcOwzQC9Cz/Ic7jxUbOeF3WBJ22H+J Hu4AffqMyxnCSPT8fehWEiqWalgYHhkMOxfbsBMW2wcvTljNBg5bfzirWBZxxS6PB5YhpVpBL Od+vi8fcJXvryjVW1k2gQmnu1sSHinrRUhgskgA16ApV53SPb5vT61rKJH2Eth9meuZoVUjYp YZfgYY3 X-IsSubscribed: yes Subject: Re: [ECOS] Real Time Clock X-SW-Source: 2015-12/txt/msg00002.txt.bz2 Its a MPC5668x ? Am 17.12.2015 um 12:07 schrieb Ilija Kocho [Илија Кочо]: > On 17.12.2015 11:31, Privat wrote: >> Dear Ecos Developers and Maintainers, >> >> i have a question regarding the real time clock. >> I have a FreeSacle which runs at 116 Mhz, which means i have 1 000 000 >> 000 ns / 116 000 000 or 8ns per cycle. > Is it a Kinetis? > >> I set the dividend to 1000, and the divisor to 116 which following the >> documentation (http://ecos.sourceware.org/docs-2.0/ref/kernel-clocks.html) >> - should always yield the ratio of ns between clock ticks. >> Unfortunatly that does not result in correct values. >> >> Strange as it sounds, the default works near perfect. >> But reading the realtime clock resolution i got a dividend 1000000000 >> and a divisor of 1000 - which would be correct for a 100 Hz processor. >> >> Any help or advice is welcome. I would also like to know, how the system >> is able to derive its own cyclerate. >> >> Regards Picasso >> > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss