background image

iC880A QuickStart Guide - QuickStart Guide 

Open Source Driver on Github 

confidential  

iC880A_QuickStartGuide.docx, Wireless Solutions, V0.6 

page 12 of 15 

 

 

 

 

"bandwidth": 250000, 

 

 

 

"spread_factor": 7 

 

 

}, 

 

 

"chan_FSK": { 

 

 

 

/* FSK 100kbps channel, 868.3 MHz */ 

 

 

 

"enable": true, 

 

 

 

"radio": 0, 

 

 

 

"if": 100000, 

 

 

 

"bandwidth": 250000, 

 

 

 

"datarate": 100000 

 

 

 

}, 

 

"gateway_conf": { 

 

 

"gateway_ID": "AA555A0000000000" 

 


 

In the head of the file there is one config block for each radio of the concentrator. Each radio 
can be turned on / off and operates on a certain base frequency. (See block “

radio_0

” and 

radio_1

”). The following blocks define the parameters used by the virtual multi SF channels. 

Each logical channel configuration consists of the radio to be used and the RF frequency. The 

RF frequency is defined as difference to the base frequency defined in the corresponding radio 

config block. 

After checking the configuration the tool can be started via: 

cd lora_gateway/util_pkt_logger 

./util_ptk_logger 

After starting the packet logger, please send out some data with another radio module. In this 

document it is assumed that the user is familiar with the WiMOD iM88xA radio module or the 

iU88xA USB-Stick and the Windows Software called “WiMOD LR Studio”

1

 or “WiMOD ExpLoRa 

Studio” or “WiMOD LoRaWAN EndNode Studio”. 

In  order  to  send  some  data  start  the  Windows  software  and  navigate  to  “Configuration”  and 
make  sure  the  TX  setup  matches  one  of  the  configurations  in  the 

global_conf.json

  file 

within  the 

util_pkt_logger

  folder  on  the  linux  host.  After  setting  up  the  radio  TX 

configuration,  navigate  to  “Radio  Services”  /  “Data  Link  Service”  and  start  sending  some  test 

messages. 

In  order  to  inspect  the  RX  data  from  the  iC880A  device  stop  the 

util_pkt_logger

  by 

pressing 

Ctrl+C

 and open the CSV file in the current folder. 

The following screen shot shows the TX and RX data: 

                                            

1

 The WiMOD LR Studio is intended to be used with a WiMOD Module running the WiMOD LR-Base firmware. The 

other PC software is intended to be used in conjunction with a WiMOD Module running the WiMOD LoRaWAN 

firmware. 

Содержание iC880A

Страница 1: ...iC880A QuickStart Guide How to get started with the iC880A Document ID 4100 40140 0078 Category confidential IMST GmbH Carl Friedrich Gauss Str 2 4 D 47475 Kamp Lintfort ...

Страница 2: ...information about the polarity of the DC Jack Power supply connector 0 4 Picture of iC880A updated 0 5 Added version information about the referenced github repository added hint about the WiMOD LR Studio 0 6 Changed link URL to libmpsse Aim of this Document Aim of this document is to give some quick start instructions how to start working with the WiMOD iC880A Confidentiality Note This document h...

Страница 3: ...GITHUB 6 3 1 Download of the Open Source Driver 7 3 2 Downloading Additional Drivers 7 3 3 Configuration of the Driver 8 3 3 1 File lora_gateway libloragw library cfg 8 3 3 2 File lora_gateway libloragw src loragw_spi ftdi c 9 3 4 Compilation of the Library 9 3 5 Setting up udev Rules 9 3 6 Connection of iC880A and the Linux Host 10 3 7 Example Utilities 10 3 7 1 util_tx_test 10 3 7 2 util_pkt_log...

Страница 4: ...en the iC880A and the host Make sure the external power supply is on and supplies 5 V before connecting the power cable If there is no power available and the connector is in the DC jack the internal voltage regulators of the iC880A may get damaged The polarity of the external DC Jack is shown in Figure 1 1 Figure 1 1 Polarity of the 5V DC Jack 2 Overview Purpose of this documentation is to give s...

Страница 5: ...eiver Sx1257 radio_0 radio_1 Power Supply USB Interface Figure 2 1Picture of iC880A USB 2 2 Basic System Concept Figure 2 2 shows the basic system concept for the LoRA WAN system The iC880A is the central hardware solution for all LoRa based radio communication It receives and transmits radio messages Processing of the radio messages as well as the protocol related tasks is done by external host s...

Страница 6: ...y PI B It is possible to use any other host system and Linux distribution but there may be some variations in the commands that are not within the scope of this document The basic setup of the embedded Linux host system keyboard layout time zone network connectivity accessibility is outside of the scope of this document too 2 4 Hardware Connection The iC880A provides a mini USB connector as main i...

Страница 7: ... 3 1 Download of the Open Source Driver Install a git client on your embedded host system On Debian based systems the git client can be installed by calling the following command in a terminal emulator console sudo apt get install git Create local folder that should contain the local copy of the repository mkdir p LoRa lora_gateway Get a copy of the repository cd LoRa lora_gateway git clone https ...

Страница 8: ...lder LoRa github lora_gateway libloragw there is a file called libraray cfg This file contains the most important options for the HAL library and must be modified to your needs before compiling the software 3 3 1 File lora_gateway libloragw library cfg This file is used as general configuration file for the whole libloragw system library In order to fit the needs of the iC880A some parameters must...

Страница 9: ... the PRIVATE CONSTANTS around line 50 in the file and change the line define PID 0x6010 to define PID 0x6014 Afterwards save the file and close the editor 3 4 Compilation of the Library In order to compile the libloragw library it is assumed that a gcc g compiler and a make utility is already installed and runable Enter the lora_gateway folder and execute the make command cd lora_gateway make This...

Страница 10: ...ATTRS idProduct 6014 Save the file and leave the editor Next copy the file to the folder etc udev rules d sudo cp 99 libftdi rules etc udev rules d 3 6 Connection of iC880A and the Linux Host 3 7 Example Utilities In the folder lora_gateway there are several example utilities showing the usage of the libloragw library This quick start guide will show the util_pkt_logger and the util_tx_test 3 7 1 ...

Страница 11: ... 7 2 util_pkt_logger This utility tool is able to demonstrate the receiving ability of the iC880A device It configures the iC880A device for RX operation and writes each received packet into a CSV file That file can be opened and inspected afterwards This tool needs a configuration file that holds parameters relevant to the RX operation of the concentrator Please take a look into this file called ...

Страница 12: ...er util_ptk_logger After starting the packet logger please send out some data with another radio module In this document it is assumed that the user is familiar with the WiMOD iM88xA radio module or the iU88xA USB Stick and the Windows Software called WiMOD LR Studio 1 or WiMOD ExpLoRa Studio or WiMOD LoRaWAN EndNode Studio In order to send some data start the Windows software and navigate to Conf...

Страница 13: ...ee the payload data message itself 4 Next Steps After stepping through this guide the user is able to start developing his her own iC880A based solution As a final hint there are some more interesting open source projects within the gitbub repository https github com Lora net For example there is a project called packet_forwarder that demonstrates how to receive LoRa packets and forward the data t...

Страница 14: ...ssential requirements of the R TTE directive is within the responsibility of the manufacturer of the final product A declaration of conformity for the radio module is available from IMST GmbH on request The applicable regulation requirements are subject to change IMST GmbH does not take any responsibility for the correctness and accuracy of the aforementioned information National laws and regulati...

Страница 15: ...mpliance of systems or units in which products from IMST GmbH are integrated with applicable legal regulations Customers should provide adequate design and operating safeguards to minimize the risks associated with customer products and applications The products are not approved for use in life supporting systems or other systems whose malfunction could result in personal injury to the user Custom...

Отзывы: