Skip to content

Commit 3e9702b

Browse files
boards: shields: Add mchp_rnbd451_bt
Add board support for the Microchip RNBD451 shield. This shield is compatible with a development board that includes a mikroBUS socket. Signed-off-by: James Liu <James.Liu2@microchip.com>
1 parent 2503202 commit 3e9702b

File tree

9 files changed

+181
-0
lines changed

9 files changed

+181
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (c) 2025-2026 Microchip Technology Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
if SHIELD_MCHP_RNBD451_BT || \
5+
SHIELD_MCHP_RNBD451_BT_MIKROBUS || \
6+
SHIELD_MCHP_RNBD451_BT_XPLAINED_PRO
7+
8+
if BT
9+
10+
config MAIN_STACK_SIZE
11+
default 2048 if BT_HOST_CRYPTO
12+
13+
config BT_BUF_ACL_TX_COUNT
14+
default 12
15+
16+
config BT_BUF_EVT_RX_COUNT
17+
default 13
18+
19+
config BT_BUF_EVT_DISCARDABLE_COUNT
20+
default 12
21+
22+
config BT_HCI_ACL_FLOW_CONTROL
23+
default n
24+
25+
endif # BT
26+
27+
endif # SHIELD_MCHP_RNBD451_BT
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright (c) 2025-2026 Microchip Technology Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config SHIELD_MCHP_RNBD451_BT
5+
def_bool $(shields_list_contains,mchp_rnbd451_bt)
6+
7+
config SHIELD_MCHP_RNBD451_BT_MIKROBUS
8+
def_bool $(shields_list_contains,mchp_rnbd451_bt_mikrobus)
9+
10+
config SHIELD_MCHP_RNBD451_BT_XPLAINED_PRO
11+
def_bool $(shields_list_contains,mchp_rnbd451_bt_xplained_pro)
6.91 KB
Loading
9.56 KB
Loading
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
.. _rnbd451_add_on_shield:
2+
3+
RNBD451 Add-on Board
4+
###############################
5+
6+
Overview
7+
********
8+
9+
The RNBD451 Add-on Board is an efficient low-cost development platform to evaluate and demonstrate
10+
the features, capabilities and interfaces of Microchip's Bluetooth® Low Energy module, RNBD451PE.
11+
The add-on board is compliant to the mikroBUS™ standard and includes an on-board MCP2200 USB-to-UART
12+
converter enabling out-of-box evaluation with no other hardware requirements.
13+
14+
More information about the shield can be found at `RNBD451 Add-on Board Primary User Guide`_.
15+
16+
.. figure:: img/mchp_rnbd451_bt_mikrobus.webp
17+
:height: 350px
18+
:align: center
19+
:alt: RNBD451 Add-on Board
20+
21+
Requirements
22+
************
23+
24+
This shield is compatible with a development board that includes a mikroBUS™ socket.
25+
If a mikroBUS socket is not available, a mikroBUS adapter can be used to provide both an
26+
extension header and a mikroBUS interface. The mikroBUS™ Xplained Pro is an extension Board
27+
for the Xplained Pro evaluation platform, designed to support mikroBUS™ Click boards™ with
28+
Xplained Pro MCU boards.
29+
30+
31+
.. figure:: img/2080-atmbusadapter-xpro.webp
32+
:height: 300px
33+
:align: center
34+
:alt: ATMBUSADAPTER-XPRO - mikroBUS Adapter
35+
36+
Configurations
37+
**************
38+
39+
When bringing up the RNBD451 Bluetooth Low Energy (BLE) controller after a Power-On Reset (POR),
40+
the Zephyr Bluetooth subsystem sends the **HCI reset command** (the first HCI command) to the BLE
41+
controller. However, in the original design, this command is sent too early for the RNBD451, as
42+
it takes more than 400 ms from POR to be ready to accept the first HCI command.
43+
44+
To address this timing issue, introduce a delay in the Zephyr application to enable Bluetooth.
45+
This delay ensures that the **HCI reset command** is sent at the appropriate time. Add the following
46+
code snippet to the application to introduce a 500 ms delay before calling ``bt_enable()``:
47+
48+
``k_sleep(K_MSEC(500));``
49+
50+
Programming
51+
***********
52+
53+
Activate the presence of the shield for the project build by adding the
54+
``--shield mchp_rnbd451_bt_mikrobus`` or ``--shield mchp_rnbd451_bt_xplained_pro`` when you invoke
55+
``west build`` based on Mikrobus or Xplained Pro interface:
56+
57+
.. zephyr-app-commands::
58+
:app: samples/bluetooth/peripheral
59+
:board: your_board_name
60+
:shield: shield mchp_rnbd451_bt_mikrobus
61+
:goals: build
62+
63+
Or
64+
65+
.. zephyr-app-commands::
66+
:app: samples/bluetooth/peripheral
67+
:board: your_board_name
68+
:shield: mchp_rnbd451_bt_xplained_pro
69+
:goals: build
70+
71+
References
72+
**********
73+
74+
.. target-notes::
75+
76+
.. _RNBD451 Add-on Board Primary User Guide:
77+
https://ww1.microchip.com/downloads/aemDocuments/documents/WSG/ProductDocuments/UserGuides/RNBD451-Add-On-Board-User-Guide-DS50003476.pdf
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright (c) 2025-2026 Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/*
8+
* This file is intentionally empty. Please refer to shield documentation
9+
* for instructions to use this shield.
10+
*/
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright (c) 2025-2026 Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
chosen {
9+
zephyr,bt-hci = &bt_hci_uart;
10+
};
11+
};
12+
13+
&mikrobus_serial {
14+
status = "okay";
15+
16+
bt_hci_uart: bluetooth {
17+
compatible = "zephyr,bt-hci-uart";
18+
status = "okay";
19+
};
20+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright (c) 2025-2026 Microchip Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
chosen {
9+
zephyr,bt-hci = &bt_hci_uart;
10+
};
11+
};
12+
13+
&ext1_serial {
14+
status = "okay";
15+
16+
bt_hci_uart: bluetooth {
17+
compatible = "zephyr,bt-hci-uart";
18+
status = "okay";
19+
};
20+
};
21+
22+
&nvmctrl {
23+
status = "okay";
24+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
shields:
2+
- name: mchp_rnbd451_bt_mikrobus
3+
full_name: RNBD451 Add-on Board (Mikro BUS)
4+
vendor: microchip
5+
supported_features:
6+
- bluetooth
7+
8+
- name: mchp_rnbd451_bt_xplained_pro
9+
full_name: RNBD451 Add-on Board (Xplained Pro)
10+
vendor: microchip
11+
supported_features:
12+
- bluetooth

0 commit comments

Comments
 (0)