AT commands
M0 (PWM0 Duty Cycle)
The duty cycle of the PWM0 line (TH pin 6/SMT pin 7).
Use the P0 command to configure the line as a PWM output.
If the IA (I/O Input Address) parameter is correctly set and P0 is configured as PWM0 output, incoming
AD0 samples automatically modify the PWM0 value.
Before setting the line as an output:
1. Enable PWM0 output (P0 = 2).
2. Apply settings (use CN or AC).
To configure the duty cycle of PWM0:
The PWM period is 64 µs and there are 0x03FF (1023 decimal) steps within this period. When M0 = 0
(0% PWM), 0x01FF (50% PWM), 0x03FF (100% PWM), and so forth.
Parameter range
0 - 0x3FF
Default
0
M1 (PWM1 Duty Cycle)
The duty cycle of the PWM1 line (TH pin 7/SMT pin 8).
Use the P1 command to configure the line as a PWM output.
Before setting the line as an output:
1. Enable PWM1 output (P1 = 2).
2. Apply settings (use CN or AC)
Parameter range
0 - 0x3FF
Default
0
P5 (SPI_MISO)
Sets or displays the SPI_MISO configuration.
This only applies to surface-mount devices.
Parameter range
0, 1
Parameter
0
1
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
Description
Disabled
SPI_MISO
I/O settings commands
94