CPLD based Pierce oscillator
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
$begingroup$
I want to make a clock generator for Altera EPM240T100C5N using the CPLD itself as a Pierce oscillator. This CPLD has Schmitt trigger inputs so I guess this should be possible. What I`m not sure about is the reliability of this approach. Can I use a CPLD inverter to build an oscillator? If yes, how much influence will the supplied voltage have on the resulting jitter? Will there be much difference between 2.5V and 1.8V at 48 MHz?
oscillator programmable-logic schmitt-trigger jitter
$endgroup$
|
show 2 more comments
$begingroup$
I want to make a clock generator for Altera EPM240T100C5N using the CPLD itself as a Pierce oscillator. This CPLD has Schmitt trigger inputs so I guess this should be possible. What I`m not sure about is the reliability of this approach. Can I use a CPLD inverter to build an oscillator? If yes, how much influence will the supplied voltage have on the resulting jitter? Will there be much difference between 2.5V and 1.8V at 48 MHz?
oscillator programmable-logic schmitt-trigger jitter
$endgroup$
$begingroup$
not possible................ You can't design it, if you don't know how it works ( which is easy to search) Hysteresis is used for RC relaxation Oscillators only
$endgroup$
– Sunnyskyguy EE75
May 12 at 15:15
$begingroup$
I'm curious. Why not just use a crystal to provide a clock for the CPLD? You'd probably save a lot of space on your PCA.
$endgroup$
– KingDuken
May 12 at 15:20
2
$begingroup$
If you look at similar oscillators, you'll generally see they specify "unbuffered" inverters (such as the 74HCU04 - an unbuffered version of the 74HC04 - sold for precisely such purposes. If your CPLD doesn't advertise a pair of dedicated pins with an unbuffered inverter between them, it really isn't worth trying this approach.
$endgroup$
– Brian Drummond
May 12 at 15:27
4
$begingroup$
@KingDuken "Why not just use a crystal to provide a clock..." because a crystal is a passive component, and needs a correct amplifier circuit to make an oscillator. Perhaps you're thinking of a crystal oscillator in a can?
$endgroup$
– TimWescott
May 12 at 16:17
$begingroup$
@TimWescott I think KingDuken meant a passive crystal going to XTAL(TOSC) pins, I'm not a CPLD guru, but so far the CPLD's I've worked with has those pins.
$endgroup$
– Harry Svensson
May 12 at 18:06
|
show 2 more comments
$begingroup$
I want to make a clock generator for Altera EPM240T100C5N using the CPLD itself as a Pierce oscillator. This CPLD has Schmitt trigger inputs so I guess this should be possible. What I`m not sure about is the reliability of this approach. Can I use a CPLD inverter to build an oscillator? If yes, how much influence will the supplied voltage have on the resulting jitter? Will there be much difference between 2.5V and 1.8V at 48 MHz?
oscillator programmable-logic schmitt-trigger jitter
$endgroup$
I want to make a clock generator for Altera EPM240T100C5N using the CPLD itself as a Pierce oscillator. This CPLD has Schmitt trigger inputs so I guess this should be possible. What I`m not sure about is the reliability of this approach. Can I use a CPLD inverter to build an oscillator? If yes, how much influence will the supplied voltage have on the resulting jitter? Will there be much difference between 2.5V and 1.8V at 48 MHz?
oscillator programmable-logic schmitt-trigger jitter
oscillator programmable-logic schmitt-trigger jitter
asked May 12 at 15:06
hidefromkgbhidefromkgb
17212
17212
$begingroup$
not possible................ You can't design it, if you don't know how it works ( which is easy to search) Hysteresis is used for RC relaxation Oscillators only
$endgroup$
– Sunnyskyguy EE75
May 12 at 15:15
$begingroup$
I'm curious. Why not just use a crystal to provide a clock for the CPLD? You'd probably save a lot of space on your PCA.
$endgroup$
– KingDuken
May 12 at 15:20
2
$begingroup$
If you look at similar oscillators, you'll generally see they specify "unbuffered" inverters (such as the 74HCU04 - an unbuffered version of the 74HC04 - sold for precisely such purposes. If your CPLD doesn't advertise a pair of dedicated pins with an unbuffered inverter between them, it really isn't worth trying this approach.
$endgroup$
– Brian Drummond
May 12 at 15:27
4
$begingroup$
@KingDuken "Why not just use a crystal to provide a clock..." because a crystal is a passive component, and needs a correct amplifier circuit to make an oscillator. Perhaps you're thinking of a crystal oscillator in a can?
$endgroup$
– TimWescott
May 12 at 16:17
$begingroup$
@TimWescott I think KingDuken meant a passive crystal going to XTAL(TOSC) pins, I'm not a CPLD guru, but so far the CPLD's I've worked with has those pins.
$endgroup$
– Harry Svensson
May 12 at 18:06
|
show 2 more comments
$begingroup$
not possible................ You can't design it, if you don't know how it works ( which is easy to search) Hysteresis is used for RC relaxation Oscillators only
$endgroup$
– Sunnyskyguy EE75
May 12 at 15:15
$begingroup$
I'm curious. Why not just use a crystal to provide a clock for the CPLD? You'd probably save a lot of space on your PCA.
$endgroup$
– KingDuken
May 12 at 15:20
2
$begingroup$
If you look at similar oscillators, you'll generally see they specify "unbuffered" inverters (such as the 74HCU04 - an unbuffered version of the 74HC04 - sold for precisely such purposes. If your CPLD doesn't advertise a pair of dedicated pins with an unbuffered inverter between them, it really isn't worth trying this approach.
$endgroup$
– Brian Drummond
May 12 at 15:27
4
$begingroup$
@KingDuken "Why not just use a crystal to provide a clock..." because a crystal is a passive component, and needs a correct amplifier circuit to make an oscillator. Perhaps you're thinking of a crystal oscillator in a can?
$endgroup$
– TimWescott
May 12 at 16:17
$begingroup$
@TimWescott I think KingDuken meant a passive crystal going to XTAL(TOSC) pins, I'm not a CPLD guru, but so far the CPLD's I've worked with has those pins.
$endgroup$
– Harry Svensson
May 12 at 18:06
$begingroup$
not possible................ You can't design it, if you don't know how it works ( which is easy to search) Hysteresis is used for RC relaxation Oscillators only
$endgroup$
– Sunnyskyguy EE75
May 12 at 15:15
$begingroup$
not possible................ You can't design it, if you don't know how it works ( which is easy to search) Hysteresis is used for RC relaxation Oscillators only
$endgroup$
– Sunnyskyguy EE75
May 12 at 15:15
$begingroup$
I'm curious. Why not just use a crystal to provide a clock for the CPLD? You'd probably save a lot of space on your PCA.
$endgroup$
– KingDuken
May 12 at 15:20
$begingroup$
I'm curious. Why not just use a crystal to provide a clock for the CPLD? You'd probably save a lot of space on your PCA.
$endgroup$
– KingDuken
May 12 at 15:20
2
2
$begingroup$
If you look at similar oscillators, you'll generally see they specify "unbuffered" inverters (such as the 74HCU04 - an unbuffered version of the 74HC04 - sold for precisely such purposes. If your CPLD doesn't advertise a pair of dedicated pins with an unbuffered inverter between them, it really isn't worth trying this approach.
$endgroup$
– Brian Drummond
May 12 at 15:27
$begingroup$
If you look at similar oscillators, you'll generally see they specify "unbuffered" inverters (such as the 74HCU04 - an unbuffered version of the 74HC04 - sold for precisely such purposes. If your CPLD doesn't advertise a pair of dedicated pins with an unbuffered inverter between them, it really isn't worth trying this approach.
$endgroup$
– Brian Drummond
May 12 at 15:27
4
4
$begingroup$
@KingDuken "Why not just use a crystal to provide a clock..." because a crystal is a passive component, and needs a correct amplifier circuit to make an oscillator. Perhaps you're thinking of a crystal oscillator in a can?
$endgroup$
– TimWescott
May 12 at 16:17
$begingroup$
@KingDuken "Why not just use a crystal to provide a clock..." because a crystal is a passive component, and needs a correct amplifier circuit to make an oscillator. Perhaps you're thinking of a crystal oscillator in a can?
$endgroup$
– TimWescott
May 12 at 16:17
$begingroup$
@TimWescott I think KingDuken meant a passive crystal going to XTAL(TOSC) pins, I'm not a CPLD guru, but so far the CPLD's I've worked with has those pins.
$endgroup$
– Harry Svensson
May 12 at 18:06
$begingroup$
@TimWescott I think KingDuken meant a passive crystal going to XTAL(TOSC) pins, I'm not a CPLD guru, but so far the CPLD's I've worked with has those pins.
$endgroup$
– Harry Svensson
May 12 at 18:06
|
show 2 more comments
2 Answers
2
active
oldest
votes
$begingroup$
I do not recommend this approach. You may get some circuit to oscillate under some conditions but you may very well have problems with jitter, unreliable startup and off frequency operation.
You should instead use a ready made crystal oscillator part. These days these are very small parts and can be placed near to the FPGA. The oscillator application only requires a bypass capacitor across its power pins and for some applications a small value series termination resistor at the oscillator may be required.
$endgroup$
add a comment |
$begingroup$
This CPLD has Schmitt trigger inputs so I guess this should be possible.
Actually, if it has Schmitt trigger inputs it makes it impossible. A Schmitt trigger would just about guarantee that the oscillator would start up in a mode that excites the RC components of the circuits and bypasses the crystal altogether.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("schematics", function () {
StackExchange.schematics.init();
});
}, "cicuitlab");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "135"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f438115%2fcpld-based-pierce-oscillator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I do not recommend this approach. You may get some circuit to oscillate under some conditions but you may very well have problems with jitter, unreliable startup and off frequency operation.
You should instead use a ready made crystal oscillator part. These days these are very small parts and can be placed near to the FPGA. The oscillator application only requires a bypass capacitor across its power pins and for some applications a small value series termination resistor at the oscillator may be required.
$endgroup$
add a comment |
$begingroup$
I do not recommend this approach. You may get some circuit to oscillate under some conditions but you may very well have problems with jitter, unreliable startup and off frequency operation.
You should instead use a ready made crystal oscillator part. These days these are very small parts and can be placed near to the FPGA. The oscillator application only requires a bypass capacitor across its power pins and for some applications a small value series termination resistor at the oscillator may be required.
$endgroup$
add a comment |
$begingroup$
I do not recommend this approach. You may get some circuit to oscillate under some conditions but you may very well have problems with jitter, unreliable startup and off frequency operation.
You should instead use a ready made crystal oscillator part. These days these are very small parts and can be placed near to the FPGA. The oscillator application only requires a bypass capacitor across its power pins and for some applications a small value series termination resistor at the oscillator may be required.
$endgroup$
I do not recommend this approach. You may get some circuit to oscillate under some conditions but you may very well have problems with jitter, unreliable startup and off frequency operation.
You should instead use a ready made crystal oscillator part. These days these are very small parts and can be placed near to the FPGA. The oscillator application only requires a bypass capacitor across its power pins and for some applications a small value series termination resistor at the oscillator may be required.
answered May 12 at 15:21
Michael KarasMichael Karas
45.9k349107
45.9k349107
add a comment |
add a comment |
$begingroup$
This CPLD has Schmitt trigger inputs so I guess this should be possible.
Actually, if it has Schmitt trigger inputs it makes it impossible. A Schmitt trigger would just about guarantee that the oscillator would start up in a mode that excites the RC components of the circuits and bypasses the crystal altogether.
$endgroup$
add a comment |
$begingroup$
This CPLD has Schmitt trigger inputs so I guess this should be possible.
Actually, if it has Schmitt trigger inputs it makes it impossible. A Schmitt trigger would just about guarantee that the oscillator would start up in a mode that excites the RC components of the circuits and bypasses the crystal altogether.
$endgroup$
add a comment |
$begingroup$
This CPLD has Schmitt trigger inputs so I guess this should be possible.
Actually, if it has Schmitt trigger inputs it makes it impossible. A Schmitt trigger would just about guarantee that the oscillator would start up in a mode that excites the RC components of the circuits and bypasses the crystal altogether.
$endgroup$
This CPLD has Schmitt trigger inputs so I guess this should be possible.
Actually, if it has Schmitt trigger inputs it makes it impossible. A Schmitt trigger would just about guarantee that the oscillator would start up in a mode that excites the RC components of the circuits and bypasses the crystal altogether.
answered May 12 at 16:19
TimWescottTimWescott
8,6601719
8,6601719
add a comment |
add a comment |
Thanks for contributing an answer to Electrical Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f438115%2fcpld-based-pierce-oscillator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
not possible................ You can't design it, if you don't know how it works ( which is easy to search) Hysteresis is used for RC relaxation Oscillators only
$endgroup$
– Sunnyskyguy EE75
May 12 at 15:15
$begingroup$
I'm curious. Why not just use a crystal to provide a clock for the CPLD? You'd probably save a lot of space on your PCA.
$endgroup$
– KingDuken
May 12 at 15:20
2
$begingroup$
If you look at similar oscillators, you'll generally see they specify "unbuffered" inverters (such as the 74HCU04 - an unbuffered version of the 74HC04 - sold for precisely such purposes. If your CPLD doesn't advertise a pair of dedicated pins with an unbuffered inverter between them, it really isn't worth trying this approach.
$endgroup$
– Brian Drummond
May 12 at 15:27
4
$begingroup$
@KingDuken "Why not just use a crystal to provide a clock..." because a crystal is a passive component, and needs a correct amplifier circuit to make an oscillator. Perhaps you're thinking of a crystal oscillator in a can?
$endgroup$
– TimWescott
May 12 at 16:17
$begingroup$
@TimWescott I think KingDuken meant a passive crystal going to XTAL(TOSC) pins, I'm not a CPLD guru, but so far the CPLD's I've worked with has those pins.
$endgroup$
– Harry Svensson
May 12 at 18:06