# sir...i am beginner in xbee..can u please tell me how to enable csma-ca algorithm in xbee

**URL:** <https://forums.digi.com/t/sir-i-am-beginner-in-xbee-can-u-please-tell-me-how-to-enable-csma-ca-algorithm-in-xbee/18065>\
**Category:** XBee - Point-to-Point/Multi-Point\
**Tags:** topology, star\
**Created:** [February 23, 2017, 10:52am UTC](https://forums.digi.com/t/sir-i-am-beginner-in-xbee-can-u-please-tell-me-how-to-enable-csma-ca-algorithm-in-xbee/18065 "2017-02-23T10:52:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![saleela](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@saleela](https://forums.digi.com/u/saleela)\
**Post date:** [February 23, 2017, 10:52am UTC](https://forums.digi.com/t/sir-i-am-beginner-in-xbee-can-u-please-tell-me-how-to-enable-csma-ca-algorithm-in-xbee/18065/1 "2017-02-23T10:52:28Z")

</div>

sir…i am beginner in xbee…can u please tell me how to enable csma-ca algorithm in xbee.  
what are all the commands to enable the csma-ca protocol in a star topolopy

---

<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:** [February 23, 2017, 11:02am UTC](https://forums.digi.com/t/sir-i-am-beginner-in-xbee-can-u-please-tell-me-how-to-enable-csma-ca-algorithm-in-xbee/18065/2 "2017-02-23T11:02:05Z")

</div>

The CSMA function is enabled by default. You don’t need to do anything to enable it.

As for the Addressing, that depends on which XBee module you are using. In most of the Non Zigbee enabled products, it is as simple as setting the DL and DH of the transmitter side to the SL and SH of the receivers side. Then send your data just like you would a cable.

---

<div class="post-metadata">

**Author:** ![saleela](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@saleela](https://forums.digi.com/u/saleela)\
**Post date:** [February 24, 2017, 9:01am UTC](https://forums.digi.com/t/sir-i-am-beginner-in-xbee-can-u-please-tell-me-how-to-enable-csma-ca-algorithm-in-xbee/18065/3 "2017-02-24T09:01:42Z")

</div>

Thankyou very much sir,  
I have 4 xbee s2c and I want to implent a star network in which 1 will be coordinator and other 3 will be routers connected with sensors like temperature, pir, gas along with arduino.  
once coding has done using Arduinos all will start transmitting their respected values to coordinator. Now my question is that ‘is dat enough to code the Arduino in receiver side to receive all data as u said csma-ca is already enabled…?’  
please help me in this issue.

---

<div class="post-metadata">

**Author:** ![saleela](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@saleela](https://forums.digi.com/u/saleela)\
**Post date:** [February 27, 2017, 9:26am UTC](https://forums.digi.com/t/sir-i-am-beginner-in-xbee-can-u-please-tell-me-how-to-enable-csma-ca-algorithm-in-xbee/18065/4 "2017-02-27T09:26:23Z")

</div>

sir, in my star network using 3 as routers and 1 as coordinator, whether all xbee I have to give same channel or different channel

---

<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:** [February 27, 2017, 9:33am UTC](https://forums.digi.com/t/sir-i-am-beginner-in-xbee-can-u-please-tell-me-how-to-enable-csma-ca-algorithm-in-xbee/18065/5 "2017-02-27T09:33:39Z")

</div>

In order to form a network, they must all have the same channel and PAN ID.
