Home/Support/Support Forum/sleeping xbee and UART

sleeping xbee and UART

0 votes
Hi all

I have one xbee S1 node configured in cyclic sleep mode and a MCU conected to Din to send data. I want to shut down my MCU when xbee is sleeping but i notice that UART lines are held up. Is this normal for a sleeping node? Is there any way to disable UART when xbee is sleeping?
asked Jan 21, 2016 in DigiMesh Proprietary Mesh Networking by geologic New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

0 votes
The UART lines will be held at their default values while the radio is in a sleep state. What you should be monitoring is the On Sleep pin from your processor and use the /CTS line to tell you when you can send and receive data.
answered Jan 21, 2016 by mvut Veteran of the Digi Community (15,323 points)
Yes, i'm using sleep pin to monitor xbee activity, the problem is UART that is held high when xbee is sleeping. that way my MCU rx/tx lines are high and i cannot power off the MCU (i can destroy it if there are voltage on input pins when power is off).

So, my question is: is it possible to put xbee UART in low state when xbee is sleeping?
Sure you can with the PR command.  Just understand that it is bad to have some lines Low on a power up state such as DI. Doing so will result in putting the radio into command mode.
Hummm... as you said, messing with pullup with PR command seems bad idea, i had to change PR bit for Di every time radio sleeps/awakes, not sure if it is going to work.
So there is no default LOW state for Di pin when radio is off (like sleep pin), right?
I can isolate Di/Dout pins from xbee to my RX/TX MCU pins with a buffer IC, i would like to avoid that but it seems the only way...
No. At 3VCMOS level, the default value for DI is High. That is to say the idle state for DI is a high state.  This is per IEEE engineering standards.
Ok, thanks for the information.