Wireless design requires attention to RF, power, and regulatory requirements. This guide covers best practices for Hangshun Wireless MCUs.

Protocol Selection

BLE 5.0: 2.4GHz frequency; Smartphone connectivity; 2Mbps high-speed mode; Coded PHY for long range; Best for: Consumer devices, phone accessories.

Sub-1GHz: 433/868/915MHz options; Long range (1-5km); Better penetration; Lower interference; Best for: Industrial sensors, smart metering.

Decision Matrix: Need smartphone connection �?BLE; Maximum range required �?Sub-1GHz; High data rate �?BLE; Long battery life, low data �?Sub-1GHz.

Antenna Design

antenna Types: PCB antenna: Compact, lowest cost; Chip antenna: Small, moderate performance; External antenna: Best performance, larger size.

PCB Antenna Guidelines: Follow reference design exactly; Keep ground clearance as specified; No copper in keep-out area; Test with network analyzer.

Matching Network: PI network for tuning; Match to 50Ω; Consider bandwidth requirements; Production tolerance considerations.

Power Optimization

BLE Power Saving: Use long connection intervals (up to 4s); Enable slave latency; Optimize TX power for range needs; Deep sleep between transmissions.

Sub-1GHz Power: Lower duty cycle for battery life; Use LoRa for very low power; Optimize data payload size; Implement listen-before-transmit.

Battery Life Calculation: Calculate average current; Determine duty cycle; Size battery for target lifetime; Consider self-discharge.

PCB Layout for RF

Critical Guidelines: Keep RF traces short and straight; 50Ω controlled impedance for RF lines; Adequate ground vias around RF section; No digital traces under RF section.

Component Placement: Antenna at board edge; Crystal close to MCU; Decoupling capacitors near power pins; Separate ground for RF and digital.

Certification Requirements

BLE Certification: Bluetooth SIG qualification; FCC/CE/IC radio certification; Test reports required; QDID for listing.

Sub-1GHz Certification: FCC Part 15 (USA); ETSI EN 300 220 (Europe); ARIB (Japan); SRRC (China).

Pre-Certified Modules: Simplify end product certification; Faster time to market; Limited modification allowed; Module integration guide available.

Development and Testing

Development Tools: Protocol analyzers for debugging; Power profilers for optimization; Range testing tools; Certification test modes.

Testing Checklist: RF performance (TX power, sensitivity); Power consumption (active, sleep); Protocol compliance; Range in target environment.

Troubleshooting

common RF Issues: Poor range �?Check antenna matching, ground; High current �?Verify sleep modes, clock gating; Connection drops �?Check interference, range; Certification failures �?Review layout, filtering.