Re: 9K6 TNC PCB layout and Teensy programming #pi #hampi


N5XMT
 

I'm on rpi4.  It's always available on i2c.
You can do pitnc_getparams 1 30 (30 is the decimal equivalent of hex 1e)


On Jul 21, 2020, at 05:28, Arjan - PD3SPY <arjan_hes@...> wrote:
Did this as well (sorry, not in my post) but got the same results as tty0 or ttyAMA0...

Op 21 jul. 2020 om 13:01 heeft Mark Griffith via groups.io <mdgriffith2003@...> het volgende geschreven:


Try /dev/serial0

Mark
KD0QYN


On Tuesday, July 21, 2020, 4:08:52 AM CDT, Arjan - PD3SPY <arjan_hes@...> wrote:


That last manual was great. Got it all together now on my PI. Did upload the Teensy3.6 firmware via the loader-tool. When I apply power, I do get the flashing lights in sequence as per manual. However, I don't get any results from my ./pitnc_getparams command...

The following output is on my screen:
pi@hamPi:~/bin/piTNC $ sudo ./pitnc_getparams /dev/serial1 0
pitnc_getparams Version 0.0.0.5
Using Serial port /dev/serial1
retrying...
retrying...
retrying...
retrying...
retrying...

pi@hamPi:~/bin/piTNC $ sudo ./pitnc_getparams /dev/serial0 0
pitnc_getparams Version 0.0.0.5
Using Serial port /dev/serial0
retrying...
KISS Data Frame
retrying...
retrying...

Tried to see if it was on I2C. When using i2cdetect I get
       0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1e -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
So maybe there is the error and it is on I2C. I don't want this but how to change it?

Maybe it is just the fact that I am using a RPI4?

Arjan
PD3SPY

Join RaspberryPi-4-HamRadio@groups.io to automatically receive all group messages.