This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Having trouble using NRF log and UART to receive using COM Port

Hello

I need urgent help. From days I have been stuck exploring NRF SDK 15.0 to do a simple task.

I am using an NRF DK board PCA10040. After going through peripheral drivers and several documentation I wanted to simply set up UART port to send and receive data.

I simply wanted to link other on chip peripherals with UART and I also want to connect DK board with an RFID board via serial.

Turns out that all peripherals such as SAADC which I tried run on event handlers and services which is great but all SDK examples are dependent on NRF_Log! I found it to be extremely annoying to not single out processes.

Now I want to use service and handlers of any peripheral I desire and use it with simple UART, turns out there is no RX pin mapped to NRF_LOG back end serial? I traced it back to SDK and seems like only TX pin is mapped so is there no way to receive data over NRF_LOG?

        1) I simply want to receive data on UART using NRF Log

         2) I also tried CLI example but its way too complicated to include all that just to receive data

Please solve this issue of mine because I simply want to use a serial port to fit to my purpose, why doesn't NRF log support data reception?

I want to use all examples such as twi, SAADC with serial. SAADC is a critical part of the application we are trying to build and the fact that data is handled by handlers is fantastic but it makes other processes way too complicated.

Thanks in advance

Ali

Parents Reply Children
No Data
Related