# Programmable RF BPF Board — Flux.ai Prompt Design a **complete programmable RF band-pass filter PCB from scratch** including schematic, PCB placement, routing constraints, power supplies, USB interface, and manufacturing outputs. ## Primary Requirements * **RF filter IC:** Analog Devices **ADMV8052** * **Microcontroller:** STMicroelectronics **STM32H743VIT6** (LQFP-100) * **RF operating range:** **30 MHz to 520 MHz** * **PCB size:** **110 mm × 90 mm** * **PCB stack-up:** **2-layer FR-4, 1.6 mm, 1 oz copper** * **RF connectors:** **edge-mount SMA female**, one RF IN and one RF OUT * **Power input:** **+6 V and −6 V** through a 2-pin header * **Programming/debug:** **USB-C connector** for STM32 plus **SWD 2×5 header** * **Control interface:** STM32 controls ADMV8052 using **SPI** ## Generate a Complete Design Create: 1. Full schematic with component values. 2. PCB layout with component placement. 3. Routing constraints for RF and digital nets. 4. Power-tree design. 5. Grounding strategy. 6. Manufacturing-ready BOM with manufacturer part numbers where possible. ## RF Design Constraints * Place SMA input and output connectors on opposite board edges to create a straight RF path. * Place **ADMV8052 centrally between the SMA connectors**. * Use **50 Ω coplanar waveguide with ground (CPWG)** on the top layer for all RF traces. * Keep RF traces short, straight, and symmetric. * Avoid stubs and unnecessary vias in the RF path. * Add **via fences every 2–3 mm** along both sides of RF traces. * Surround the ADMV8052 with a grounded copper keep-out ring and dense stitching vias. * Provide footprints for optional matching components (DNP by default). * Add optional RF test pads near input and output. ## Power Supply Requirements Starting from **+6 V and −6 V inputs**, generate all rails required by the ADMV8052 and STM32H743VIT6. Implement: * Reverse-polarity protection. * Input EMI filter. * Ferrite beads separating RF, analog, and digital domains. * Low-noise LDO regulators for RF rails. * Bulk capacitors at power entry. * Local decoupling at every IC power pin. For each IC power pin, place: * 100 nF capacitor within 2 mm, * 1 nF high-frequency capacitor where beneficial, * 4.7 µF bulk capacitor per power domain. ## STM32H743VIT6 Requirements Include: * USB-C connector with ESD protection. * 25 MHz crystal (or recommended clock source). * NRST circuit. * BOOT configuration resistors. * SWD 2×5 header. * Power LED and status LED. * SPI connection to ADMV8052. * Series resistors (22–47 Ω) on fast SPI lines. ## Noise and EMI Reduction Apply all practical low-noise techniques: * Continuous bottom-layer ground plane with minimal splits. * No digital traces under the RF signal path. * Separate RF and MCU regions by at least 15 mm. * Keep USB and clock circuitry away from the ADMV8052. * Minimize loop areas for all power traces. * Stitch top and bottom grounds around board perimeter every 5 mm. * Add copper shielding regions connected to ground around the RF section. ## Placement Instructions * RF section occupies left-to-right centerline of board. * Digital section occupies lower-right quadrant. * Power section occupies upper-right quadrant. * USB connector placed on right edge. * Power header placed near upper-right corner. * SWD header placed near lower edge. ## PCB Rules * RF trace target impedance: **50 Ω CPWG** for 1.6 mm FR-4. * Minimum RF trace width: calculate for 50 Ω and annotate in layout. * Digital minimum trace width: 0.15 mm. * Power minimum trace width: 0.5 mm. * Clearance around RF traces: ≥0.5 mm. * Thermal reliefs enabled except for RF ground stitching vias. ## Deliverables Output: * Complete schematic pages. * PCB placement image. * Top and bottom copper render. * Ground-via fence locations. * Power-tree diagram. * Decoupling placement diagram. * Net classes and design rules. * BOM with package names. * Fabrication notes for JLCPCB and PCBWay. * Bring-up checklist and initial firmware pin map for STM32H743VIT6 SPI control of ADMV8052. ## Important Engineering Notes * Use the **ADMV8052 datasheet reference design and recommended layout** as the authoritative source for RF implementation. * Flag any uncertainty in ADMV8052 supply rails or pin requirements and request confirmation rather than inventing values. * Optimize specifically for **low noise, low digital coupling, and stable operation up to 520 MHz** on a 2-layer FR-4 board.