Help with basic implementation of UART

Hello,

I am working on developing a BLE peripheral FW (Reader) with NRF52840 using nRF Connect SDK 2.0.0. The Reader has two MCU, one is BLE MCU and other is the main Control MCU.

I have implemented my custom BLE service in the BLE FW. 

Some data that i received from BLE Client i have to send to Main MCU using UART and also Some data that i receive on UART from Control MCU i have to send to BLE Client probably.

Which is the easiest method to achieve this from a sample ?

I have read the peripheral_uart example, but that seems to be more complex than what i need. It implements every data on UART to BLE Client.

Also, i am not much clear the steps to configure, init and use UART functions.

I am reading through samples and responses from devzone since 2 days, but havent got a good understanding on how to start yet.

Please help.

Related