Home/Support/Support Forum/Gpio problem

Gpio problem

0 votes
Hello, I have a Digi Xbee 868 LP (XB8-DMUS-002)

I need to drive Xbee Gpio as Output, hence I send these commands:
+++
ATD45<cr>
ATP25<cr>
ATAC<cr>
ATCN<cr>

as reported in the datasheet I intentionally not include ATWR<cr> because I want that gpio are drived in Volatile mode (i.e.: when the module is powered off and then on, I need that the gpio is found in the initial condition).

For example: initial condiction (including ATWR<cr> command):
+++
ATD44<cr> (low)
ATP24<cr> (low)
ATWR<cr>
ATAC<cr>
ATCN<cr>

at runtime
+++
ATD45<cr> (high)
ATP25<cr> (high)
ATCN<cr>

after power off and power on again I expected that D4 = Low P2 = low
but instead I find
D4 = High P2 = High..
asked Sep 26, 2016 in XBee Programmable Development by luciano.rosa New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
after write you need to read the all the parameters once then only it set other wise it will be old values.
answered Sep 27, 2016 by csreddy Seasoned Professional (195 points)
...