Skip to content

Instantly share code, notes, and snippets.

Kevin Patino kdpatino

Block or report user

Report or block kdpatino

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3988462b9f6101abf94538e8b33c99f9
Successfully read diagram <SystemDBS> from BD file </home/kenny/UMN/NeuroTrial-Software/hw/build/DBSUMN/DBSUMN.srcs/sources_1/bd/SystemDBS/SystemDBS.bd>
update_compile_order -fileset sources_1
startgroup
set_property -dict [list CONFIG.PCW_QSPI_GRP_SINGLE_SS_ENABLE {1} CONFIG.PCW_SPI0_PERIPHERAL_ENABLE {1} CONFIG.PCW_SPI1_PERIPHERAL_ENABLE {1}] [get_bd_cells ps7]
endgroup
delete_bd_objs [get_bd_intf_nets axi_gpio_1_GPIO]
undo
INFO: [Common 17-17] undo 'delete_bd_objs [get_bd_intf_nets axi_gpio_1_GPIO]'
delete_bd_objs [get_bd_intf_nets axi_quad_spi_0_SPI_0]
set_property location {1137 97} [get_bd_intf_ports spi_rtl_0]
View AD771.init
register[0] = 0
register[1] = 0
register[2] = 0
register[3] = 0
register[4] = 0
register[5] = 0
register[6] = 0
register[7] = 0
register[8] = 0
register[9] = 0
View efm32.cfg
interface ftdi
ftdi_vid_pid 0x0403 0x6014
# 0x000f -> TMS, TCK, TDI, TDO
# 0x4000 -> ^LED
# 0x0010 -> GPIOL0 (grey)
# 0x0020 -> GPIOL1 (purpe)
# 0x0040 -> GPIOL2 (white)
# 0x0080 -> GPIOL3 (blue)
View gist:e3be967cb10d2c41699a1a6934d7def4
/ {
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;ranges;
rproc_0_reserved: rproc@1e000000 {
no-map;reg = <0x1e000000 0x01000000>;
};
};
amba {
View gist:8a55734cc93dac92ec2fe0f704797c1c
remoteproc remoteproc0: powering up remoteproc@0
remoteproc remoteproc0: Booting fw image image_echo_test, size 2684984
Unable to handle kernel paging request at virtual address e16ff03a
Unable to handle kernel paging request at virtual address e16ff03a
pgd = (ptrval)
pgd = (ptrval)
[e16ff03a] *pgd=00000000
[e16ff03a] *pgd=00000000
Internal error: Oops - BUG: 5 [#1] PREEMPT SMP ARM
Modules linked in: zynq_remoteproc remoteproc virtio_ring virtio uio_pdrv_genirq
View CIC_comp.m
clear all
close all
clc
pkg load signal
% CIC frequency domain example
%% Setup parameters
Fs_in = 3e6; % Input sample rate
View hex2bin.cpp
#include <gflags/gflags.h>
#include <cstdint>
#include <cstring>
#include <iostream>
extern "C" {
#include "cintelhex.h"
}
DEFINE_string(hex_file, "", "Hex File");
@kdpatino
kdpatino / DAC.cpp
Last active Feb 7, 2018
DAC test in MATRIX Voice
View DAC.cpp
/*
* Copyright 2017 <Admobilize>
* All rights reserved.
*/
#include <gflags/gflags.h>
#include <wiringPi.h>
#include <math.h>
#include <fstream>
@kdpatino
kdpatino / matrixio-env.c
Last active Nov 23, 2017
Test without buff functions
View matrixio-env.c
/*
* matrixio_env.c - Support for Vishay VEML6070 UV A light sensor
*
* Copyright 2017 Andres Calderon <andres.calderon@admobilize.com>
*
* This file is subject to the terms and conditions of version 2 of
* the GNU General Public License. See the file COPYING in the main
* directory of this archive for more details.
*
* IIO driver for (MATRIX CREATOR Enviromental Sensors)
View main.cpp
/*
* Copyright 2016 <Admobilize>
* MATRIX Labs [http://creator.matrix.one]
* This file is part of MATRIX Creator firmware for MCU
* Author: Andrés Calderón [andres.calderon@admobilize.com]
*
* MATRIX Creator firmware for MCU 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 3 of the
* License, or (at your option) any later version.
You can’t perform that action at this time.