ubitx-v5d-xcvr/ubitx_iop/cat.h
Rob French ccae79925b Updated to include iopcomm.h/iopcomm.cpp, common to both the IOP and the
Raduino.  It was intended to be more extensive, but I had to roll some
of it back.  Mostly just sharing of enums/types currently.

Currently in "factory calibration" mode.  Comms (CAT) in normal mode
needs to be re-checked.

Added two tone test mode, with two new modes available via Raduino menu:
TTL and TTU.

Using test mode, I'm thinking that the proper TX output calibration,
assuming a full-scale 700/1900 test tone, is either:

0.061  (which I believe gives a 25 mV RMS output), or
~0.100 (which is just before the audio starts to distort, in terms of
visible harmonics in the spectrum at the 45 MHz IF.
2020-05-16 23:48:39 -05:00

28 lines
638 B
C

//======================================================================
// cat.h
//======================================================================
#ifndef __iop_cat_h__
#define __iop_cat_h__
//#define ACK 0
//#define CAT_PREFIX 0xC0
//#define IOP_PREFIX 0xD0
//#define EEPROM_READ_PREFIX 0xE0
//#define EEPROM_WRITE_PREFIX 0xF0
#include <iopcomm.h>
#include "config.h"
#define USBSERIAL Serial
#define HWSERIAL Serial1
void initCAT(long, int);
void serviceCAT();
#endif
//======================================================================
// EOF
//======================================================================