Any chance zigbee CC2540 support?

By mistake I bought a CC2540, not a CC2531. Any chance it is supported? Or should I start searching for a CC2531?


The CC2540 is a Bluetooth dongle - not 802.15.4, so no, it won’t be supported.

You are right, I just read that on the official TI.
To tell the truth I am confused about my dongle, it have both numbers

And when I try to flash it, it fails:

$ ./cc-tool -e -w CC2531ZNP-Pro-Secure_Standard.hex -v r
  Programmer: SmartRF04DD
  Target: CC2531
  Erasing flash...
  Writing flash (241 KB)...
  Completed (8.35 s.)
  Verifying flash...

It may be that the two devices are pin compatible (I’ve not checked) and they have just used the same PCB. They could also be grey-market components, in which case, who knows what you get from China :wink:

Looking at the board though, it looks the same as a CC2531 board I have here, so maybe it is ok if the chip really is the 2531.

I know china is playing lottery :wink:

The device appear to work:

[  435.857949] usb 1-1: new full-speed USB device number 5 using xhci_hcd
[  436.001823] usb 1-1: New USB device found, idVendor=0451, idProduct=16a8
[  436.001828] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  436.001831] usb 1-1: Product: TI CC2531 USB CDC
[  436.001834] usb 1-1: Manufacturer: Texas Instruments
[  436.001836] usb 1-1: SerialNumber: __0X00124B000E896804
[  436.035197] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[  436.036118] usbcore: registered new interface driver cdc_acm
[  436.036120] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

And it appear in openhab:

2018-04-07 18:12:29.069 [thome.event.ExtensionEvent] - Extension 'binding-zigbee' has been installed.
2018-04-07 18:15:37.064 [hingStatusInfoChangedEvent] - 'zigbee:coordinator_cc2531:995a9270' changed from UNINITIALIZED to INITIALIZING
2018-04-07 18:15:37.077 [me.event.ThingUpdatedEvent] - Thing 'zigbee:coordinator_cc2531:995a9270' has been updated.
2018-04-07 18:15:37.079 [me.event.ThingUpdatedEvent] - Thing 'zigbee:coordinator_cc2531:995a9270' has been updated.
2018-04-07 18:15:37.079 [me.event.ThingUpdatedEvent] - Thing 'zigbee:coordinator_cc2531:995a9270' has been updated.
2018-04-07 18:15:37.090 [hingStatusInfoChangedEvent] - 'zigbee:coordinator_cc2531:995a9270' changed from INITIALIZING to UNKNOWN
2018-04-07 18:15:45.354 [hingStatusInfoChangedEvent] - 'zigbee:coordinator_cc2531:995a9270' changed from UNKNOWN to ONLINE
2018-04-07 18:15:46.084 [me.event.ThingUpdatedEvent] - Thing 'zigbee:coordinator_cc2531:995a9270' has been updated.

But I don’t know how to join a item. I bought a Temperature&Humidity sensor, and it stop blinking “faster” when I push the its network button and openhab is searching for new items, but I cannot find it anywhere. I am pretty sure I am missing some steps here.

And what use do the buttons on de dongle have?