CC2530: Which MCU and how to guides?

Part Number: CC2530
Other Parts Discussed in Thread: CC2538, SIMPLELINK-CC13X2-26X2-SDK, CC2652R, LAUNCHXL-CC26X2R1, Z-STACK

Hi,

We are wanting to control lights over a ZigBee mesh network  but unsure as to which MCU we should be using in our product.

The CC2530 seems to be getting close to EOL?

How about the CC2538?

Also, how does one start to create the firmware for the chosen chip?

Are there templates?

Any suggestions appreciated.

Regards,

Steve