Anyone knows how to use RCP on K32W USB dongle ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Anyone knows how to use RCP on K32W USB dongle ?

Jump to solution
1,256 Views
rapmon80121
Contributor I

Hi,

Recently, I've found very exciting opensource project. It was a project to emulate several types of thread things on a linux PC. (https://github.com/Samsung/ioter)
In order to use this project, it was necessary to flash RCP firmware on the thread chip.

I got interested and test it with the Nordic (nrf52840) and NXP (k32w) thread dongles that I had.
Nordic worked very well, but NXP didn't work due to some erros.

I thought it would work because I used the prebuilt image included in SDK_2.6.11_K32W061DK6. But, it didn't work so I felt like a little strange.
Could you give me any helps ?

The error log is following:
---
May 24 09:23:53 systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 4.
May 24 09:23:53 systemd[1]: Stopped OpenThread Border Router Agent.
May 24 09:23:53 systemd[1]: Starting OpenThread Border Router Agent...
May 24 09:23:53 systemd[1]: Started OpenThread Border Router Agent.
May 24 09:23:53 otbr-agent: [NOTE]-AGENT---: Backbone interface: wlan0
May 24 09:23:53 otbr-agent[2975558]: [NOTE]-AGENT---: Running 0.3.0-a032a864d2-dirty
May 24 09:23:53 otbr-agent[2975558]: [NOTE]-AGENT---: Thread version: 1.3.0
May 24 09:23:53 otbr-agent[2975558]: [NOTE]-AGENT---: Thread interface: wpan0
May 24 09:23:53 otbr-agent[2975558]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyUSB0
May 24 09:23:53 otbr-agent[2975558]: [NOTE]-AGENT---: Radio URL: trel://wlan0
May 24 09:23:53 otbr-agent[2975558]: [NOTE]-ILS-----: Infra link selected: wlan0
May 24 09:23:53 otbr-agent[2975558]: [INFO]-NCP-----: OpenThread log level changed to 4
May 24 09:23:55 otbr-agent[2975558]: 58d.06:43:05.808 [W] Platform------: Wait for response timeout
May 24 09:23:55 otbr-agent[2975558]: 58d.06:43:05.808 [C] Platform------: HandleRcpTimeout() at radio_spinel_impl.hpp:2273: RadioSpinelNoResponse
May 24 09:23:55 systemd[1]: otbr-agent.service: Main process exited, code=exited, status=6/NOTCONFIGURED
May 24 09:23:55 systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
---

P.S
I searched for something similar on the list, but, I don't think it's being updated anymore. So, I'd like to ask a new question.
(https://community.nxp.com/t5/Other-NXP-Products/Running-RCP-image-on-K32W-USB-dongle/m-p/1329403)

Thank you.
rapmon

Tags (2)
1 Solution
1,081 Views
mihai_ignat
NXP Employee
NXP Employee

I forgot to mention that otbr-agent needs an extra argument, please see this comment also.

View solution in original post

0 Kudos
Reply
5 Replies
1,113 Views
mihai_ignat
NXP Employee
NXP Employee

Hello, @rapmon80121 .

OT RCP support on K32W0 USB dongle is available as a binary in the K32W0 SDK starting with version 2.6.10. The binary can be found in /tools/wireless/ot-rcp folder under the ot-rcp-uart-no-fc-usb name, as binary and axf file.
Can you confirm that you are using this image?

BR,

Mihai

0 Kudos
Reply
1,082 Views
mihai_ignat
NXP Employee
NXP Employee

I forgot to mention that otbr-agent needs an extra argument, please see this comment also.

0 Kudos
Reply
1,039 Views
rapmon80121
Contributor I

@mihai_ignat 

It's great. After adding baudrate parameter, it's working well.

Really thanks.

1,129 Views
Kumarr
Contributor II

I have same problem of it! Is NXP K32W USB Dongle not supporting Thread RCP yet?

0 Kudos
Reply
1,207 Views
DustinJ
Contributor I

The tool described support general RCP module.

I have Silabs thender board. It is working well but not working with k32w.

It looks pre-built image is wrong.

 

 

0 Kudos
Reply