nb868 User Guide v2.2.3
nb868 User Guide v2.2.3
NB868-500mW RF Module
User guide version V2.2.3
Software version V2.3.0
ADEUNIS RF
283 rue Louis Néel - Parc Technologique Pré Roux
38920 CROLLES - France
Tel. : +33 (0)4 76 92 07 77 - Fax : +33 (0)4 76 04 80 87
www.adeunis-rf.com arf@adeunis-rf.com
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Information
Document information
Title NB868 Narrow Band module User guide
Subtitle User guide version V2.2.3
Document type Hardware integration and software management manual
Document status Release for NARROW BAND software version V2.3.0
Labelling
Usage restrictions
868
3B
Product reference
Disclaimer
This document and the use of any information contained therein, is subject to the acceptance of the Adeunis RF terms and conditions. They can
be downloaded from www.adeunis-rf.com.
Adeunis RF makes no warranties based on the accuracy or completeness of the contents of this document and reserves the right to make
changes to specifications and product descriptions at any time without notice.
Adeunis RF reserves all rights to this document and the information contained herein. Reproduction, use or disclosure to third parties without
express permission is strictly prohibited. Copyright © 2012, Adeunis RF.
Adeunis RF is a registered trademark in the EU and other countries.
Technical Support
Website
Our website contains many useful information : modules and stand alone products information, user guides, configuration software and techni-
cal documents which can be accessed 24 hours a day.
Email
If you have technical problems or cannot find the required information in the provided documents, contact our Technical Support by email. Use
our dedicated email address (arf@adeunis-rf.com) rather than any personal email address of our staff. This makes sure that your request is
processed as soon as possible.
Page 2 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
DECLARATION OF CONFORMITY
We ADEUNIS RF
283 rue LOUIS NEEL
38920 CROLLES FRANCE
to which this declaration refers conforms with the relevant standards or other standardising documents:
Notes:
• According to the 1999/519/EC «RF signal» recommendations, a minimum distance of 10cm between the product and the body is required.
• Receiver class (if applicable): 2
• Demonstration of conformity has been realized with ARF7763AA mounted on NB868 Extension pack ARF7891A
• Usage restrictions : It is the user responsibility to be sure that the configuration and use of the NB868 module fulfill all the requirements
of Rec 70-03 (describing in annex 1, frequency bands, g, g1, g2, g3 or g4) . In certain cases, you may need to notify the final equipment to
European administrations. Adeunis RF can assist you on regulatory aspects
Page 3 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Table of contents
Information2
Labelling2
Disclaimer2
Technical Support2
Narrow Band Modules REGULATORY CONSIDERATIONS3
NB868 MHz module 3
INTRODUCTION6
Environmental recommendations6
Warnings6
Disposal of waste by users in private households within the European Union7
EINLEITUNG7
Hinweise zum Umweltschutz 7
Warnhinweise8
Entsorgung der Abfälle von Betreibern in Privathaushalten innerhalb der Europäischen Union8
1. Modules overview 9
1.1. Adeunis RF concept 9
1.2. Module functionality 9
1.3. Module range 9
1.4. NB868-500mW Technical specifications 9
2. Main characterictics 10
2.1. Form factor and footprint 10
2.2. Pins description 10
2.2.1 Pinout of the module 10
2.2.2 Pin configuration 11
2.3. Electrical & Radio characteristics 12
2.3.1 Absolute maximum ratings 12
2.3.2 General specifications 12
2.3.3 Digital specifications 12
2.3.4 Radio characteristics 13
2.3.4.1 Use at 500mW: maximum range 13
2.3.4.2 Usage up to 25mW: maximum number of channels 14
2.4. Power supply 15
2.5. Antenna 15
3. Communication mode 16
3.1. UART interface 16
3.1.1 UART settings 16
3.1.2 UART protocol 16
3.2. Radio interface 16
3.2.1 Packet protocol 16
3.2.1.1 Protocol description 16
3.2.1.2 Non-secured Packet Protocol 16
3.2.1.3 Secured Packet protocol 16
3.2.1.4 Transmission integrity control 17
3.2.1.5 Implementation 17
3.2.1.6 Transmission data path 17
3.2.2 Continuous asynchronous protocol 17
3.2.2.1 Description of the protocol 17
3.2.2.2 Transmission integrity control 17
3.2.2.3 Implementation 17
3.2.2.4 Transmission data path and latency 17
3.3. Addressing 18
Page 4 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
3.4. RSSI 18
3.4.1 RSSI continuous 19
3.4.2 Frame RSSI 19
3.5. Scan Free function 19
5. Firmware upgrade 24
6. Process 24
6.1. Description of module 7763xxx 24
6.2. BOM analysis 24
6.3. Risk linked to number of reflows 24
6.4. Soldering curve 25
7. Version history 25
Page 5 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
INTRODUCTION
All rights to this manual are the exclusive property of ADEUNIS RF. All rights reserved. Copying this manual (without written permission from the
owner) via printing, copying, recording or by any other means, translating this manual (in full or partially) into any other language, including all
programming languages, using any electrical, mechanical, magnetic or optical devices, manually or any by other methods, is prohibited.
ADEUNIS RF reserves the right to change the technical specifications or functions of its products, or to cease manufacturing any of its products,
or to cease technical support for one of its products without notice in writing and urges its customers to make sure that the information they
have is valid.
ADEUNIS RF configuration software and programs are available free of charge in a non-modifiable version. ADEUNIS RF can make no gua-
rantees, including guarantees concerning suitability and applicability for a certain type of application. Under no circumstances can the manufac-
turer, or the distributor of an ADEUNIS RF program, be held liable for any damage caused by the use of the aforesaid program. Program names,
as well as all copyright relating to programs, are the exclusive property of ADEUNIS RF. Any transfer, granting of licences to a third party, leasing,
hire, transport, copying, editing, translation, modification into another programming language or reverse engineering are prohibited without
ADEUNIS RF’s prior written authorisation and consent.
ADEUNIS RF
283, rue Louis Néel
38920 Crolles
France
Environmental recommendations
All superfluous packaging materials have been eliminated. We have done everything possible to make it easy to separate the packaging into
three types of materials: cardboard (box), expanded polystyrene (filler material) and polyethylene (packets, foam protective sheets). Your device
is composed of materials that can be recycled and reused if it is dismantled by a specialist company. Please observe local regulations concerning
the manner in which waste packaging material, used batteries and your obsolete equipment are disposed of.
Warnings
Valid for Narrow Band modules with the following references: ARF7763BA
Read the instructions in the manual.
The safety of this product is only guaranteed when it is used in accordance with its purpose.
Maintenance should only be carried out by qualified persons.
Please note, do not install the equipment close to a heat source or in damp conditions.
Please note: for your own safety, you must ensure that the equipment is switched off before carrying out any work on it.
Please note: For your safety, the power supply circuit must be SELV (Safety Extra Low Voltage) and must be a limited power
sources.
• Before using the system, check that the power supply voltage shown in the user manual corresponds to your supply. If it
doesn’t, please consult your supplier.
• Place the device against a flat, firm and stable surface.
• The device must be installed in a location that is sufficiently ventilated so that there is no risk of internal heating and it must
not be covered with objects such as newspapers, cloths, curtains, etc.
• The device’s aerial must be free and at least 10 cm away from any conducting material.
Page 6 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
• The device must never be exposed to heat sources such as heating equipment.
• Do not place the device close to objects with naked flames such as lit candles, blowtorches, etc.
• The device must not be exposed to aggressive chemical agents or solvents likely to damage the plastic or corrode the metal parts.
• Install your device close to its DC power supply.
This symbol on the product or on its packaging indicates that this product must not be disposed off with
your other household waste. Instead, it is your responsibility to dispose of your waste by taking it to
a collection point designated for the recycling of electrical and electronic appliances. Separate collection and recycling of your waste
at the time of disposal will contribute to conserving natural resources and guarantee recycling that respects the environment and human health.
For further information concerning your nearest recycling centre, please contact your nearest local authority/town hall offices, your household
waste collection company or the shop where you bought the product.
EINLEITUNG
Alle Rechte an diesem Handbuch sind das alleinige Eigentum der ADEUNIS RF. Alle Rechte sind vorbehalten. Jede (ohne die schriftliche Geneh-
migung des Eigentümers erfolgende) Wiedergabe dieses Handbuches durch Druck, Kopie, Aufzeichnung oder jedwedes andere Mittel sowie die
(vollständige oder teilweise) Übersetzung in jede andere Sprache einschließlich aller Programmiersprachen durch Verwendung welcher elektris-
cher, mechanischer, magnetischer, optischer, manueller Vorrichtungen oder anderen Methoden auch immer, sind verboten.
Die ADEUNIS RF behält sich das Recht vor, ohne irgendeine schriftliche Mitteilung die technischen Spezifikationen oder die Funktionen ihrer Pro-
dukte zu verändern, bzw. die Herstellung eines ihrer Produkte einzustellen oder den technischen Support für eines ihrer Produkte auszusetzen
und bittet ihre Kunden inständig sich zu vergewissern, dass die ihnen zur Verfügung stehenden Informationen zutreffend sind.
Die Konfigurations- und Programmsoftware der ADEUNIS RF steht kostenlos in einer Version zur Verfügung, die nicht verändert werden kann.
Die ADEUNIS RF kann keinerlei Garantie und auch keine Garantie zur Eignung und Anwendbarkeit für eine Applikation bestimmten Typs gewäh-
ren. Der Hersteller oder der Verkäufer eines Programms der ADEUNIS RF kann in keinem Fall für irgendwelche Schäden haftbar gemacht werden,
die durch die Anwendung des besagten Programms gegebenenfalls verursacht werden könnten. Die Bezeichnungen der Programme sowie alle
Urheberrechte zu den Programmen sind das alleinige Eigentum der ADEUNIS RF. Jede Übertragung, Gewährung von Lizenzen an einen Dritten,
Leasingvergabe, Vermietung, Übereignung, Kopie, Übersetzung, Modifizierung in eine andere Programmiersprache oder durch ein Reverse Engi-
neering ist ohne die schriftliche Genehmigung und ohne das Einverständnis der ADEUNIS RF verboten.
ADEUNIS RF
283, rue Louis Néel
38920 Crolles
France
Alle überflüssigen Verpackungsmaterialien wurden vermieden. Wir haben auch alles getan, was uns möglich ist, damit die Verpackung ohne
Weiteres in drei Typen von Werkstoffen getrennt werden kann : Karton (die Schachtel), geschäumtes Polystyrol (Dämmmaterial) und Polyä-
thylen (Beutel, Schaumfolie zum Schutz). Ihr Gerät besteht aus Werkstoffen, die recycelt und weiterverwendet werden können, wenn es von
einem darauf spezialisierten Unternehmen demontiert wird. Beachten Sie bitte die jeweils geltenden örtlichen Vorschriften zur Entsorgung der
Verpackungsmaterialien, der verbrauchten Batterien und Ihres ausgemusterten Gerätes.
Page 7 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Warnhinweise
Gültig für die Relaisempfänger mit den Artikelnummern : ARF7763BA
Die durch dieses Produkt gewährte Sicherheit kann nur bei einer Anwendung entsprechend dem vorgesehenen Einsatzzweck gewährleistet
werden.
Achtung ! Zu Ihrer eigenen Sicherheit ist es unerlässlich, das Gerät vor jedem technischen Eingriff spannungsfrei zu schalten.
Achtung ! Zu Ihrer eigenen Sicherheit die Stromversorgung Schaltung muss SELV (Safety Extra Low Voltage) sein und muss der begrenzten
Stromquellen sein.
• Vor dem Einsatz des Systems müssen Sie überprüfen, dass die in der Bedienungsanleitung angegebene Anschlussspannung den Werten
Ihrer Stromversorgung entspricht. Anderenfalls wenden Sie sich bitte an Ihren Lieferanten.
• Stellen Sie das Gerät auf einer ebenen, festen und stabilen Fläche auf.
• Um jede Gefahr einer inneren Erwärmung des Gerätes zu vermeiden, ist dieses an einem gut belüfteten Ort aufzustellen und darauf zu
achten, dass keine Gegenstände wie Zeitschriften, Matten, Vorhänge u. a. darauf abgelegt werden.
• Die Antenne des Gerätes muss frei liegen und von jeglichen leitenden Werkstoffen mindestens 10 cm entfernt sein.
• Das Gerät darf niemals der Einwirkung von Wärmequellen oder Heizgeräten ausgesetzt sein.
• Das Gerät darf sich niemals in der Nähe von Gegenständen mit offener Flamme befinden, wie brennenden Kerzen, Schweißbrennern usw.
• Das Gerät darf niemals der Einwirkung von aggressiven Chemikalien oder Lösemittel ausgesetzt werden, die geeignet sein könnten, den
Kunststoff zu beschädigen oder die Metallteile zu korrodieren.
• Stellen Sie Ihr Gerät in der Nähe der Quelle seiner Spannungsversorgung DC auf.
Entsorgung der Abfälle von Betreibern in Privathaushalten innerhalb der Europäischen Union
Dieses Symbol auf dem Produkt oder auf seiner Verpackung weist darauf hin, dass dieses Produkt nicht gemeinsam mit Ihrem anderen
Haushaltsmüll entsorgt werden darf. Stattdessen haben Sie dafür Sorge zu tragen, Ihre Abfälle bei einer Erfassungsstelle zu entsorgen, die auf
das Recycling elektrischer und elektronischer Geräte spezialisiert ist. Die gesonderte Erfassung und das Recycling ihrer Abfälle bei der Ent-
sorgung tragen dazu bei, die natürlichen Ressourcen zu bewahren und ein Recycling zu gewährleisten, das dem Schutz der Umwelt und der
menschlichen Gesundheit dient. Für weitere Informationen zu der Ihrer Wohnung am nächsten gelegene Recyclingstelle wenden Sie sich bitte an
die örtliche Gemeindeverwaltung, an die zuständige Dienststelle für die Müllabfuhr oder an das Geschäft, in dem sie das Gerät gekauft haben
Page 8 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
1. Modules overview
The idea is to provide the user with a module which is ready for sending and receiving data over a radio link thus enabling the user to focus on
the development of its application. The aim is to relieve the user of having to deal with the complex radio management.
This specific range of Narrow Band modules has been created to provide extra longe range «point-to-point» transmissions on unlicensed fre-
quency bands and the use of multiple modules in the same environment at maximum power.
The module consists in a bidirectional RF transceiver implementing an RF-UART gateway. Basically, data sent to the module on its UART inter-
face are transmitted on the air and vis versa.
The module is build around two main components:
• The “Digital” block based on a STM32F101x microcontroller belonging to the ARM Cortex-M3 family.
• The “Radio” block based on the TI CC1120 radio chip combined to an optimized RF front-end.
The radio block handle RF modulation and demodulation while the digital block drives the radio engine and offers a simplified end user inter-
face with a large panel of functionalities.
Technical specifications
Communication Point-to-point / Point-to-multipoint
Module configuration Through AT commands
Radio data rate 2.4, 9.6, 38.4 and 57.6 kbps
UART data rate 1.2, 2.4, 4.8, 9.6, 19.2, 38.4, 57.6 and 115.2 kbauds
UART TTL port TxD - RxD - RTS - CTS
Adressing mode Transparent or Addressed
Frequencies 868 MHz
Programmable RF output power Up to 500 mW (27 dBm)
Sensitivity Down to -120 dBm @ BER10-3 (data rate 2.4kbps)
Operating range (open space) External antenna: up to 20 km
Operating voltage 3v to 3,6v (3,3v nominal)
Tx/Rx consumption (maxi)/Sleep 700mA / 40mA / 8µA
Operating temperature -40°C / +85°C
Dimensions 32x 16 x 2.8mm (4mm with shield)
Page 9 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
2. Main characterictics
STDBY
CMD
Reserved
Reserved
Reserved
USART1_CTS Reserved
GND
Reserved
Reserved RSSI
Reserved Reserved
Reserved Reserved
Reserved
Page 10 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
8 pins on
both little
GND Ground (4)
side of the
module
(1) Described from the module point of vue (I : Is an input of the module, O is an output of the module) - The internal pull-up/pull-down is
between 30KΩ and 60KΩ, typical 45KΩ.
(2) All GND and VCC pins must be connected
(3) Must be left unconnected or connect to an input of the host controller
(4) Should be connect to GND to get best RF sensitivity
Page 11 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
The table below summarizes all the different electrical input/output generic characteristics of the modules :
VOL Output Low level voltage for an I/O pin when 8 pins are sunk at the same time CMOS port 0.4
IIO=+8mA
Output High level voltage for an I/O pin when 8 pins are sourced at the same time V
VOH 2.7 V <VDD<3.6V 2.4
VOL Output Low level voltage for an I/O pin when 8 pins are sunk at the same time IIO=+20mA 1.3
2.7 V <VDD<3.6V V
VOH Output High level voltage for an I/O pin when 8 pins are sourced at the same time VDD-1.3
Output High level voltage for an I/O pin when 8 pins are sourced at the same time
VOL 0.4
IIO=+6mA
2 V <VDD<2.7V V
Output High level voltage for an I/O pin when 8 pins are sourced at the same time
VOH VDD-0.4
Page 12 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
The table below shows the main RF characteristics of NB868 module. We can separate 2 types of use:
• High powers up to 500mW
• Powers < or equal to 25mW.
The table below enables users to configure their NB868 modules to obtain the longest possible range at 500mW in the 869.4 to 869.6MHz
band.
Parameters Conditions
RF data rate 2.4kbps 9.6kbps 38.4kbps 57.6kbps Modification through AT COMMAND ATS254
Available chan- Up to 19 : Up to 9 : Up to 7 : Up to 3 :
nels 869,4125 MHz 869,425 869,450 869,475
869,425 MHz MHz MHz MHz
869,4375 MHz 869,450 869,475 869,525 Modification through AT COMMAND ATS200
869,450 MHz MHz MHz MHz
869,46255 MHz 869,475 869,500 869,575
869,475 MHz MHz MHz MHz RF power up to 27dBm (500mW)
869,4875 MHz 869,500 869,525
869,500 MHz MHz MHz other frequencies available in the sub-band
869,5125 MHz 869,525 869,550 863-870MHz
869,525 MHz MHz MHz
869,5375 MHz 869,550 869,575 Please refer to the ARF868 channel list for
869,550 MHz MHz MHz more information
869,5625 MHz 869,575 869,600
869,575 MHz MHz MHz http://www.adeunis-rf.com/media/down-
869,5875 MHz 869,600 loads/108/trad_file/fre/arf868_radio_mo-
869,600 MHz MHz dems_channels_list_v1.1.pdf
869,6125 MHz 869,625
869,625 MHz MHz
869,6375 MHz
7 levels
+27 dBm
+25 dBm
Available RF +23 dBm
Modification through AT COMMAND ATS231
radiated power +20 dBm
+17 dBm
+14 dBm
+10 dBm
Modulation 2 GFSK 4 GFSK
RX sensitivity -122dBm -116dBm -112dBm -110dBm @BER 10e-3
Page 13 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
The rest of the 863-870MHz band is segmented into sub-bands of 25mW, each with their regulatory requirements. The NB868 module makes
the best use of all the possibilities of this band to enable a maximum number of applications. The characteristics are given in the table below:
Parameters Conditions
RF data rate 2.4kbps 9.6kbps 38.4kbps 57.6kbps Modification through AT COMMAND ATS254
Available channels Up to 506 Up to 249 Up to 80 Up to 60 Modification through COMMAND ATS200
http://www.adeunis-rf.com/media/downloads/108/trad_file/fre/
arf868_radio_modems_channels_list_v1.1.pdf
Modulation 2 GFSK 4 GFSK
Up to Up to Up to
Range Up to 1km in open field
4km 2km 1km
Up to 1%
Duty cycle Depending on the frequency used and the See CEPT Recommendation 70-03 for more information
channel
* spectral occupancy 2.4kbps being slightly greater than
Spacing 12.5kHz* 25kHz 50kHz 75kHz
12.5KHz, Adeunis RF advocates use N-2/N+2
Rejection on adjacent
46dBc 50dBc 39dBc 39dBc
channel (N-1/N+1)
Alternate channel
46dBc 50dBc 39dBc 39dBc
rejection (N-2/N+2)
@ +/-1 MHZ, +/-2 MHz, +/- 10 MHz
Blocking >75dB
Conducted measurement
Page 14 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
The module power supply is made between the VCC pin (pins 4 and 20) and GND and must be between 3V and 3.6 V, 3.3 V typical.
As described in the diagram below, we suggest adding a filter cell on the module voltage power supply pin (Vcc).
Each «GND» must be connected by vias to the ground plane of the motherboard (with the shortest distance). The unnumbered «GND» located at
the ends of the module are not required but are recommended for maximum receiver sensitivity.
• If used, the100nH inductor will have a resonant frequency> 1GHz in order to be effective at 869MHz, frequency band of the NB868 module
• The design of the power supply must be able to provide a current up to 700mA, corresponding to the maximum consumption of the module
transmitting at maximum power.
3V3 typ
ARF7650A
100nH
27pF 100nF
2.5. Antenna
ADEUNIS RF will assist you in your choice of antennas so as to optimize the performance of your products. Feel free to contact us for more
information. We suggest the schematic below :
• The footprint of the inductor and capacitor are useful to ensure good impedance matching between antenna and modules. The values will
depend on the working RF frequency and characteristics of the antenna.
• The SMA connector can be bent or straight depending on the selected antenna but is not essential. We could very well consider 8.6 cm
welded wire antennas directly on the PCB either horizontally or vertically. However and wherever possible, it is interesting to keep the
footprint of SMAs as to facilitate the development for the degrees of freedom offered an application point of view (offset antenna, etc ...).
We would offer the antennas associated with these connectors.
• For a quick set-up, we recommend not to get the self, to install the capacitor to 27 pF (or replace it by a short circuit or a 0 ohm resistor)
and solder a 8.6 cm length wire behind the capacitor.
50 Ohms line
Bent SMA
connector
Capacitor
Page 15 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
3. Communication mode
The RTU module is ready for transmission and reception operations at first power-up without any configuration effort required. It starts in
communication mode allowing to directly sends and receive data. The default UART configuration is set to 9600bps, 8 data bits, 1 stop bit and
no parity.
By default, the module is permanently listening the RF interface and the UART port.
• When an incoming frame is demodulated on the RF interface, the data payload of the frame is transmitted on the UART port.
• When an incoming data is detected on the UART port, it is modulated into a frame on the RF interface.
The UART port of the module is the main interface for the host controller.
The communication requires 10 bits for each byte to transmit, including one start bit followed by 8 data bits and then one stop bit. The Start bit
value is the logical “0” while the stop is the logical “1” value. There is no parity bit in the transmission.
The data rate settings can be configured with the following rate: 9.6 / 19.2 / 38.4 / 57.6 / 115.2kbps using the S210 register.
Please note that this UART port does not support electrical RS232 characteristics. An external RS232 driver has to be used if RS232 interface is
required.
There is no specific protocol to respect for data transmission and reception. Each byte sent on the UART port is reported on the RF interface and
vis versa.
NB RTU module uses a packet oriented protocol on its RF interface. The data coming from the UART interface are accumulated in an internal fifo
in the module and then encapsulated in an RF frame. The maximum amount of data that can be transferred into a single radio packet can reach
1024 Bytes.
The maximum packet size can be set up in S218 register from 1 to 1024 bytes. Each new packet introduces some latency in the transmission
delay caused by the RF protocol overhead. The RF protocols encapsulate the data payload with the following elements:
• A preamble pattern required for receiver startup time
• A bit synchronization pattern to synchronize the receiver on the RF frame
• Other protocol field such as source address and destination address, payload length, optional CRC and internal packet type field.
The incoming fifo may accumulate up to 1024 data byte. No more data has to be set in the fifo while a 1024 bytes block of data has not been
released by the radio transmission layer. To prevent from input fifo overrun, the hardware flow control may be activated. In this case, the RTS
signal (PIN 14 of the module) will be set when the incoming fifo is almost full to prevent the host controller from sending new data.
In non-secured mode, each packet is transmitted without acknowledgment; The transmitter doesn’t know if packet has been received.
In secured mode, each packet is transmitted and acknowledged by the receiver. If a packet isn’t acknowledged, the module proceeds with two
other attempts.
Following this sequence, the transmitter returns ‘>’ if the packet has been received, or ‘#’ if no acknowledgement has been received after the
three attempts.
Importante note : the addressed mode must be activated in order to use the secured mode.
Page 16 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
The RF protocol includes a 16 bits CRC. Each data extracted from an RF packet with an invalid CRC is silently discarded by the module state
machine. The CRC ensures that all the data received are valid. It may be deactivated for user whose protocols already have an integrity control
mechanism or when some error corrections are implemented by user protocols.
3.2.1.5 Implementation
The continuous asynchronous protocol enables data transfer from the UART interface to the radio link with the lowest possible latency. It is
associated with radio modulations enabling a wide range of air data rate and ranges to be covered. This is the mode that will allow you to use
the NB868 module to the maximum of its possibilities.
• In transmission, data entering on the UART is immediately transmitted into the “air”.
• In reception, data from the RF frames is transmitted progressively to the UART interface.
There is no buffering of complete radio frames before or after transmission on the serial link.
However, the product has buffering enabling a buffer to be performed if the radio and UART data rates are different. The UART interface does
not require a specific protocol. Each octet transmitted is transferred into the air and vice versa.
Thanks to its low latency and the absence of a protocol on the UART port, the NB868 module used with the continuous asynchronous protocol
is completely transparent in the replacement of a wire link.
By definition, the continuous protocol can not be cut. There is therefore neither CRC calculation nor control of data integrity.
3.2.2.3 Implementation
The notions of addressing (broadcast communication, group communication and addressed communication between products) are available and
described below.
Transmission delay from one equipment to another will depend on different factor:
• The UART transmission rate of the transmitter
• The UART transmission rate of the receiver
• The radio transmission rate and the radio modulation used
• The radio protocol overhead (packet split, preamble, synchronization and other protocol fields)
• The input data fifo threshold and timeout
An RF transmission can starts according following evens :
• either a timeout (S217)
• or a quantity of data in the buffer memory (S218)
Page 17 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
When the number of octets in the buffer memory reaches the threshold of register S218 before the timeout of register S217, it is triggering on
data.
On the other hand, when the timeout of register S217 expires before the data in the buffer memory reach the threshold of register S218, it is
triggering on time.
It should be noted that programming register S217 to 0 (no timeout) means that the S218 register threshold must be reached to start transmis-
sion.
3.3. Addressing
The product has various addressing modes that are configurable via the product registers. The following modes are available:
• Transparent mode without sub-network
• Transparent mode with sub-network
• Addressed mode without sub-network
• Addressed mode with sub-network
The transparent modes are intended for inter-product communication: all products are recipients of the frames transmitted. The addressed
modes enable communication to one or more products (creation of sub-groups).
3.4. RSSI
The Received Signal Strength Indication or RSSI provides an indication of the RF level in the selected channel.
Depending on the value observed, it indicates the availability of the channel and the noise level in the product’s environment, or the quality of
reception of the frames from a distant product. The terminals are -127dBm for the lower limit and -20dBm for the upper limit
Page 18 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Selection of the continuous RSSI mode is done by register S230, by setting the value to: 4
Selection of the continuous RSSI mode is done by register S230, by setting the value to: 1
The NB868 module scans all the channels available and returns the RSSI levels on each of the channels to the UART link in the following form: :
The polling time of a channel is defined as 25ms. The result of this polling may show that some channels are more usable than others in a given
environment.
As a second stage and for a more reliable assessment, we can use the ATT03 command which enables one channel to be listened to over a
longer period:
ATT03<c (channel)><t (polling time)>
With : <c> = Channel no
With: <t> = Polling time in seconds
E.g.: ATT03 529 60 -> Scan of channel 529 for 1 minute. The result returned has the following form:
C529=-087/-096/-101dBm<cr><lf>; i.e. in order: RSSI min. RSSI mean/RSSI max. measured over this period.
Page 19 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
The command mode is an embedded tool, accessible by the serial link via a terminal (*), enabling the programming of the module parameters
using a set of instructions called: “AT command set”. AT commands are used to read and write the module configuration registers. In the com-
mand mode, the radio is deactivated (in reception and transmission).
(*): Hercules types
The command mode entry is obtained by applying a rising edge on the CMDE_MODE pin. The pin is debounced for the time configured in the
S240 register. The module returns the “CM” string when it has effectively entered command mode. Note that the command mode entry may
be differed when an incoming RF frame is pushed on the UART interface. In any case, the “CM<cr><lf>” string is sent. The module backs to
the communication mode on a falling edge on the CMDE_MODE pin with respect of the configured debounce time. The module returns the
“O<cr><lf>” string when it has effectively leaved command mode.
The command mode entry may also be done with the UART interface by transmission of a sequence of 3 ASCII characters on the serial link.
By default, the sequence is: “+++<cr><lf>”, however the user can choose its own ASCII character by reprogramming register S214. The ATO
command backs the module to the communication mode. The module returns the “O<cr><lf>” string when it has effectively leaved command
mode.
It should be noted that exiting from the command mode is also possible automatically (timeout) by programming register S202
4.2. AT Commandes
A command starts with the two ASCII characters: “AT”, followed by one or more characters and data (see C below for the syntax of AT com-
mands available on the module).
Each command should end with a “CR” or “CR” “LF”, the two possibilities are accepted. (CR signifies: Carriage Return, LF signifies: Line Feed)
On receipt of a command the module returns:
• “the data”<cr><lf>, for a reading command, type ATS<n> ? , AT/S or AT/V.
• “O” <cr><lf>, for all other types of commands if it is accepted.
• “E” <cr><lf>, if it refuses the command because of a syntax error, unknown command, unknown register, invalid parameter, etc.
• “W”<cr><lf>, if it refuses the command because the configuration requested is not authorised.
• “CM” <cr><lf>, if it accepts entry into the command mode
Table of AT commands:
Page 20 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Example of a series of commands and corresponding replies as one could see them on a terminal:
Syntax of the Command Description Syntax of the response to the next line
+++ Request for entry into command mode CM
ATS254=3 Request for RF data rate at 9.6kbps O
ATS200=9 Request for channel selection = 9 E -> invalid channel !
ATS200=527 Request for channel selection = 527 O
ATS231=0 Request for RF power at 27dBm O
ATS200 ? Returns S200 register value S200=527
ATS231 ? Returns S231 register value S231=0
AT&W Storage request of the registers status W (the selected channel is not available at 9.6kbps RF data rate)
The value storage will not be performed.
ATO Request to exit command mode W (the selected channel is not available at 9.6kbps RF data rate)
The Exit will not be performed.
Interpretation of the above example: the user wished to save a new radio configuration (channel 527, power 27dBm) after having made a
parameter error (reply E) and an unauthorised configuration request (reply W). The module allows neither the saving of this invalid configuration
nor the use of the product in the communication mode.
When switching on the NB868 module operates according to the last configuration saved (factory configuration if its the first switching on, or if
this configuration has not been changed).
Modification commands, type ATS<n>=<m> or ATR allow the content of registers to be modified. The product is usable with each new
configuration as long as it is not disconnected.
On the other hand the modified values will be applied next time the module is switched on only if they have been saved AT&W command
Preamble duration
S204 0
0 : Automatic preamble
Page 21 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Communication mode
S220 0 : Transparent 0
1 : Addressed
Radio protocol
0 : Asynchronous paquetized non secured
S222 2: Asynchronous paquetized secured 3
3: Asynchronous continuous
RSSI mode:
0 : no RSSI
1 : Exit «RSSI frame» on UART
S230 0
2 : Exit «permanent RSSI» in PWM
3 : Mode 1 + mode 2 active together
4 : Exit «permanent RSSI» on UART
RF radiated power:
0 : 27 dbm
1 : 25 dbm
2 : 23 dbm
S231 0
3 : 20 dbm
4 : 17 dbm
5 : 14 dbm
6 : 10 dbm
Page 22 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Source address (or local) Factory pre-ini- Used in the addressed mode. This register contains the
S252
from : 1 to 65535 tialized address of the module
Network number
no network : 0
S253 0
Network address: from 1 to 254
255=broadcast
1: 2,4Kbps
3: 9,6Kbps
S254 6 : 38,4kbps 1
8: 57,6Kbps
Destination address :
In addressed mode, this register must be set with the
S256 From 1 to 65534 0
address of the module to be reached.
Broadcast function : 65535
Note1 : the UART data rate should be chosen as close as possible to the radio data rate.
This is to limit the use of the buffer memory zone and activation of the RTC/CTS UART data rate control signals. E.g. 1: for a radio data rate of
57.6Kbps (S254=8), the choice of UART data rate of 57.6Kbps (S210=6) would be ideal. E.g. 2: For a UART data rate of 9.6Kbps (S210=3), the
radio data rate of 9.6Kbps(S254= 3) is the best possible choice.
If it is not possible to bring the UART and Radio data rates close together the 1024 octet buffer memory will compensate for the differences in
speed, provided this difference is not significant and/or the size of the data for transmission is limited.
In all other cases, only the use of the UART data rate control (S216=1) enables the integrity of the data transmitted to be guaranteed.
Note2 : the default choice of manual exiting from the mode is suitable for use during development, when the user needs to maintain control
over the exit from the command mode.
Programming of a timeout is recommended for use in operation, to enable an automatic return by the module into the communication mode if a
character chain in the data flow is accidentally assimilated to a request for entry into the command mode.
Note3 : registers S217 and S218 are used to synchronise transmission start:
• either a timeout (S217)
• or a quantity of data in the buffer memory (S218)
The first of these two limits reached triggers transmission start.
When the number of octets in the buffer memory reaches the threshold of register S218 before the timeout of register S217, it is triggering on
data.
On the other hand, when the timeout of register S217 expires before the data in the buffer memory reach the threshold of register S218, it is
triggering on time.
Page 23 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
The NB868 module contains monitoring of the configuration coherency and prevents saving and operation of invalid set of parameters.
Invalid combinations result in the return of a “W” on the AT&W and ATO commands which are not executed in this case.
5. Firmware upgrade
Firmware upgrade is possible through the UART port (Tx, Rx and the Boot pin are required).
Current firmware version can be read using the AT/V command
More details about this functionality is available on request. Please, contact Adeunis-RF to get all the information on firmware upgrade.
6. Process
7763xx module is fully SMT, single side. Assembly process is based on leadfree alloy, no clean flux residues
PCB material is FR4 material, 6 layers, class 6 , nickel-gold finish (ENIG).
BOM was analyzed after loading and comparison with SERMA databases; from this job, we get the following data:
- Rohs status
- Obsolescence
- MSL level
- Max peak temp during reflow
- Time max at peak temp
- Number of reflow
- Lead finish of the package
- Termination description for resistor and capacitor chips; presence of nickel barrier or not
The worst case MSL level is 3. Other parts are level 1 classified.
Most parts are compliant with max peak temperature of 260°C during 10 seconds.
Most parts are compatible with 2 reflows.
All resistors and capacitors have nickel barriers in their terminations, which is necessary to avoid leaching effect.
There is no high risk regarding the assembly of the module on mother board, since the land pattern is larger than the “leads” (maybe the land
pattern may be little bit large compared to the “leads” and then there is risk of module slip during reflow soldering)
The stencil foil thickness should be 150 to 170 microns to ensure enough solder fillet; the stencil aperture should be reduced in length and
width by 150 microns roughly to avoid solder balling in case misalignment occurs.
Check of maximum temperature (during reflow) on sensitive component body has to be done.
The trickiest point is regarding the moisture sensitivity and the way to consider the module for the assembly on mother board.
Considering the components on the module, we can define the module as a level 3 component, whose floor life under 60% max RH is 168
hours.
Having in mind that module to mother board assembly delay is not under control, same for temporary storage atmosphere, the best solution is
to dry the module after test and put it in reels and then pack them in MBB bags.
Page 24 of 25
NARROW BAND - NB868 - User guide version V2.2.3 - Software version V2.3.0
Sonde TC1
sur C26 Sonde TC2
Sur U4
7. Version history
Page 25 of 25