Four things, laid out as the radio maker's reference design lays them out: a 50-ohm line whose width the stackup sets, solid ground under the RF path, the matching parts where the maker places them, and an antenna at a clear board edge. A certified module has the first three done.
Why RF traces are 50-ohm lines
At radio frequencies a trace is part of the circuit: the impedance along it changes with distance and with the board under it, as Infineon's antenna and RF layout note explains. For 2.45 GHz radios, 50 ohms is the impedance widely used. TI's layout guide for its CC13xx and CC26xx radios gives one reason: spectrum analyzers and signal generators have 50-ohm ports.
Two kinds of line carry it:
- Microstrip: a trace over a ground plane on the next layer. The dielectric's height and constant and the trace's width and thickness set its impedance. It is simple and compact.
- Grounded coplanar waveguide: the same trace with ground copper beside it, a set gap away. The gap also sets the impedance. In return the line is better isolated, picks up less crosstalk and gives a shunt part a short way to ground. Infineon keeps the gap between the top-layer grounds smaller than the dielectric's height; wider, and the line acts mostly as a microstrip.
Along the line, Infineon keeps the width constant, with no stubs or test points, and curves or miters any bend: our article on 90-degree corners puts numbers on a corner.
A microstrip and a grounded coplanar waveguide in cross-section, their dimensions named as in Infineon Technologies' antenna and RF layout note.
How the stackup sets the line's width
The 50-ohm width grows with the thickness of dielectric between the trace and its ground plane. Infineon's note tabulates a coplanar line on two-layer FR-4: 65 mil wide with 60 mil between the layers, 33 mil wide with 20 mil. TI's CC2651R3SIPA datasheet gives a four-layer case: a 0.3 mm line over 0.175 mm between the first two layers. That is why Infineon wants two-layer RF boards thin: above 0.8 mm, the line gets wide and hard to route.
Thickness alone does not settle it: boards of one thickness can differ in layer spacing from fab to fab. Infineon advises getting the fab's stackup before the layout, and working the width out again for a new fab's stackup. TI wants the distance from the top layer to the ground layer to match its reference design, or the balun and filter may need redesigning.
What the ground under the RF path needs
The RF current returns through the ground plane directly under the trace. TI asks for an uninterrupted, solid plane under all the RF parts, from the antenna back to the ground vias in the chip's exposed pad, with no traces under the RF path. A break, Infineon explains, sends the return current around it, and the detour adds inductance that spoils the match.
- Stitching vias. Fill the outer layers' free area with ground and tie it to the plane with many vias, no more than a twentieth of the operating wavelength apart, one beside each grounded pad and none shared. TI's module datasheet wants them along both sides of an RF trace.
- A fence. Where it can, Infineon rings the RF section with ground vias to isolate it.
- The layers. Infineon recommends four layers for RF designs, with ground on layer 2. On two, the bottom is solid ground and the supplies run as thick traces on the top.
Keep every other trace, digital lines and supplies included, from running close and parallel to the RF trace, where the two couple, or across it on the ground layer. Noise on the radio's supply also raises the synthesizer's phase noise and can push spurious emissions past regulatory limits, so each decoupling capacitor goes at its pin, with a ground via of its own.
The matching network at the chip's RF pin
Between the RF pin and the antenna sit a few small parts: a balun where the RF port is differential, a filter that removes harmonics and brings the impedance to 50 ohms, and the antenna's matching network. Their values go with the maker's layout.
TI asks for the balun, match and filter laid out as in its reference design, because moving them can mean tuning their values again: "Tuning requires advanced RF skills and the proper equipment." Even a path TI made longer on purpose cannot be shortened without re-tuning. Infineon adds that the parts go on the RF trace exactly where the reference puts them, since a branch to reach a shunt part changes the match.
At the antenna, TI recommends a pi network as close to it as possible: three footprints, two of them fitted, the series one a 0-ohm resistor if the antenna is already matched.
Where the antenna goes, and what it needs around it
- At the edge. Infineon puts the antenna in a board corner, clear of the rest of the circuit. TI's module datasheet puts an external antenna on an edge.
- A keep-out on every layer. No part, plane, mounting screw or trace in the antenna's keep-out area, on any layer, inner ones included. Its size depends on the antenna.
- Ground near it, none under it. A PCB antenna is usually a monopole, which needs solid ground to work: enough of it, at the clearance and width the antenna's maker gives, and none directly below.
- Nothing that detunes it. A larger ground plane or a plastic case lowers its resonant frequency, by about 100 to 200 MHz in Infineon's tests. No metal may cover it.
So both makers leave room for a matching network and tune it on the finished product, with its case on. A board can pass every rule check with its antenna in the wrong place, as Can AI design a PCB? shows.
An antenna in a board corner with its keep-out and the stitched edge of its ground plane, drawn from the layout guidelines of Infineon and Texas Instruments.
Shielding the radio section
A shield over the radio cuts the spurious signals it radiates. TI uses one on some reference designs against the third harmonic, and recommends a fully enclosed one for its 20 dBm path, against the second and third. A closed shield shapes the layout: every trace stays inside it or leaves through vias on another layer, the RF path included, unless the shield has one opening for the RF trace. TI recommends simulating the cavity. The antenna stays outside any shield.
Why a certified module is the usual way
A certified module puts that RF layout inside one part. TI's CC2651R3SIPA, 7 by 7 mm with its antenna, balun and crystal inside, is certified in the US, Canada, Europe, the UK, Korea, Japan and Taiwan, and carries the FCC's modular grant. TI says a product built on it can save testing cost and time. Infineon's note itself opens by recommending firms that specialize in antennas.
The module's maker still asks things of the board:
- TI's layout guidelines, which the integrator must follow to keep the regulatory risk down: the layout figure's dimensions kept exactly, ground at least 10 mm wide on either side of the module on every layer, and no signal traces under it on its own layer.
- A label on the product naming the module's FCC ID.
- Espressif's placement, in its guidelines for ESP32-C3 modules: the PCB antenna outside the base board with its feed point near the edge, never the module mid-board, and at least 15 mm clear around the antenna inside the housing.
That is the only way PCB Agent puts a radio on a board. It does not do RF design on a board: a radio goes on as a certified module with its antenna, and a request for RF design on the board goes to a person. Its library's Wi-Fi and Bluetooth LE module is one of those Espressif modules, and two edge rules hold it in a board corner. KiCad's footprint for it marks the antenna's keep-out, which lies off the board once the antenna hangs over the edge.
Limits
The figures here are the makers', for their radios and stackups; another board takes its own from its maker's documents. Layout rules do not replace measuring the RF path and the antenna: the makers tune the matching network with a network analyzer on the assembled board, and Espressif has the finished product tested for throughput and range. Certification is the module maker's and a test lab's work, not covered here. A layout that keeps these rules has still to be measured; the roadmap says where PCB Agent's own boards stand. How an AI PCB design agent works shows where a job stops for a person.
Sources
- AN91445: Antenna design and RF layout guidelines, Infineon Technologies
- CC13xx/CC26xx hardware configuration and PCB design considerations, Texas Instruments
- CC2651R3SIPA wireless system-in-package module with integrated antenna: datasheet, Texas Instruments
- ESP32-C3 hardware design guidelines: PCB layout design, Espressif


