3.1.10 RNBD Code Generation & Compilation

  1. Click the Generate button which will be next to Project Resource

  2. Include the header #include "mcc_generated_files/examples/rnbd_example.h" in main.c

  3. Call the function Example_Initialized(); in main() after SYSTEM_Initialize().

  4. Pin Mapping Table between MCU & RNBD Click
    S.noPIN FunctionalityPICRNBD Click
    1 Receive (RxD) RB3 Tx
    2 Transmit (TxD) RB0 Rx
    3 BT_RST RC7 RST

  5. Connect the development board of your choice and connect the RNBD to the proper slot() as shown below.

    Note: Connect RNBD Click to Slot 2 as shown in below image
    Important: Slot was decided based on the UART Instances which was configured for this example application (PIN Mapping between MCU & RNBD Click).

  6. Build the Generated Project:

  7. Program to the Board: