Zephyr BLE examples for RW610

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

Zephyr BLE examples for RW610

1,177 Views
snjy
Contributor I

Hi,

I am working on bringing up a custom board based on RW610. So far i have tested I2C, SPI and UART on the board. The project is based on Zephyr and the next step is to test out BLE.

Firstly, there is no option to import an example for the RW610 because there is no dedicated dev board for the chip. I tried using the FRDM-RW610 board for a reference, configured the pins according to my custom board by passing a supplementary overlay file, and also configured the peripherals as necessary. I tried multiple ways to enable BLE but none of them are working.

The example 'peripheral_ht' works straightaway on the FRDM-RW612 as it should, but the same example doesnt work for the RW610 even after the configurations. 

I have referred to this question for reference.

On serial debug, i am getting the following error:

 

ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:504
        Controller unresponsive, command opcode 0xfc61 timeout with err -11
[00:00:16.717,989] <err> os: r0/a1:  0x00000003  r1/a2:  0x00000000  r2/a3:  0x00000002
[00:00:16.717,992] <err> os: r3/a4:  0x00000003 r12/ip:  0x00000010 r14/lr:  0x10045e9f
[00:00:16.717,994] <err> os:  xpsr:  0x01000000
[00:00:16.717,997] <err> os: Faulting instruction address (r15/pc): 0x10045eae
[00:00:16.718,004] <err> os: >>> ZEPHYR FATAL ERROR 3: Kernel oops on CPU 0
[00:00:16.718,010] <err> os: Current thread: 0x100b48a8 (unknown)
[00:00:16.777,075] <err> os: Halting system

 

Tags (1)
0 Kudos
Reply
2 Replies

1,146 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @snjy 

 

 there is no dedicated dev board for the chip.

You are custom a board with rw610? we provide frdm board and evk for development and our partener have rw61x based modules. 

 

Best Regards

Shaun

0 Kudos
Reply

1,145 Views
shaun_wu
NXP TechSupport
NXP TechSupport

If custom a board, nxp need to review the design and make sure the custom board meet our request.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2195308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EZephyr%20BLE%20examples%20for%20RW610%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20am%20working%20on%20bringing%20up%20a%20custom%20board%20based%20on%20RW610.%20So%20far%20i%20have%20tested%20I2C%2C%20SPI%20and%20UART%20on%20the%20board.%20The%20project%20is%20based%20on%20Zephyr%20and%20the%20next%20step%20is%20to%20test%20out%20BLE.%3C%2FP%3E%3CP%3EFirstly%2C%20there%20is%20no%20option%20to%20import%20an%20example%20for%20the%20RW610%20because%20there%20is%20no%20dedicated%20dev%20board%20for%20the%20chip.%20I%20tried%20using%20the%20FRDM-RW610%20board%20for%20a%20reference%2C%20configured%20the%20pins%20according%20to%20my%20custom%20board%20by%20passing%20a%20supplementary%20overlay%20file%2C%20and%20also%20configured%20the%20peripherals%20as%20necessary.%20I%20tried%20multiple%20ways%20to%20enable%20BLE%20but%20none%20of%20them%20are%20working.%3C%2FP%3E%3CP%3EThe%20example%20'peripheral_ht'%20works%20straightaway%20on%20the%20FRDM-RW612%20as%20it%20should%2C%20but%20the%20same%20example%20doesnt%20work%20for%20the%20RW610%20even%20after%20the%20configurations.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20referred%20to%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FWi-Fi-Bluetooth-802-15-4%2FZephyr-amp-RW610%2Fm-p%2F1969253%22%20target%3D%22_self%22%3Ethis%20question%3C%2FA%3E%20for%20reference.%3C%2FP%3E%3CP%3EOn%20serial%20debug%2C%20i%20am%20getting%20the%20following%20error%3A%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EASSERTION%20FAIL%20%5Berr%20%3D%3D%200%5D%20%40%20WEST_TOPDIR%2Fzephyr%2Fsubsys%2Fbluetooth%2Fhost%2Fhci_core.c%3A504%0A%20%20%20%20%20%20%20%20Controller%20unresponsive%2C%20command%20opcode%200xfc61%20timeout%20with%20err%20-11%0A%5B00%3A00%3A16.717%2C989%5D%20%3CERR%3E%20os%3A%20r0%2Fa1%3A%20%200x00000003%20%20r1%2Fa2%3A%20%200x00000000%20%20r2%2Fa3%3A%20%200x00000002%0A%5B00%3A00%3A16.717%2C992%5D%20%3CERR%3E%20os%3A%20r3%2Fa4%3A%20%200x00000003%20r12%2Fip%3A%20%200x00000010%20r14%2Flr%3A%20%200x10045e9f%0A%5B00%3A00%3A16.717%2C994%5D%20%3CERR%3E%20os%3A%20%20xpsr%3A%20%200x01000000%0A%5B00%3A00%3A16.717%2C997%5D%20%3CERR%3E%20os%3A%20Faulting%20instruction%20address%20(r15%2Fpc)%3A%200x10045eae%0A%5B00%3A00%3A16.718%2C004%5D%20%3CERR%3E%20os%3A%20%26gt%3B%26gt%3B%26gt%3B%20ZEPHYR%20FATAL%20ERROR%203%3A%20Kernel%20oops%20on%20CPU%200%0A%5B00%3A00%3A16.718%2C010%5D%20%3CERR%3E%20os%3A%20Current%20thread%3A%200x100b48a8%20(unknown)%0A%5B00%3A00%3A16.777%2C075%5D%20%3CERR%3E%20os%3A%20Halting%20system%3C%2FERR%3E%3C%2FERR%3E%3C%2FERR%3E%3C%2FERR%3E%3C%2FERR%3E%3C%2FERR%3E%3C%2FERR%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195512%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Zephyr%20BLE%20examples%20for%20RW610%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195512%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIf%20custom%20a%20board%2C%20nxp%20need%20to%20review%20the%20design%20and%20make%20sure%20the%20custom%20board%20meet%20our%20request.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195508%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Zephyr%20BLE%20examples%20for%20RW610%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195508%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255823%22%20target%3D%22_blank%22%3E%40snjy%3C%2FA%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3Bthere%20is%20no%20dedicated%20dev%20board%20for%20the%20chip.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20are%20custom%20a%20board%20with%20rw610%3F%20we%20provide%20frdm%20board%20and%20evk%20for%20development%20and%20our%20partener%20have%20rw61x%20based%20modules.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EShaun%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E