EVK-VERA-P174 - User Guide
UBX-17048707 - R06
Software
Page 22 of 30
Echo loading cw-llc module for kernel 4.15.0-23-generic_x86_64
cw_llc 143360 0
1
LLC 4
☞
Kernel crashes have been observed in some cases when loading the driver on systems where
NetworkManager is running. In such a case, either stop the NetworkManager before loading the
driver via
sudo systemctl stop NetworkManager.service
or configure it to ignore the LLC IPv6 interfaces by adding the following lines to
/etc/NetworkManager/NetworkManager.conf:
[keyfile]
unmanaged-devices=interface-name:llc-*
Then, restart the NetworkManager service via
sudo systemctl restart NetworkManager.service
Execute the “llc version” command to check the connection to the module and to verify the firmware
version:
$ ./bin/llc version
WISPA Variant : TEF5200
WISPA Version : 0x0
PCB Version : 2
PCB Load : 1
Boot Pins : 0xc
SDR Firmware : 69189
SDR Revision Date : 2018-01-22 12:14
SDR Build Date : 2018-01-22 12:15
Security Accel. : No
Antenna Mask : 3
Radio B Present : 1
Last Reset Source : External (36, 1024)
Last Reset Source : External (53, 1024)
Last Reset Source : External (54, 1024)
☞
The llc tool and plugins require the shared library -
libLLC so that it can be located by the run-time
linker. This is set up during the make process by calling
ldconfig with the library path and could be
overwritten during system startup. In this case,
ldconfig must be called manually again:
$ sudo ldconfig $(realpath ./bin)
4.2
Module calibration
The provided firmware for the EVK-VERA-P174 modules currently does not contain valid calibration
settings. The calibration must be performed manually, by executing the following llc commands after
each power cycle and loading of the firmware:
$ llc powerdet 1 99999 0 0 99999 0 0 99999 0 0 99999 0 0 0 0 0
$ llc temp cfg 2 112 113 0.0707372 -0.2546940 0.0725834 -0.7115092 105 20
$ llc rssical 1 3199 -319032 -320973 -326314 -327447 -329794 -330046 -333024 -331686 -334558
$ llc reg w 1 8 0x70000
$
llc reg w 1 9 0x200000
Firmware versions prior to release 15.0.0 of the LLC remote package require an additional manual
triggering of the TX DC offset and IQ imbalance calibration on antenna 2 by executing the following
commands:
$ llc chconfig -s -c178 -ra -a2
$ sleep 1 # a small delay is required bef
ore running the ‘cal’ command
$ llc cal
$ llc chconfig -x -c178 -ra