Jiadong Yao
Member level 1
- Joined
- Mar 19, 2014
- Messages
- 40
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 278
Reference thread:
https://www.edaboard.com/threads/175050/
Hi. I know it has been a long time. But I DO have a question about the Fosc. Indeed, this is the frequency of oscillator. Could you tell me, Fosc is internal frequency or external frequency?
I have this confusion because once a while, Fosc and FRC appear at the same time. The Frc is the "clock derived from A/D RC oscillator".
Many thanks
https://www.edaboard.com/threads/175050/
FOSC is the oscillator frequency, as "OSC" means oscillator. So, it's 16 MHz. And TOSC is the oscillator period, which is 0.0625 us.
But, for the program execution, the clock source is divided by 4 to generate 4 phases, which are named as Q1, Q2, Q3 and Q4. And instructions are executed in 4 phases, so TCY = 4 * TOSC. So, each instruction is executed in 0.25 us, except the ones that require 2 TCY.
But the formula for the calculation of the TAD in the datasheet uses TOSC, not TCY.
Hi. I know it has been a long time. But I DO have a question about the Fosc. Indeed, this is the frequency of oscillator. Could you tell me, Fosc is internal frequency or external frequency?
I have this confusion because once a while, Fosc and FRC appear at the same time. The Frc is the "clock derived from A/D RC oscillator".
Many thanks
Last edited by a moderator: