Other Parts Discussed in Thread: CC2652P7
I am building Openthread RCP example from Simplelink 7.10.02.23 for LP_CC1352P7-4 board, however having trouble when I set the baudrate to 460800.
On starting otbr-agent it sends a bunch of spinel frames successfully but then consistently hangs when the call to RcpSetMac() occurs. It seems somewhat racy though as maybe 20% of the time, it does succeed without the timeout error.
Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.004 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:8, cmd:PROP_VALUE_SET, key:PHY_ENABLED, enabled:1 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.004 [D] P-RadioSpinel-: Wait response: tid=8 key=32 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.007 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:8, cmd:PROP_VALUE_IS, key:PHY_ENABLED, enabled:1 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.007 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:9, cmd:PROP_VALUE_SET, key:MAC_15_4_PANID, panid:0xffff Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.007 [D] P-RadioSpinel-: Wait response: tid=9 key=54 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.011 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:9, cmd:PROP_VALUE_IS, key:MAC_15_4_PANID, panid:0xffff Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.011 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:10, cmd:PROP_VALUE_SET, key:MAC_15_4_SADDR, saddr:0x0000 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.011 [D] P-RadioSpinel-: Wait response: tid=10 key=53 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.014 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:10, cmd:PROP_VALUE_IS, key:MAC_15_4_SADDR, saddr:0x0000 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.014 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:11, cmd:PROP_VALUE_GET, key:PHY_RX_SENSITIVITY Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.014 [D] P-RadioSpinel-: Wait response: tid=11 key=39 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.017 [D] P-RadioSpinel-: Received spinel frame, flg:0x2, iid:0, tid:11, cmd:PROP_VALUE_IS, key:PHY_RX_SENSITIVITY, sensitivity:-90 Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.018 [D] P-RadioSpinel-: Sent spinel frame, flg:0x2, iid:0, tid:12, cmd:PROP_VALUE_SET, key:RCP_MAC_KEY, keyIdMode:8, keyId:1, prevKey:***, currKey:***, nextKey:*** Mar 23 23:57:50 6b091069403f otbr-agent[195]: 00:00:00.018 [D] P-RadioSpinel-: Wait response: tid=12 key=2048 Mar 23 23:57:52 6b091069403f otbr-agent[195]: 00:00:02.020 [W] P-RadioSpinel-: Wait for response timeout Mar 23 23:57:52 6b091069403f otbr-agent[195]: 00:00:02.020 [C] Platform------: HandleRcpTimeout() at radio_spinel.cpp:2092: RadioSpinelNoResponse
Tested using latest OTBR Docker image, but also same results in the Home Asssitant OTBR Addon.
Are there any other settings I need to tweak to get this working at 460800 baudrate?