This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import numpy | |
f = open(sys.argv[1], 'rb') | |
d = f.read(2) | |
test_data = numpy.arange(-128, 126, dtype=numpy.int8) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void sgpio_configure_pin_functions() { | |
... | |
scu_pinmux(SCU_PINMUX_SGPIO13, SCU_GPIO_FAST | SCU_CONF_FUNCTION4); /* GPIO5[12] */ | |
scu_pinmux(SCU_PINMUX_SGPIO14, SCU_GPIO_FAST | SCU_CONF_FUNCTION4); /* GPIO5[13] */ | |
scu_pinmux(SCU_PINMUX_SGPIO15, SCU_GPIO_FAST | SCU_CONF_FUNCTION4); /* GPIO5[14] */ | |
sgpio_cpld_stream_rx_set_decimation(0); | |
GPIO_DIR(GPIO5) |= GPIOPIN14 | GPIOPIN13 | GPIOPIN12; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ldrd t1, t2, [buf], #8 /* 3: t1 = Q3:I3:Q2:I2 */ | |
/* t2 = Q5:I5:Q4:I4 */ | |
/* What if I did this using ROL/ROR and SEL? */ | |
/* Q3:I3:Q2:I2,Q5:I5:Q4:I4 -> */ | |
smuad t3, i, taps /* 1: t3 = I1 * 3 + I0 * 1 */ | |
smuad t4, q, taps /* 1: t4 = Q1 * 3 + Q0 * 1 */ | |
sxtb16 i, t1, ror #0 /* 1: i = I3:I2 */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import math | |
import numpy | |
import scipy.fftpack | |
import scipy.signal | |
letters = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Copyright (C) 2014 Jared Boone, ShareBrained Technology, Inc. | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2, or (at your option) | |
# any later version. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void portapack_cpld_jtag_tck(const uint_fast8_t value) { | |
if(value) { | |
gpio_set(PORTAPACK_CPLD_JTAG_TCK_GPIO_PORT, PORTAPACK_CPLD_JTAG_TCK_GPIO_BIT); | |
} else { | |
gpio_clear(PORTAPACK_CPLD_JTAG_TCK_GPIO_PORT, PORTAPACK_CPLD_JTAG_TCK_GPIO_BIT); | |
} | |
} | |
static void portapack_cpld_jtag_tdi(const uint_fast8_t value) { | |
if(value) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<- Link Good 7 | |
FE* FE* FE* F7* 07 68 07 68 | |
-> Link Good 7 | |
FE* FE* FE* F7* 07 68 07 68 | |
--------------------------------------- | |
-> Link Credit A | |
FE* FE* FE* F7* 80 A0 80 A0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://sharebrained.com/downloads/portapack_cpld_downgrade.dfu | |
# Plug in with DFU held. | |
dfu-util --download portapack_cpld_downgrade.dfu | |
# Screen should go white. | |
# Wait for green LED to blink. | |
# Screen should be black. | |
# Unplug. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KiCad Workshop (subject to change, and bound by time constraints) | |
Features and functionality | |
Large-scale examples, including HackRF and Daisho projects | |
Background | |
Cross platform | |
Open source -- contribute! Bugs, documentation, code. | |
CERN involvement -- donate! | |
Goals for today: | |
Know what KiCad can and can't do | |
Have some idea how to do basic things |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright (C) 2015 Jared Boone, ShareBrained Technology | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2, or (at your option) | |
# any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |