# Xbee ZB S2 - rx pin problem

**URL:** <https://forums.digi.com/t/xbee-zb-s2-rx-pin-problem/14556>\
**Category:** XBee & XBee Gateway\
**Tags:** xbee\
**Created:** [March 17, 2015, 3:40pm UTC](https://forums.digi.com/t/xbee-zb-s2-rx-pin-problem/14556 "2015-03-17T15:40:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mtch](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Mtch](https://forums.digi.com/u/Mtch)\
**Post date:** [March 17, 2015, 3:40pm UTC](https://forums.digi.com/t/xbee-zb-s2-rx-pin-problem/14556/1 "2015-03-17T15:40:22Z")

</div>

Hi  
i have a problem with xb24-zwit modules with 23A7 firmware.  
I use a atmega328 rx tx connected to tx rx of xbee. After start-up, some times, the rx pin of xbee don’t work but the tx pin work fine. If i send AT command to radio, the radio don’t execute command (for example FR reset) but if the radio receive data from the coordinator, the tx pin work fine and send data to processor. Also the pin assoc work correctly reporting the status of association.  
I tried to reset the processor but the radio still does not respond to commands. The radio receives correctly only after a hardware reset or restart supply.

Thanks for the support

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [March 26, 2015, 3:57pm UTC](https://forums.digi.com/t/xbee-zb-s2-rx-pin-problem/14556/2 "2015-03-26T15:57:04Z")

</div>

Three questions. First, what voltgeate level is your ATMEGA328 running at?  
Question 2, when you issue the command, are you issuing the Command mode sequence of 1 second of silence, +++ within 1 second, followed by 1 second of silence?  
Question 3, Are you using a voltage divirder or level shifter between the two devices?

---

<div class="post-metadata">

**Author:** ![Mtch](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Mtch](https://forums.digi.com/u/Mtch)\
**Post date:** [April 7, 2015, 10:07am UTC](https://forums.digi.com/t/xbee-zb-s2-rx-pin-problem/14556/3 "2015-04-07T10:07:28Z")

</div>

Hi  
the ATMEGA328 is running at 5V. I issuing AT command in API mode with xbee-arduino library and yes, i using a voltage divider between the two devices.
