User's Manual

LoRa/BLE Modules
Hardware Integration Guide
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/wireless
14
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
Note 1: Stay within internal 1.2 V reference voltage with given prescaling on AIN pin and do not violate ADC
maximum input voltage (for damage) for a given VCC, e.g. If VCC is 1.8 V can only expose AIN pin to
2.1 V (VCC+0.3).
Note 2: Currently, the smartBASIC runtime engine firmware only allows 10-bit mode.
Note 3: ADC input impedance is estimated mean impedance of the ADC (AIN) pins. The tolerance is +/-20%.
The ADC is highly sensitive to the impedance of the source. The ADC (AIN) input impedance is 200k-
600k depending on your ADC gain (pre-scaling) setting. Normally, when not sampling, the ADC (AIN)
impedance will have very high value and can consider it to be an open circuit. The moment ADC is
sampling, ADC(AIN) impedance is 200k-600k.
nAutoRUN Pin and Operating Modes
Operating modes (refer to the smartBASIC manual for details):
Self-contained mode
Interactive/Development mode
Table 7: nAutoRUN pin
Signal Name
Pin #
I/O
Comments
nAutoRUN (SIO_25)
6
I
Input with active low logic.
Operating mode selected by nAutoRun pin status:
If Low (0V), runs $autorun$ if it exists;
If High (VCC), runs via at+run (and “file name” of application).
Pin 40 (nAutoRUN) is an input, with active low logic. In the development board (DVK-RM1xx) it is connected so
that the state is driven by the host’s DTR output line. nAutoRUN pin needs to be externally held high or low to
select between the two RM1xx operating modes:
Self-contained Run mode (nAutoRUN pin held at 0V).
Interactive/Development mode (nAutoRUN pin held at VCC)
smartBASIC runtime engine firmware checks for the status of nAutoRUN during power-up or reset. If it is low
and if there is a smartBASIC application named $autorun$ then the smartBASIC runtime engine executes the
application automatically; hence the name self-contained run mode.