Author Topic: Trimming 16MHz crystal in production for BLE??.........  (Read 528 times)

0 Members and 1 Guest are viewing this topic.

Offline SmokeyTopic starter

  • Super Contributor
  • ***
  • Posts: 2927
  • Country: us
  • Not An Expert
Trimming 16MHz crystal in production for BLE??.........
« on: May 29, 2022, 10:30:06 pm »
I'm making a (hopefully) standalone production test fixture for a product with bluetooth.  The DUT has a 16MHz crystal, and from what I understand that needs to be +/-50ppm max for BLE to work.  I can output the clock on a GPIO for measurement and the DUT micro has trim capabilities built in, but I need to accurately measure the clock and get that data to the fixture processor to set the trim.

Because I plan on making many of these fixtures, I would rather not have a boat anchor frequency counter hooked up to each one.  Cost is also always an issue for many fixtures.  Something self contained that doesn't itself require calibration would be optimal.

What are the best options for measuring a 16MHz clock accurately enough (+/-5ppm?) to perform this trim in a formfactor that is ideally board mounted, self contained, and inexpensive?
 

Offline exmadscientist

  • Frequent Contributor
  • **
  • Posts: 404
  • Country: us
  • Technically A Professional
Re: Trimming 16MHz crystal in production for BLE??.........
« Reply #1 on: May 29, 2022, 10:36:30 pm »
I always just buy a better crystal. It quickly pays for itself in test complexity.
 

Offline SmokeyTopic starter

  • Super Contributor
  • ***
  • Posts: 2927
  • Country: us
  • Not An Expert
Re: Trimming 16MHz crystal in production for BLE??.........
« Reply #2 on: May 30, 2022, 02:48:03 am »
Normally I would agree that a better crystal is easier.  In this case, they recommends both +/-10ppm spec and trimming, which is done entirely in software (no external caps).  Better than 10ppm gets a little exotic.

You got it with the crystal frequency effecting the RF output.  That's the concern.  I don't have a spectrum analyzer in the production test setup, but that would probably work trimming it that way.  But at that point a counter would be easier/cheaper I think.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf