We know from CNTR that the capacitance of the 0603 TVS (EPCOS CT0603M4G,
200 pF) is too large and can disturb the USB signal. The 0402 TVS
(Panasonic EZJ-P0V080GA, 100 pF) works much better.
Since we have lots of 0402 components already, just change the remaining
0603 to 0402, too.
- usb.sch (VR1, VR2, VR3): change from 0603 to 0402 and from 5V5 to 5V6
- usb.sch (C1, C2, R1): change from 0603 to 0402
- atrf.sch (R3): set footprint to 0402
- atusb.pro: replaced modules/mini-usb with modules/usb_a_plug
- atusb.pro: removed extension from components/balun-smt6.lib
- atusb.cmp: update footprints for above changes
- atusb.cmp: change 0402 to 0402-M and 0603 to 0603-M, for easier
soldering
This way, we can plug the device into a USB port, like a USB stick.
We use a real plug (instead of shaping the PCB in the form of a plug)
for better mechanical stability.
- atusb.pro: change from components/mini_usb_b to components/usb_a_plug
- usb.sch (CON1): replace MINI_USB_B with USB_A_PLUG
The C2 pads were originally sized for permanently soldering a 100 mil
header. For development, a temporary connection is sufficient. Eventually,
we will just use pogo pins to make this connection.
- usb.sch: changed C2 pads from PAD_120x60 to PAD_60x60
- usb.sch: added comment that pads should be spaced at 100 mil interval
- atusb.sch: removed test points for signals going between USB and RF side
- atusb.sch: TST is no longer a rework item - removed comment saying it is
- atusb.sch, usb.sch, atrf.sch: bumped version number to 100930
- usrp/doall: new script to directly evaluate and plot data sets
- usrp/fft.c (fft_complex): don't square the magnitude
- usrp/plscan: if an argument name has the form title=name, use "name" as
the file name and "title" as the title
- usrp/evscan (usage, main): treat all arguments but the last as options
and pass them to "fft"
- usrp/fft.c (fft_complex, do_fft): moved actual FFT calculation to
separate function
- usrp/fft.c (fft_real, do_fft): added real-valued FFT (DCT) as alternative
- usrp/fft.c (main): undocumented option -a to set the FFT algorithm
- usrp/fscan: perform a frequency scan in my test setup
- usrp/evscan: determine the frequency-dependent signal strength from a
frequency scan
- usrp/plscan: plot one or more data sets produced by evscan
- usrp/fft.c: utility to read a set of samples obtained with
usrp2_rx_cfile.py and to perform a Fourier transform on them
- usrp/Makefile: use LDLIBS for libraries, not LDFLAGS
- usrp/Makefile: added "fft"
- usrp/p.c (find_peak, main): moved data processing to separate function
- usrp/p.c (find_peak, usage, main): new option -s skip to set the number
of samples to skip (default: 0)
- usrp/p.c (find_peak, usage, main): new option -d to dump the histogram
instead of picking the peak
- usrp/p.c (find_peak, usage, main): the percentile can now be set on the
command line (default: 0.9)
- TODO: changed reference to atspi-txrx to atrf-txrx
- TODO: removed renaming from the list of pending issues
- usrp/step: atspi-txrx is now called atrf-txrx
- atusb/fw/boot/Makefile: still referred to the project as ATSPI (not ATRF)
in title comment
- atusb/fw/include/atusb/usb-ids.h: still had old atspi path in title comment
- tools/atrf-*/atspi-*.c: renamed to atrf-*.c
- tools/atrf-*/Makefile (MAIN): updated name of program
- tools/atrf-*/*.c: updated path in title comment
- tools/atspi-id/: renamed to atrf-id
- tools/atspi-reset/: renamed to atrf-reset
- tools/atspi-rssi/: renamed to atrf-rssi
- tools/atspi-trim/: renamed to atrf-trim
- tools/atspi-txrx/: renamed to atrf-txrx
- tools/Makefile: renamed directories from atspi-* to atrf-*
e lib/misctxrx.o
- atspi-txrx/atspi-txrx.c (usage): rearranged description of -T
- atspi-txrx/atspi-txrx.c (usage, main): option -f freq to specify the
channel by frequency
- atspi-txrx/atspi-txrx.c (set_power): make enabling the CRC optional
(this is necessary for test mode, which doesn't seem to work if the CRC
is selected)
- atspi-txrx/atspi-txrx.c (test_mode): emit a constant wave in test mode
- atspi-txrx/atspi-txrx.c (usage, main): new option -T <delta> to emit a
constant wave -2 MHz, -0.5 MHz, or +0.5 MHz from the nominal carrier
frequency
- include/atspi.h, lib/atspi.c: new function atspi_test_mode to enter test
mode
- lib/driver.h (struct atspi_driver): add backend function test_mode
- lib/atusb.c (atusb_test_mode), lib/atusb.c (atusb_driver): enter test
mode
- lib/atusd.c (atusd_driver): test mode is not supported
- common/io.h: TST is connected to P0_7
- include/at86rf230.h: added test mode registers REG_CONT_TX_0 (0x36) and
REG_CONT_TX_1 (0x3d), with their values
- atspi/atspi.c (set_test_mode): set or reset TST and the LED
- atspi/atspi.c (reset_rf): leave test mode
- atspi/atspi.c (test_mode): enter test mode
- atspi/atspi.c (main): flash the LED when in test mode
- include/atspi/ep0.h (enum atspi_requests), atspi/ep0.c (my_setup): new
command ATSPI_TEST to enter test mode
- include/atspi/ep0.h (EP0ATSPI_MINOR): bumped protocol to version 0.1
- include/at86rf230.h: corrected comment before TRX_CMD field to indicate
that the register is called TRX_STATE
- atspi-rssid/gui.c (sweep, label_channels): moved geometry values to
#defines
- atspi-rssid/gui.c (CBIG, CSMALL, label_channels): moved color values to
#defines
- tools/Makefile.common: CFLAGS and OBJS can now be target-specific
- tools/atspi-rssi/Makefile: add SDL, SDL_gfx, and the GUI object files
when building on the host
- tools/atspi-rssi/Makefile: set -DHAVE_GFX when building on the host
- tools/atspi-rssi/atspi-rssi.c (usage, main): new option -g to use GUI
mode
- tools/atspi-rssi/atspi-rssi.c (main): rename variable for the number of
sweeps in non-GUI mode from "sweeps" to "arg", since it may have other
uses in the future
- tools/atspi-rssi/digit.h, tools/atspi-rssi/digit.c: draw 7 segment style
digits
- tools/atspi-rssi/zgrid.h, tools/atspi-rssi/zgrid.c: display a surface in
faux 3D with SDL/SDL_gfx
- tools/tools/atspi-rssi/gui.h, tools/atspi-rssi/gui.c: display RSSI scans
as a scrolling 3D profile