Dear Sir/Madam
We are planning to use P0.17 (RXD ) and P0.19 (TXD) as serial communication port connecting to Microchip SAM L10 Xplained Pro - Dm320204. I wonder if there is any sample code or UART driver available for nRF52832?
Thanks
Victor
Dear Sir/Madam
We are planning to use P0.17 (RXD ) and P0.19 (TXD) as serial communication port connecting to Microchip SAM L10 Xplained Pro - Dm320204. I wonder if there is any sample code or UART driver available for nRF52832?
Thanks
Victor
Hi Jorgen
I tried serialization solution examples you mentioned. Connected the two nRF52 development boards as in the instruction of serialization hardware uart. , which is very clear. Serialization software setup installation are easy to follow too. However, after install Heart Rate application on app board and serialized example project onto connectivity board, then I don't know what & where to look the logs or activity. I used RTT to connect to application board, and no RX/TX activities. I assume this example will show user how two boards can communicate each other via UART with PINS connected, right? Further info will be appreciated.
Thanks
Victor
Hi Jorgen
I tried serialization solution examples you mentioned. Connected the two nRF52 development boards as in the instruction of serialization hardware uart. , which is very clear. Serialization software setup installation are easy to follow too. However, after install Heart Rate application on app board and serialized example project onto connectivity board, then I don't know what & where to look the logs or activity. I used RTT to connect to application board, and no RX/TX activities. I assume this example will show user how two boards can communicate each other via UART with PINS connected, right? Further info will be appreciated.
Thanks
Victor
The serialization solution shows how one board can control the softdevice/BLE stack on another device over a serial interface. This is used in applications where you have a one MCU for the application and another MCU running the radio protocol. If you only want to communicate between two devices over UART interface, there is no need to use serialization, then UART/libUARTE examples are better starting points.
I tried both UART and libUARTE samples that wired with RX P0.06 and TX P0.08 to another MCU, which are used for the debug console. Interesting thing is the data sent from another MCU received and appears to the terminal emulator PuTTY. Can UART to another MCU share the same PINS with debug console terminal emulator PuTTY?
As a test, I changed P0.06 and P0.08 to P0.23 & P0.24, which were used for application sample code. But not work.
Did you connect TX pin from nRF to RX pin of external MCU, and RX pin from nRF to TX pin of external MCU? Are you using the same UART configurations (baudrate, flow control, stop/parity bits, etc) on both sides?