LAUNCHXL-CC1352P: ZED returns SOFTWARE FAILURE to read attribute requests

Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: CC1352P, CC2652P, CC1352R, CC2651R3SIPA

Hello, I am trying to develop a firmware for a Zigbee end device, and I am stuck trying to make the examples run. I am using a Launchpad CC1352P for training and I flashed the example zed_temperaturesensor from the last SDK (8.31.00.11).

For the network I am using a Zigbed2MQTT instance with a CC2652P dongle acting as coordinator.

Pairing is executed perfectly and the device is added to the network pretty fast. The problem comes when Z2M tries to read attributes. The request is answered by the zed_temperaturesensor with a SOFTWARE_FAILURE status (0xc1). This happens with every request, it can be in the basic cluster (ej: manufacturer name attribute) or in the temperature cluster (ej: measured value attribute).

The device returns UNSUPPORTED_ATTRIBUTTE (0x86) when the requested attribute is not in the attributte table, which is the right response. The device is also able to report attributes (temperature in this case), the problem only happens in read attribute requests.

The example code has not been modified.

Read attribute request:

1.jpg

Read attribute response:

2.jpg

I have tried everything possible. Different microcontrollers (CC2651R3SIPA, CC1352R, CC2652P), different examples (temperaturesensor, light, switch) in both end device and router options, different coordinator (EFR32MG21 dongle with Emberznet stack on Zigbee2mqtt), different SDK versions, etc. Always encountering the same problem.

The solution may be something super simple that I overlooked, but at this point I am completly stuck. I hope someone can proviede some help.

Thank you in advance.