AX−SFUS, AX−SFUS−API
www.onsemi.com
10
Table 9. ADC / TEMPERATURE SENSOR
Symbol Description Condition Min Typ Max Units
ADCRES ADC resolution 10 Bits
V
ADCREF
ADC reference voltage 0.95 1 1.05 V
Z
ADC00
Input capacitance 2.5 pF
DNL Differential nonlinearity ± 1 LSB
INL Integral nonlinearity ± 1 LSB
OFF Offset 3 LSB
GAIN_ERR Gain error 0.8 %
ADC in Differential Mode
V
ABS_DIFF
Absolute voltages & common mode voltage in
differential mode at each input
0 VDD_IO V
V
FS_DIFF01
Full swing input for differential signals
Gain x1 −500 500 mV
V
FS_DIFF10
Gain x10 −50 50 mV
ADC in Single Ended Mode
V
MID_SE
Mid code input voltage in single ended mode 0.5 V
V
IN_SE00
Input voltage in single ended mode 0 VDD_IO V
V
FS_SE01
Full swing input for single ended signals Gain x1 0 1 V
Temperature Sensor
T
RNG
Temperature range AT$T? −40 85 °C
T
ERR_CAL
Temperature error AT$T? −2 2 °C
AX−SFUS, AX−SFUS−API
www.onsemi.com
11
COMMAND INTERFACE
General Information
The chapter “Command Interface” is a documentation of
the AT−Command set for devices which do not have an
API−interface. To see whether the device is capable of
receiving AT−Commands, please refer to chapter “Part
Numbers”. If the device has been shipped with the
API−Interface, please refer to the SW manual and
“apiexample” code delivered with AX−SF−LIB−1−GEVK
for an introduction on how to setup a project and how to use
the API−Interface.
Serial Parameters: 9600, 8, N, 1
The AX−SFUS uses the UART (pins UARTTX,
UARTRX) to communicate with a host and uses a bitrate of
9600 baud, no parity, 8 data bits and one stop bit.
Power Modes
Standby
After Power−Up and after finishing a SIGFOX
transmission, AX−SFUS enters Standby mode. In Standby
mode, AX−SFUS listens on the UART for commands from
the host. Also, OOB frames are transmitted whenever the
OOB timer fires. To conserve power, the AX−SFUS can be
put into Sleep or turned off (Deep Sleep) completely.
Sleep
The command AT$P=1 is used to put the AX−SFUS into
Sleep mode. In this mode, only the wakeup timer for
out−of−band messages is still running. To wake the
AX−SFUS up from Sleep mode toggle the serial UARTRX
pin, e.g. by sending a break (break is an RS232 framing
violation, i.e. at least 10 bit durations low). When an Out of
Band (OOB) message is due, AX−SFUS automatically
wakes up to transmit the message, and then returns to Sleep
mode.
Deep Sleep
In Deep Sleep mode, the AX−Sigfox is completely turned
off and only draws negligible leakage current. Deep Sleep
mode can be activated with AT$P=2. To wake−up from
Deep Sleep mode, GPIO9 is pulled to GND.
When using Deep Sleep mode, keep two things in mind:
Everything is turned off, timers are not running at all and all
settings will be lost (use AT$WR to save settings to flash
before entering Deep Sleep mode). Out−of−band messages
will therefore not be sent. The pins states are frozen in Deep
Sleep mode. The user must ensure that this will not result in
condition which would draw a lot of current.
AT Commands
Numerical Syntax
hexdigit ::= [0−9A−Fa−f]
hexnum ::= “0x” hexdigit+
decnum ::= “0” | [1−9] [0−9]*
octnum ::= “0” [0−7]+
binnum ::= “0b” [01]+
bit ::= [01]
optnum ::= “−1”
frame ::= (hexdigit hexdigit)+
uint ::= hexnum | decnum | octnum | binnum
uint_opt ::= uint | optnum
Command Syntax
A command starts with ‘AT’ (everything is case
sensitive!), continues with the actual command followed by
parameters (if any) and ends with any kind of whitespace
(space, tab, newline etc.)
If incorrect syntax is detected (“parsing error”) all input
is ignored up until the next whitespace character.
Also note that any number can be entered in any format
(Hexadecimal, Decimal, Octal and binary) by adding the
corresponding prefix (‘0x’, ‘0’, ‘0b’). The only exception is
the ‘Send Frame’ command (AT$SF) which expects a list of
hexadecimal digits without any prefix.
Return Codes
A successful command execution is indicated by sending
‘OK’. If a command returns a value (e.g. by querying a
register) only the value is returned.
Examples
Bold text is sent to AX−SFUS.
AT$I=0
AXSEM AT Command Interface
Here, we execute command ‘I’ to query some general
information.
AT$SF=aabb1234
OK
This sends a Sigfox frame containing { 0x00 : 0x11 : 0x22
: 0x33 : 0x44 }, then waits for a downlink response telegram,
which in this example contains { 0xAA : 0xBB : 0xCC :
0xDD }.
AX−SFUS, AX−SFUS−API
www.onsemi.com
12
AT$CB=0011223344,1
OK
RX=AA BB CC DD
This sends a Sigfox frame containing { 0xAA : 0xBB : 0x12
: 0x34 } without waiting for a response telegram.
AT$CB=0xAA,1
OK
The ‘CB’ command sends out a continuous pattern of bits,
in this case 0xAA = 0b10101010.
AT$P=1
OK
This transitions the device into sleep mode. Out−of−band
transmissions will still be triggered. The UART is powered
down. The device can be woken up by a low level on the
UART signal, i.e. by sending break.
Table 10. COMMANDS
Command Name Description
AT Dummy Command Just returns ‘OK’ and does nothing else. Can be used to check
communication.
AT$SB=bit[,bit] Send Bit Send a bit status (0 or 1). Optional bit flag indicates if AX−SFUS
should receive a downlink frame.
AT$SF=frame[,bit] Send Frame Send payload data, 1 to 12 bytes. Optional bit flag indicates if
AX−SFUS should receive a downlink frame.
AT$SO Manually send out of band
message
Send the out−of−band message.
AT$TR? Get the transmit repeat Returns the number of transmit repeats. Default: 2
AT$TR=? Get transmit range Returns the allowed range of transmit repeats.
AT$TR=uint Get transmit repeat Sets the transmit repeat.
ATSuint? Get Register Query a specific configuration register’s value. See chapter
“Registers” for a list of registers.
ATSuint=uint Set Register Change a configuration register.
ATSuint=? Get Register Range Returns the allowed range of transmit repeats.
AT$IF=uint Set TX Frequency Set the output carrier macro channel for Sigfox frames.
AT$IF? Get TX Frequency Get the currently chosen TX frequency.
AT$DR=uint Set RX Frequency Set the reception carrier macro channel for Sigfox frames.
AT$DR? Get RX Frequency Get the currently chosen RX frequency.
AT$CW=uint,bit[,uint_opt] Continuous Wave To run emission tests for Sigfox certification it is necessary to send a
continuous wave, i.e. just the base frequency without any modula-
tion. Parameters:
Name Range Description
Frequency 800000000− Continuous wave frequency in Hz.
999999999, 0 Use 902200000 for Sigfox or 0 to
keep previous frequency.
Mode 0, 1 Enable or disable carrier wave.
Power 24 dBm of signal | Default: 24
AT$CB=uint_opt,bit Test Mode: TX constant byte For emission testing it is useful to send a specific bit pattern. The
first parameter specifies the byte to send. Use ‘−1’ for a
(pseudo−)random pattern. Parameters:
Name Range Decsription
Pattern 0−255, −1 Byte to send. Use ‘−1’ for a
(pseudo−)random pattern.
Mode 0, 1 Enable or disable pattern test mode.
AT$RC Reset FCC Macrochannel This command resets the FCC Macrochannel. Subsequent transmit
operations (AT$SO, AT$SB, AT$SF) may pause up to 20 s to ensure
FCC compliance
AT$T? Get Temperature Measure internal temperature and return it in 1/10
th
of a degree
Celsius.

AX-SFUS-API-1-01-TX30

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
RF System on a Chip - SoC RF-MICROCONTROLLER
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union