다운로드
다운로드

매뉴얼, 데이터 시트, 소프트웨어 등을 다운로드할 수 있습니다.

다운로드 유형
모델 또는 키워드

Embedded Wireless Debug Made Easy with Tektronix MDO4000

Recently, I had the opportunity to work on a project involving an Arduino Uno with Atmel ATmega328 microcontroller with SPI bus to an RFM12B module, an ISM band FSK transceiver. As usual, there were hardware and software issues to work through. As you’ll see, the MDO4000 mixed domain oscilloscope  helped identify the root cause of a noise problem. Here’s the set-up I used: 

Image20120Mike20T20March202013

Here’s screen capture showing what was happening during a packet transmission:

Image20220Mike20T20March202013

The orange trace labeled A is the RF amplitude versus time, captured using a simple antenna attached to the spectrum analyzer input. The SPI bus was probed using digital logic channels, and a single shot acquisition was triggered on the SPI bus command to transmit. Since this is FSK, frequency shift keying, ideally the RF amplitude should be constant. But we can see that it’s not. Next I added the Frequency versus Time trace, labeled F:

 

Image20320Mike20T20March202013

The burst of noise in the upper left is the Frequency versus Time, before the transmission. I used the squelch feature to clean that up:

Image20420Mike20T20March202013

OK, so the FSK looks good, but the RF amplitude versus time shows apparent crosstalk from SPI bus activity to the RF transmitter power. I suspected ground and/or power rail bounce, so I used a TDP1500 differential probe to measure Vcc to ground:

Image20520Mike20T20March202013

Sure enough, about 1 Vpp of noise when the transmitter is on. So I zoomed in, using the Wave Inspector knobs, and turned on cursors:

Image20620Mike20T20March202013

I could see noise on the power supply increases as the RF transmitter turned on. I used the cursors to measure the period of the noise to be about 64 ns. And that coincides with the crystal oscillator. So then I knew that my power distribution needed better bypassing, especially around 16 MHz. Since this was just a proto-board, with no power planes, I wasn’t too concerned.  I added a couple ceramic capacitors in additional to the electrolytic after the regulator IC, and that fixed the problem.

Now, if only software debug was this easy!

 

Since publishing the above blog, Tektronix is currently offering discounts up to 89% on software application modules for qualifying oscilloscopes. Check out the details here and save away!

블로거

Electrochemistry Experts

블로그 포스트: 7
Tektronix Experts

블로그 포스트: 259
David Pereles

블로그 포스트: 18
Joseph Gorley

블로그 포스트: 3
Service Experts

블로그 포스트: 11
Brian Hensley

블로그 포스트: 2
Christopher Loberg

블로그 포스트: 5
Alan Wolke

블로그 포스트: 21
Andrea Vinci

블로그 포스트: 1