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


John G8BPQ
 

The management interface is always available on i2c, so the device will appear to i2cdetect. But it will only send and receive data on i2c is the configuration is changed and the software rebuilt.

As the TNC seems to be running the most likely problems are with the pi serial port config or the setting of the serial port jumpers on the TNC board.

73,
John


On Tue, Jul 21, 2020 at 10:08 AM, Arjan - PD3SPY 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.