I am trying to transfer data from a USB to serial converter board (called board A) to the nrf5 board (called board B). I made the connection over a bread board, the transmitter from board A is connected to pin 06 on board B, it is also at the same time connected to the receive in Board A. I am sending zeros and receiving zeros at board A. I want to see these zeros at board B.
The baud rate on both is adjusted to 19200. The ground is connected on both boards.
I started uart_pca10040 example but I don't get any data received on board B. I tried to connect pin 5 with 7 for CTS and DTR but also I don't see any data.
The data voltage on Board B is 2.1 V.
sherif said:connected to pin 06 on board B
Have you checked carefully that there is nothing on the board already "occupying" that pin?
In particular, remember that the PCA10040 has an on-board USB-to-Serial converter connected to the nRF52 chip...
Check the User Guide & Schematics ...
I know it has an on-board-usb-to serial converted but the target here is to transfer data from another device to this board. As far as I understand, when I checked the board pin assignment it says in page 8, p0.06 is TXD and pin 0.08 RXD. Please correct me if I misunderstood it.
Yes - those are the pins used by the on-board USB-to-UART.
So, if you're trying to connect an off-board device, you are either going to have to disconnect that, or use different pins.
In case p0.6 is configured as TXD, you have connected it incorrectly. RXD on board A must be connected to TXD of board B
how can I use different pins?