Home/Support/Support Forum/Xbee3 reset to default values

Xbee3 reset to default values

0 votes
I have a device and a host that use the xb3-24z8pt-j module in 802.15.4 mode and sometime the module resets to its defaults parameters. Precisely, the baud rate and the MY values reset to the defaults value. What can cause this issue? I don't use any command that can reset the module to its default values.

I'm aware of the thread http://cms.digi.com/support/forum/65331/xbee-parameters-goes-to-default-values and the only WR value we do is to write the CH parameter when we want to change the channel and keept it in memory.

Is there anything we can do to prevent this reset?
asked Dec 12, 2019 in XBee3 802.15.4 by pdaraiche New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
You can issue the ATRE command which will reset it to defaults along with triggering the reset line or power cycling the module if you have not written the settings to flash.
answered Dec 12, 2019 by mvut Veteran of the Digi Community (12,006 points)
I'm using API mode for AT command. The sequence of event works 99% of time but a one point it fails. I have report logs that show the problem occur always on WR command until now.

I will use a logic analyzer to see what is truly going on the serial port but I don't see how an error on the serial port will bring the module back to its factory setting.
IF you are are using API mode and you do not get a response from a command or frame, then most likely the frame is in Error and that is why you did not get a response.
I used a logic analyser to catch the issue I have. I can see that all my communications are cleans and there's no delay between the bytes within an AT command. My point of interest is for the WR command.  99% of time I got a response within 33ms to 65ms. But somtimes, I don't get the OK response and at this occasion there's a low pulse of 75us on DIN pin.  I'm pretty sure this it not driven by us. So my question is what happen on pin DIN (config_n) when the module resets to its factory parameters?

As a test, I intentionnaly sent a pulse of 75us immediately after a WR command and it does nothing.

I noticed in the documentation that we must use WR command sparingly.  What is the magnitude of order for the number of WR?  What happend when we reached the limit?

Finally, I will ask again what can cause the module to reset to factory parameter even if I don't send the RE command?
I can't answer what happens when you reach the max number of write cycles.  I am not aware of anyone who has.  As for the other question, I have given you what info I have on it.  I am only aware of a few ways to do that.  One is to issue the ATRE with a WR, one is to re-write the firmware and the final is to do a four button press on the commissioning line.
I think I won't get the answers of my questions here on this forum.  I'll try to escalate it to engineering to get the answers to my questions.  Thanks mvut for your support here.
...