Skip to content

Instantly share code, notes, and snippets.

View ossicode's full-sized avatar

OSSI ossicode

View GitHub Profile
@ossicode
ossicode / adf7021n.c
Created December 13, 2012 02:00
OSSI COMMS AX25 UI frame 1220bps MixW2 test OK!
#include "adf7021n.h"
#include "global.h"
////////////// TX
#define TX_TXCLK_PORT 2
#define TX_TXCLK_PIN 3
#define TX_DATA_PORT 2
#define TX_DATA_PIN 4
@ossicode
ossicode / global.h
Created December 17, 2012 13:43
ADF7012 based CW beacon TEST file (messy and copied and pasted) no credit specified yet.. sorr
/*
* global.h
*
* Created on: 2012. 6. 3.
* Author: donghee
*/
#ifndef GLOBAL_H_
#define GLOBAL_H_
@ossicode
ossicode / global.h
Created December 18, 2012 08:19
현재 출력주파수 145.919944 MHz 출력 13.23dBm Icp = 0.3mA, Xstal 19.2, R= 5, FDP=3.84, N= 37, Nfrac=4074
/*
* global.h
*
* Created on: 2012. 6. 3.
* Author: donghee
*/
#ifndef GLOBAL_H_
#define GLOBAL_H_
@ossicode
ossicode / aclkuart.c
Created December 20, 2012 10:30
ADF7012 Beacon Morse code working but the received sound has chops!!!
/*
* aclkuart.c
*
* Created on: 2012. 12. 19.
* Author: OSSI
*/
#include "aclkuart.h"
void puts(char *s) {
@ossicode
ossicode / aclkuart.c
Created December 21, 2012 11:37
GPS data reception and morse code sending in LPM3 mode
/*
* aclkuart.c
*
* Created on: 2012. 12. 19.
* Author: OSSI
*/
#include "aclkuart.h"
uint8_t uart_byte = '\0';
@ossicode
ossicode / aclkuart.c
Created December 21, 2012 12:02
Same gps receiving shit. data format with comma updated
/*
* aclkuart.c
*
* Created on: 2012. 12. 19.
* Author: OSSI
*/
#include "aclkuart.h"
uint8_t uart_byte = '\0';
@ossicode
ossicode / main.c
Created December 24, 2012 11:13
i2c uart same time test failed
/*
* main.c
*/
#include "ossibeacon.h"
#include "printf.h"
unsigned int RxByteCtr;
unsigned int RxWord;
@ossicode
ossicode / main.c
Created December 25, 2012 07:52
changed P3SEL but this was failed too
/*
* main.c
*/
#include "ossibeacon.h"
#include "printf.h"
unsigned int RxByteCtr;
unsigned int RxWord;
@ossicode
ossicode / main.c
Created December 26, 2012 00:49
MSP430 I2C and UART at the same time from ti forum written by Brandon Elliott
//******************************************************************************
// MSP430xG461x Demo - USCI_A0 UART TX single byte and USCI_B0 I2C Master TX
// single byte to MSP430 Slave
//
// Description: This demo connects two MSP430's via the I2C bus and UART.
// The master transmits to the slave. This is the master code. It continuously
// transmits a single byte of data starting at 0 and incrementing from both
// UART and I2C. This demonstrates how to implement an I2C master transmitter
// using the USCI_B0 TX interrupt and UART transmission using the USCI_A0 TX
// interrupt simultaneously.
@ossicode
ossicode / main.c
Created December 26, 2012 06:46
LPM3 I2C and UART same time all clocks based on ACLK
/*
* main.c
*/
#include "ossibeacon.h"
#include "printf.h"
unsigned int RxByteCtr;
unsigned int RxWord;