Matter closure sample / crash when sending MoveTo(TargetPositionEnum.kMoveToFullyClosed) command

Hello,

I am currently testing the Matter Closure sample with an nRF5340-DK board. I am using nRF SDK 3.2.0.

- When I send an open command, everything works fine.

- When I send a close command, I get a fatal Zephyr error.

Open: MoveTo(position=clusters.ClosureControl.Enums.TargetPositionEnum.kMoveToFullyOpen)

Close: MoveTo(position=clusters.ClosureControl.Enums.TargetPositionEnum.kMoveToFullyClosed)

Matter command

      await self.send_device_command(
            clusters.ClosureControl.Commands.MoveTo(
                position=clusters.ClosureControl.Enums.TargetPositionEnum.kMoveToFullyClosed,
            ),
            timed_request_timeout_ms=1000,
        )
Serial log when sending the Matter command:
[22:41:13]D: 910640 [IN]UDP Message Received packet nb : 81 SrcAddr : fd55:fc62:6327:1:531a:1b87:d2d5:9871[47454] DestAddr : fd55:fc62:6327:1:bb7:5683:c76f:d189[5540] Payload Length 39
[22:41:13]I: 910657 [EM]>>> [E:30323r S:8852 M:213367465] (S) Msg RX from 3:000000000001B669 [A0FA] to 00000000000000A6 --- Type 0001:0A (IM:TimedRequest) (B:39)
[22:41:13]I: 910672 [EM]<<< [E:30323r S:8852 M:21943548 (Ack:213367465)] (S) Msg TX from 00000000000000A6 to 3:000000000001B669 [A0FA] [UDP:[fd55:fc62:6327:1:531a:1b87:d2d5:9871]:47454] --- Type 0001:01 (IM:StatusResponse) (B:42)
[22:41:13]I: 910692 [EM]??1 [E:30323r S:8852 M:21943548] (S) Msg Retransmission to 3:000000000001B669 scheduled for 1837ms from now [State:Active II:500 AI:300 AT:4000]
[22:41:13]D: 910716 [IN]UDP Message Received packet nb : 82 SrcAddr : fd55:fc62:6327:1:531a:1b87:d2d5:9871[47454] DestAddr : fd55:fc62:6327:1:bb7:5683:c76f:d189[5540] Payload Length 67
[22:41:13]I: 910733 [EM]>>> [E:30323r S:8852 M:213367466 (Ack:21943548)] (S) Msg RX from 3:000000000001B669 [A0FA] to 00000000000000A6 --- Type 0001:08 (IM:InvokeCommandRequest) (B:67)
[22:41:13]abort()
[22:41:13]E: r0/a1:  0x00000004  r1/a2:  0x000a922c  r2/a3:  0x00000001
[22:41:13]E: r3/a4:  0x00000004 r12/ip:  0x00084e45 r14/lr:  0x000113d9
[22:41:13]E:  xpsr:  0x21000000
[22:41:13]E: Faulting instruction address (r15/pc): 0x000113e8
[22:41:13]E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
[22:41:13]E: Current thread: 0x2000c038 (CHIP)
[22:41:13]E: Halting system

Could you help me fix the bug?
Parents Reply Children
Related