Skip to content

jsl/circuits/CrystalResonator

Package name: jsl/circuits/CrystalResonator

Summary

General Definitions

Function Description
create-crystal-resonator Construct a Crystal Resonator Circuit

Definitions

General Definitions

create-crystal-resonator

Construct a Crystal Resonator Circuit

public defn create-crystal-resonator ( -- xtal-type:Instantiable, C-load:Toleranced, C-stray:Toleranced, V-rating:Double, prec:Percentage = ?, query?:CapacitorQuery = ?) -> Instantiable

  • xtal-type: Instantiable - Crystal that will be instantiated and connected with load capacitors
  • C-load: Toleranced - Load Capacitance of the Crystal.
  • C-stray: Toleranced - Stray capacitance in the traces and input/output pins of the IC oscillator that this circuit will attach to.
  • V-rating: Double - Minimum voltage rating for the capacitors selected for this circuit. The user is assumed to have added the necessary voltage derating for their application.
  • prec: Percentage - Capacitor Value Precision Series that load capacitors will be selected from.
  • query?: CapacitorQuery - Override-able base query for the capacitor selection. By default, this algorithm filters on:

  • Type = "ceramic"

  • Temp Code = "C0G"
  • Min Voltage = V-rating
  • Returns Instantiable - A pcb-module definition that can be instantiated to form the resonant tank for a crystal resonator. This module will have the following ports:

  • p[[1, 2]] - Crystal connections

  • COMMON - Common reference, typically ground.

Related Packages

Forwarded by package: jsl/circuits