Date:2011-06-07 13:09:20 (9 years 2 months ago)
Author:Werner Almesberger
Commit:66fb9d808ceb2e5a7f999e6c96e2cdc4b61042ac
Message:prod/: use positive and negative offset in spectrum test

This way, we can also spot issues in the digital interface leading to
mis-configurations. E.g., this one would be a defective SLP_TR line
in atusb:
http://downloads.qi-hardware.com/people/werner/wpan/tmp/jagged.png

- prod/Makefile, prod/Common: removed "-T +0.5" to use both offsets
- prod/Makefile (spectrum): print a direction indication before
running atrf-path
Files: prod/Common (1 diff)
prod/Makefile (1 diff)

Change Details

prod/Common
178178# todo:
179179# - trim values (maybe)
180180# - decide on power
181# - decide on offset
182    cmd "atrf-path -g -T +0.5 -P $PROFILE $REF $DUT 10"
181    cmd "atrf-path -g -P $PROFILE $REF $DUT 10"
183182    expect PASS
184183}
185184
prod/Makefile
3434    ./atusb-flash $(ATUSB_REF) $(ATUSB_DUT)
3535
3636spectrum:
37    atrf-path -g -T +0.5 $(ATBEN_REF) $(ATBEN_DUT) 10 | \
37    @echo "$(ATBEN_REF) => $(ATBEN_DUT)"
38    atrf-path -g $(ATBEN_REF) $(ATBEN_DUT) 10 | \
3839      $(GENPATHPROF) $(SPECTRUM_MARGIN) >ben.profile || \
3940      { rm -rf ben.profile; exit 1; }
40    atrf-path -g -T +0.5 $(ATUSB_REF) $(ATUSB_DUT) 10 | \
41    @echo "$(ATBEN_DUT) => $(ATBEN_BEN)"
42    atrf-path -g $(ATUSB_REF) $(ATUSB_DUT) 10 | \
4143      $(GENPATHPROF) $(SPECTRUM_MARGIN) >usb.profile || \
4244      { rm -rf usb.profile; exit 1; }
4345

Archive Download the corresponding diff file



interactive