How to setup the driver & test program to test driver for MCU(i.mx6) and nrf52840 with UART connection.

Hi Nordic Support Team,

First sorry for basic questions.

I'm learning the basic hardware setup & Linux driver configuration things to setup & configure the MCU(i.mx6) and nrf52840 with UART connection,

we have one project circuit board (In this board controller MCU(i.mx6) is connected with  nrf52840 using UART).

we are using yocto to setup the Linux things in MCU.

Here is the connection diagram.

I read some couple of threads regarding this setup, got confused with serialization & soft device and HCI.

Please give me some details on this  serialization & soft device and HCI.

How i can add driver to MCU with UART connection  to setup the nrf52840 and test the driver from MCU side.

any defconfig i need to change or any other configuration required from make menuconfig?

Please provide me the steps to do that. Also do i need to do any changes on nrf52840 to communicate with MCU?

Please help Here.

Thanks 

Parents
  • Hi,

    Is the case here that you have a Linux MCU which should use the nRF52840 as a BLE connectivity device? If so, it makes sense to run the Bluetooth host on the Linux MCU, and the Bluetooth controller on the nRF52840, and use HCI communication over UART between them. The nRF Connect SDK has read made sample projects that do this. As you want to use UART, you can use Bluetooth: HCI UART. This sample documentation also describes how to use BlueZ as Bluetooth controller on the Linux side.

Reply
  • Hi,

    Is the case here that you have a Linux MCU which should use the nRF52840 as a BLE connectivity device? If so, it makes sense to run the Bluetooth host on the Linux MCU, and the Bluetooth controller on the nRF52840, and use HCI communication over UART between them. The nRF Connect SDK has read made sample projects that do this. As you want to use UART, you can use Bluetooth: HCI UART. This sample documentation also describes how to use BlueZ as Bluetooth controller on the Linux side.

Children
Related