AX−SFUS, AX−SFUS−API
www.onsemi.com
13
Table 10. COMMANDS
Command DescriptionName
AT$V? Get Voltages Return current voltage and voltage measured during the last
transmission in mV.
AT$I=uint Information Display various product information:
0: Software Name & Version
Example Response: AX−Sigfox 1.1.1−FCC
1: Contact Details
Example Response: support@axsem.com
2: Silicon revision lower byte
Example Response: 8F
3: Silicon revision upper byte
Example Response: 51
4: Major Firmware Version
Example Response: 1
5: Minor Firmware Version
Example Response: 1
7: Firmware Variant (Frequency Band etc. (EU/US))
Example Response: FCC
9: SIGFOX Library Version
Example Response: UDL1−1.8.7
10: Device ID
Example Response: 00012345
11: PAC
Example Response: 0123456789ABCDEF
AT$P=uint Set Power Mode To conserve power, the AX−SFUS can be put to sleep manually.
Depending on power mode, you will be responsible for waking up the
AX−SFUS again!
0: software reset (settings will be reset to values in flash)
1: sleep (send a break to wake up)
2: deep sleep (toggle GPIO9 or RESET_N pin to wake up;
the AX−SFUS is not running and all settings will be reset!)
AT$WR Save Config Write all settings to flash (RX/TX frequencies, registers) so they
survive reset/deep sleep or loss of power.
Use AT$P=0 to reset the AX−SFUS and load settings from flash.
AT:Pn? Get GPIO Pin Return the setting of the GPIO Pin n; n can range from 0 to 9.
A character string is returned describing the mode of the pin,
followed by the actual value. If the pin is configured as analog pin,
then the voltage (range 01 V) is returned. The mode characters
have the following meaning:
Mode Description
0 Pin drives low
1 Pin drives high
Z Pin is high impedance input
U Pin is input with pull−up
A Pin is analog input (GPIO pin 03 only)
T Pin is driven by clock or DAC (GPIO pin 0 and 4 only)
The default mode after exiting reset is U on all GPIO pins.
AT:Pn=? Get GPIO Pin Range Print a list of possible modes for a pin. The table below lists the
response.
Pin Modes
P0 0, 1, Z, U, A, T
P1 0, 1, Z, U, A
P4 0, 1, Z, U, T
P5 0, 1, Z, U
P6 0, 1, Z, U
P7 0, 1, Z, U
P8 0, 1, Z, U
P9 0, 1, Z, U
AT:Pn=mode Set GPIO Pin Set the GPIO pin mode.
For a list of the modes see the command AT:Pn?
AX−SFUS, AX−SFUS−API
www.onsemi.com
14
Table 10. COMMANDS
Command DescriptionName
AT:ADC Pn[−Pn[ (1V|10V)]]? Get GPIO Pin Analog Voltage Measure the voltage applied to a GPIO pin. The command also
allows measurement of the voltage difference across two GPIO pins.
In differential mode, the full scale range may also be specified as 1 V
or 10 V. Note however that the pin input voltages must not exceed
the range 0..VDD_IO. The command returns the result as fraction of
the full scale range (1 V if none is specified). The GPIO pins
referenced should be initialized to analog mode before issuing this
command.
AT:SPI[(A|B|C|D)]=bytes SPI Transaction This command clocks out bytes on the SPI port. The clock frequency is
312.5 kHz. The command returns the bytes read on MISO during out-
put. Optionally the clocking mode may be specified (default is A):
Mode Clock Inversion Clock Phase
A normal normal
B normal alternate
C inverted normal
D inverted alternate
Note that SEL, if needed, is not generated by this command,
and must instead be driven using standard GPIO commands
(AT:Pn=0|1).
AT:CLK=freq,reffreq Set Clock Generator Output a square wave on the pin(s) set to T mode. The frequency of
the square wave is (freq / 2
16
) × reffreq. Possible values for reffreq
are 20000000, 10000000, 5000000, 2500000, 1250000, 625000,
312500, 156250. Possible values if freq are 065535.
AT:CLK=OFF Turn off Clock Generator Switch off the clock generator
AT:CLK? Get Clock Generator Return the settings of the clock generator. Two numbers are
returned, freq and reffreq.
AT:DAC=value
Set SD DAC Output a SD DAC value on the pin(s) set to T mode. Parameter
value may be in the range −3276832767. The average output
voltage is (1/2 + value / 2
17
) × VDD.
An external low pass filter is needed to get smooth output voltages.
The modulation frequency is 20 MHz. A possible low pass filter
choice is a simple RC low pass filter with R = 10 kW and C = 1 mF.
AT:DAC=OFF
Turn off SD DAC
Switch off the DAC
AT:DAC?
Get SD DAC
Return the DAC value
AX−SFUS, AX−SFUS−API
www.onsemi.com
15
Table 10. COMMANDS
Command DescriptionName
AT$TM=mode,config Activates the Sigfox Testmode Available test modes:
0. TX BPSK
Send only BPSK with Synchro Bit + Synchro frame +
PN sequence: No hopping centered on the TX_frequency.
Config bits 0 to 6 define the number of repetitions. Bit 7 of config
defines if a delay is applied of not in the loop
1. TX Protocol:
Tx mode with full protocol with Sigfox key: Send Sigfox protocol
frames with initiate downlink flag = True. Config defines the
number of repetitions.
2. RX Protocol:
This mode tests the complete downlink protocol in Downlink only.
Config defines the number of repetitions.
3. RX GFSK:
RX mode with known pattern with SB + SF + Pattern on
RX_frequency (internal comparison with received frame known
pattern = AA AA B2 27 1F 20 41 84 32 68 C5 BA AE 79 E7 F6 DD
9B. Config defines the number of repetitions. Config defines the
number of repetitions.
4. RX Sensitivity:
Does uplink + downlink frame with Sigfox key and specific timings.
This test is specific to SIGFOX’s test equipments & softwares.
5. TX Synthesis:
Does one uplink frame on each Sigfox channel to measure
frequency synthesis step
AT$SE Starts AT$TM−3,255 indefinitely Convenience command for sensitivity tests
AT$SL[=frame] Send local loop Sends a local loop frame with optional payload of 1 to 12 bytes.
Default payload: 0x84, 0x32, 0x68, 0xC5, 0xBA, 0x53, 0xAE, 0x79,
0xE7, 0xF6, 0xDD, 0x9B.
AT$RL Receive local loop Starts listening for a local loop.
Table 11. REGISTERS
Number Name Description Default Range Units
300 Out Of Band
Period
AX−SFUS sends periodic static
messages to indicate that they are
alive. Set to 0 to disable.
24 0−24 hours
400 Macrochannel
Mask
The mask of Macrochannels to use. <000001FF>
<00000000>
<00000000>,1
410 Encryption Key
Configuration
Set to zero for normal operation. Set
to one for use with the SIGFOX
Network Emulator Kit (SNEK)
0 0−1 0: private key
1: public key

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