packet:ninotnc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| packet:ninotnc [2025/08/09 16:33] – [Flashing CRC] m0lte | packet:ninotnc [2025/10/27 14:19] (current) – [Operating modes] m0gzp | ||
|---|---|---|---|
| Line 60: | Line 60: | ||
| Baud is symbols per second, bps is bits per second. Where baud=bps, that means each symbol carries 1 bit (i.e. a symbol can have two states, 0 or 1). Where baud is 2x bps, that means each symbol carries 2 bits (i.e. a symbol can have four states: 00, 01, 10, 11). | Baud is symbols per second, bps is bits per second. Where baud=bps, that means each symbol carries 1 bit (i.e. a symbol can have two states, 0 or 1). Where baud is 2x bps, that means each symbol carries 2 bits (i.e. a symbol can have four states: 00, 01, 10, 11). | ||
| + | |||
| + | ** Decoding Operating Modes from BrdSwchMod ** | ||
| + | |||
| + | When the test button is pressed on the TNC, along with the frame it emits to the radio, it will emit a different frame to the KISS client that is connected. | ||
| + | |||
| + | * the first two digits the board version (a decimal number, e.g. 04) | ||
| + | * the next two are the physical MODE switch setting (encoded as binary, for example 06 is 0110) | ||
| + | * the last four are the operating mode | ||
| + | |||
| + | For example, for a value of '' | ||
| + | |||
| + | * Board Revision 04 | ||
| + | * MODE switch setting 1111 (set by SETHW hardware command) | ||
| + | * Current Operating Mode 0x23 (MODE_300_AFSKPLL_IL2P_CRC) | ||
| + | |||
| + | The Operating Mode values are **internal** and **may change with firmware version**, so you can use the following table to map the operating mode values **for Version .44 of the Firmware** (current at time of writing): | ||
| + | |||
| + | ^ Switch Mode ^ BrdSwchMod Value ^ Mode Name ^ | ||
| + | | 0 (0000) | ||
| + | | 1 (0001) | ||
| + | | 2 (0010) | ||
| + | | 3 (0011) | ||
| + | | 4 (0100) | ||
| + | | 5 (0101) | ||
| + | | 6 (0110) | ||
| + | | 7 (0111) | ||
| + | | 8 (1000) | ||
| + | | 9 (1001) | ||
| + | | 10 (1010) | ||
| + | | 11 (1011) | ||
| + | | 12 (1100) | ||
| + | | 13 (1101) | ||
| + | | 14 (1110) | ||
| + | | 15 (1111) | ||
| ===== Signals settings ===== | ===== Signals settings ===== | ||
| Line 335: | Line 369: | ||
| The KISS MODE setting is written to flash memory. To prevent an immediate flash memory write, add 16 to the mode number in the KISS SETHW command - for example, the value 14 would become 30. | The KISS MODE setting is written to flash memory. To prevent an immediate flash memory write, add 16 to the mode number in the KISS SETHW command - for example, the value 14 would become 30. | ||
| + | |||
| + | **BPQ** | ||
| BPQ supports this via the '' | BPQ supports this via the '' | ||
| Line 344: | Line 380: | ||
| * Remembering to add 16 to the value if you don't want the setting written to memory. | * Remembering to add 16 to the value if you don't want the setting written to memory. | ||
| - | **Examples** | + | **BPQ Examples** |
| kiss n is the port number - port 3 in these examples | kiss n is the port number - port 3 in these examples | ||
| Line 355: | Line 391: | ||
| | QPSK600 IL2Pc | '' | | QPSK600 IL2Pc | '' | ||
| + | **Linux Kernel** | ||
| + | |||
| + | When configuring the linux kernel you can add the value required to the '' | ||
| + | < | ||
| + | kissparms -p < | ||
| + | </ | ||
| + | |||
| + | * Remembering to add 16 to the value if you don't want the setting written to memory. | ||
| + | |||
| + | **Linux Kernel Examples** | ||
| + | |||
| + | ^ Set port n to mode ^ temporary* | ||
| + | | FSK300 IL2Pc (40m slot 1) | '' | ||
| + | | BPSK300 IL2Pc (40m slot 3) | '' | ||
| + | | QPSK600 IL2Pc | '' | ||
| + | |||
| + | * Note - for a startup script you should always use the temporary value rather than writing to memory each time | ||
| === GPIO === | === GPIO === | ||
| With Raspberry Pi GPIO, put /usr/bin in the crontab path, and add the following to / | With Raspberry Pi GPIO, put /usr/bin in the crontab path, and add the following to / | ||
packet/ninotnc.1754757195.txt.gz · Last modified: by m0lte
