SARA-R42 - Application note
UBX-20050829 - R02
Testing
Page 43 of 58
C1-Public
Pin no
Name
Interface
6
DSR
UART
7
RI
8
DCD
9
DTR
10
RTS
11
CTS
16
GPIO1
GPIO
19
GPIO6
23
GPIO2
24
GPIO3
25
GPIO5
26
SDA
DDC
27
SCL
34
I2S_WA
Audio
35
I2S_TXD
36
I2S_CLK
37
I2S_RXD
42
GPIO5
GPIO
Table 15: List of pins available for +UTEST digital testing
Below is an example of configuring GPIO 1 as output and set to high.
Command
Response
Description
AT+CMME=2
OK
Configure the formatting of the error result code by
means of the +CMEE AT command.
AT+COPS=2
OK
Deregister the module from the network.
AT+UTEST=1
OK
The module enters the test mode.
AT+UTEST=10,1
(pin description returned)
OK
Gets the pin information.
AT+UTEST=10,2,"000000000000
000000008000"
OK
Put the module in interface initialized state; the
command saves the pins status to restore it at the end
of the test. Pins enabled for testing: GPIO1 pin 16
Where hex: 0000 0000 0000 0000 0000 8000
AT+UTEST=10,3,"000000000000
000000000000"
OK
GPIO1 is configured for output where the bits for pin 16
are set low
Where hex: 0000 0000 0000 0000 0000 0000
AT+UTEST=10,4,"000000000000
000000008000"
OK
GPIO1 is set to high for pin 16
Where hex: 0000 0000 0000 0000 0000 8000
AT+UTEST=10,5
Configurations made by the AT+UTEST=10,2;
AT+UTEST=10,3 and AT+UTEST=10,4 commands are
executed.
AT+UTEST=10,6
000000000000000000008000
OK
Logic digital value measured at modules pins for
GPIO1, and "high" level detected.
Below is an example of configuring RTS and CTS as output and set to high. This example can only be
done through the USB interface.
Command
Response
Description
AT+CMME=2
OK
Configure the formatting of the error result code.
AT+COPS=2
OK
Deregister the module from the network.
AT+UTEST=1
OK
The module enters the test mode.