Loading...
Loading...
Create high-quality reference designs for electronic components in Zener. Use when building a typical application circuit, reusable subcircuit module, or reference design for an IC — including studying the datasheet, structuring the design, choosing passives, writing the README, and iterating to a working build.
npx skill4agent add diodeinc/pcb reference-designcomponent-searchdatasheet-reader.zenpcb build reference/<NAME>pcb fmt reference/<NAME>SpiI2cUartRgmiipcb search -m registry:modules "<similar function>" -f json.zen~/.pcb/cache/dnp=idiomatic-zeneridiomatic-zenerxDP83867ISRGZRDP83867xreference/<PREFIX>x/
├── <PREFIX>x.zen # Main design file
├── pcb.toml # Empty or with non-auto dependencies
└── README.md # Usage guidepcb new package reference/<PREFIX>x_dnp=__RBIAS = Net("RBIAS")passives_size"0402"pcb build reference/<PREFIX>xpcb build.zenpcb fmt reference/<PREFIX>x| Purpose | Typical Value | Notes |
|---|---|---|
| Decoupling (digital) | 1µF per power pin | Place closest to pin |
| Decoupling (analog) | 100nF C0G + 10µF | C0G for low ESR |
| Decoupling (bulk) | 10µF–47µF | Near power input, X5R/X7R |
| I2C pull-ups | 2.2kΩ–4.7kΩ | To VDD, value depends on bus speed and capacitance |
| MDIO pull-up | 2.2kΩ | To VDDIO |
| SPI pull-up (CS) | 10kΩ | Keep CS deasserted at reset |
| Reset RC filter | 10kΩ pull-up + 100nF | ~1ms time constant |
| Bias resistor | Per datasheet (1% tolerance) | Always use exact datasheet value |
| LED current limit | 330Ω | ~10mA at 3.3V, adjust for target current |
| Crystal load caps | Per crystal spec | C0G dielectric, value from crystal datasheet formula |
# <NAME> Reference Design
Brief description of the IC and what this reference design provides.
## Features
- **IC**: MPN (package)
- Key electrical specs (voltage range, current, frequency, etc.)
- **Interfaces**: What buses/connections are exposed
- **Protection**: ESD, overcurrent, thermal features if relevant
## Interfaces
| Name | Type | Description |
|------|------|-------------|
| VIN | Power | Input supply (range) |
| VOUT | Power | Regulated output |
| GND | Ground | Common ground |
| SPI | Spi | Control interface |
## Usage
\```python
MyRef = Module("github.com/diodeinc/registry/reference/<NAME>/<NAME>.zen")
MyRef(
name="U1",
VIN=vin_3v3,
VOUT=vout_1v8,
GND=gnd,
SPI=spi_bus,
)
\```
## Design Notes
Document key design decisions, tradeoffs, and anything non-obvious:
- Why specific passive values were chosen
- Strap pin configurations and what they select
- Thermal considerations
- Layout-sensitive connections
## References
- [Datasheet](url)