Topics

#draws #draws


Paul Noa
 

Basil,
I edited axport file here is the current output from Showudrc

 showudrc.sh
==== Sound Card ====
udrc card number line: card 0: udrc [udrc], device 0: bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0 [bcm2835-i2s-tlv320aic32x4-hifi tlv320aic32x4-hifi-0]
udrc is sound card #0
==== ALSA Controls for Radio Tansmit ====
LO Driver Gain  L:[0.00dB]      R:[-6.00dB]
PCM             L:[-3.00dB]     R:[-25.00dB]
DAC Playback PT L:[P3]  R:[P3]
LO Playback CM  [Full Chip]
==== ALSA Controls for Radio Receive ====
ADC Level       L:[-6.00dB]     R:[0.00dB]
IN1             L:[10 kOhm]     R:[Off]
IN2             L:[Off]         R:[10 kOhm]
==== Pi Ver ====
 Pi 3 Model B+, Rev 1.3, Mfg by Sony UK
 Has WiFi
==== udrc Ver ====
Found a DRAWS
 
     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0206
UUID:        709b5761-81d1-452a-9709-8e1626c29c26
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2020 01 23 09:25:01 PST: SD image version: nwdr15
----- /proc/version
Linux version 4.19.97-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1294 SMP Thu Jan 30 13:15:58 GMT 2020
 
----- /etc/*version: 10.3
 
----- /etc/*release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
 
----- lsb_release
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
 
---- systemd
   Static hostname: asawizard
         Icon name: computer
        Machine ID: 27ac1f0c20904cb7a960920e966db545
           Boot ID: 8a4bb8c1524f445381df95e98fa862d8
  Operating System: Raspbian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.97-v7+
      Architecture: arm
 
---- modules
snd_soc_tlv320aic32x4_i2c    16384  27
snd_soc_tlv320aic32x4    40960  1 snd_soc_tlv320aic32x4_i2c
snd_soc_core          192512  4 snd_soc_simple_card_utils,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_soc_simple_card
snd_pcm               102400  6 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_soc_tlv320aic32x4,snd_soc_core
snd                    73728  11 snd_compress,snd_timer,snd_soc_tlv320aic32x4,snd_soc_core,snd_pcm
 
---- kernel
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20200212-1 armhf        Raspberry Pi bootloader
 
---- Codec drivers
Found: snd-soc-tlv320aic32x4-i2c.ko, OK
Found: snd-soc-tlv320aic32x4.ko, OK
Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 exists and status is okay
 
---- syslog
 
---- dmesg
 
 
----- Dire Wolf DEVELOPMENT version 1.6 D (Jan  6 2020)
 
==== Filesystem ====
/dev/root        29G  5.3G   23G  19% /
 
==== boot config ====
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
 
[all]
#dtoverlay=vc4-fkms-v3d
 
# Flush all overlays, ie. deprecated overlays loaded from eeprom
dtoverlay=
# enable udrc/draws if no eeprom
dtoverlay=draws,alsaname=udrc
force_turbo=1
# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
 
---- gpsd
/usr/local/sbin/gpsd
gpsd: 3.20 (revision 3.20)
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-03-27 18:44:14 EDT; 16h ago
  Process: 514 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 521 (gpsd)
    Tasks: 3 (limit: 2200)
   Memory: 1.4M
   CGroup: /system.slice/gpsd.service
           └─521 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Mar 27 18:44:14 asawizard systemd[1]: Starting GPS (Global Positioning System) Daemon...
Mar 27 18:44:14 asawizard systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw-rw---- 1 root root    241, 0 Mar 27 18:44 /dev/pps0
crw------- 1 root root    241, 1 Mar 27 18:44 /dev/pps1
crw-rw---- 1 root dialout 239, 0 Mar 27 18:44 /dev/ttySC0
crw-rw---- 1 root dialout 239, 1 Mar 27 18:44 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#- GPS                           0   3   377     6    -73ms[  -73ms] +/-  104ms
#* PPS                           0   3   377     6    -36ns[ -245ns] +/-  501ns
^- ntp.jtsage.com                2   6    17    39    -11ms[  -11ms] +/-  103ms
^- jikan.ae7.st                  2   6    17    39  -4532us[-4534us] +/-   83ms
^- y.ns.gin.ntt.net              2   6    17    40  -3766us[-3768us] +/-   65ms
^- t2.time.bf1.yahoo.com         3   6    17    39  -6671us[-6673us] +/-   74ms
-- chrony tracking
Reference ID    : 50505300 (PPS)
Stratum         : 1
Ref time (UTC)  : Sat Mar 28 15:06:24 2020
System time     : 0.000000212 seconds slow of NTP time
Last offset     : -0.000000256 seconds
RMS offset      : 0.018753026 seconds
Frequency       : 1.507 ppm fast
Residual freq   : -0.003 ppm
Skew            : 0.135 ppm
Root delay      : 0.000000001 seconds
Root dispersion : 0.000009062 seconds
Update interval : 8.0 seconds
Leap status     : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                        12   9    88   +176.256    183.237    -76ms  4014us
PPS                         6   3    41     -0.003      0.124     -8ns   485ns
ntp.jtsage.com              4   3     6   +156.375  24667.115  -5644us  4045us
jikan.ae7.st                4   3     6  -1681.325  13177.292    -73ms  1435us
y.ns.gin.ntt.net            4   4     6   +109.014   7221.111   +176us   995us
t2.time.bf1.yahoo.com       4   3     6   -517.597  15332.971    -27ms  1864us
 
---- sensors
-rw-r--r-- 1 root root 171 Sep 19  2019 /etc/sensors.d/draws
rpi_volt-isa-0000
Adapter: ISA adapter
in0:              N/A
 
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
+12V:         +0.00 V
in5:          +2.47 V
User ADC 1:   +0.00 V
User ADC 2:   +0.00 V
 
 
---- throttle
temp=41.3'C
throttled=0x0
 
---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)

I am still looking for a clarification on the pin outs,  when I ring out the Cable, Male Plug, Looking into the connector (at the Pins) flat portion on top:
pin 1 is bottom left,  TX   
pin 2 bottom right    GND
pin 3 middle left       PTT
pin 4 middle right     LN1
pin 5 top left             LN2
pin 6 top right           SQL

What I have learned scoping the outputs is PTT is low going high on pin 3;

On the IC F-521, when I pull the respective pin on the accessory connector low I xmit!  I will search for the specs on the interface again to verify.

Is there a way in software to invert this ?

I do see the AFSK out haven't got to adjust yet trying to resolve XMIT issue

Paul