Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: Meaning of Trace View columns

$
0
0
Hi, So let’s stay with the time stamp. We have an external oscillator 12 MHz (XTAL). It gets multiplied (on the board somehow - I am not really a hardware engineer – by some PLL circuit I am told) to 192 MHz “internal clock source frequency”. ICLK is then generated from that clock by dividing  it (192MHz)  by 2, so it is 96MHz (ICLK=96MHz). So how do I calculate the time based on ICLK 96MHz and the “TimeStamp (Count)” of 218822. What is the formula? The document says: “[RX630, RX631, RX63N Group MCUs] When using EXTAL: ICLK (performance counters used) – What are performance counters? When not using EXTAL: Selected clock source x 1” What does “When using EXTAL…” mean? When EXTAL is used where? We are using both for different purposes. I gave it a test. I know that the time between two calls of the function scatms_Transfer is 100ms. If I use the formula above the way I understand: e.g: 96Mhz is about 10 nsecond. I treat every TimeStamp (Count) as one cycle that is 10ns 1)     First call: TimeStamp (Count) 218822*10ns gives 2.1 ms. Is that right? 2)     Second Call TimeStamp (Count) 469986*10ns gives me  4.6ms So the difference is just 2 ms – which is incorrect. So I am obviously doing something wrong, but what?   Regards, Janusz

Viewing all articles
Browse latest Browse all 59170

Trending Articles