Hi, i’m developping a new design with Zigbee Xbee3 in MMT profile.
I’m currently coding pin settings with MicroPython, and i’m confused about how configure used and unused pins in sleep mode to achieve ultra low power consumption.
Digi Xbee3 documentation is not clear for me.
How configure all NC pins ? Doc says digital output low but sometimes …
Is it better or not to set NC pin as input with internal pull-down ?
What is exact electricaly differences between “as input” and “disabled” with/without internal pull-up/down resistor?
I control dynamicaly one mosfet P to power 1 or 2 sensors. This mosfet has a physical 100k pull-up resistor on gate for power down by default. What setting for this pin ?
What best settings about ON/SLEEP output, ASSOC output, RSSI output, Commissionning input, and RST input pins ?
And finally … I have a FT230XS chip to communicate with Xbee3 and host via USB. This one is hardware connected with Rx, Tx, CTS and RTS and FT230XS is completly off without Vbus and USB cable.
How configure these 4 xbee lines when Xbee3 go to sleeping if Rx input of FT230 is floating and probably diodes protection present ?
Ok for the NC pins, i wil follow the Digi docs, with digital output low.
For my other question, I thought that an NC pin or any other pins can’t draws current if I set as input high impedance and internal pull-down resistor.
The mosfet is a channel P and has 100k pull-up resistor between gate and Vcc, controled by DIO4. So I turn on this mosfet to power sensors by setting Xbee3 output to low. Turn off is the default state during xbee sleeping. What will happens if i put this output to high ?
I have a PCB that I can get down to 90uA in sleep. I would suggest taking all pins that dont need to do something during sleep, like hold a FET off, to inputs. This lowers the current. Try a pull down or pull up resistor for pins that must stay outputs during sleep. I have 2 FETs on my PCB
Yes, 90uA for the entire PCB during Sleep_Now(). Prior to going to sleep, I change the output pin for the FET to an input with pull up. I also have a 10K pullup resistor on the gate.