UART between two PCA10056 boards with Softdevice running

Hi

Background:

We are in the starting phase of a project where two nRF52840 must communicate with each other through UART. The communication must be two-ways. Messages sent between the units will have a length of 5 to 15 bytes. Those two nRF5240 SoC are also running BLE communication; one as peripheral unit and the other as a central unit.

 

Problem:

We use PCA10056 for initial SW development and since we are not familiar at all with UART communication we ran into problems to get the different SDK examples to work. (SDK 17.0.2)

 

We found some information on the following link https://devzone.nordicsemi.com/f/nordic-q-a/71665/nrf-52832-uart-high-speed-communication/294686?focus=true#294686, where we could download an example written by Jørgen Holmefjord. We downloaded it and it compiled and works when a PUTTY terminal is connected.

 

Then we got the idea that we could flash two flash two PCA10056 boards with the example made by Jørgen and wire as following:

TX on board 1 to RX on board 2

RX on board 1 to TX on board 2

CTS on board 1 to RTS on board 2

RTS on board 1 to CTX on board 2

 

But it does not work.

Probably we lack some fundamental knowledge and understanding of how UART should work (we have started on UART lessons now) but in meantime if someone here in the Devzone have some hints of what we could do to get a UART connection between two PCA10056 boards with Softdevice running we will be very happy. If there exist some working examples, we would be even happier.

 

Kind regards

Svein

Parents Reply Children
No Data
Related