I want to send a simple string from One nrf52 to another nrf52 via wired connection
I want to send a simple string from One nrf52 to another nrf52 via wired connection
Check out the UART example in the sdk. You can hook the TX to RX and RX to TX. This will allow you to use the commands app_uart_get() and app_uart_put() to transfer data between the two boards. This will help get you started. https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Findex.html
hkarthik97 if either or both of your nRF52s is on a Dev Kit, note that the default configuration is for the UART to be connected to the onboard JLink for the virtual COM port connection to the PC.
So, to connect 2 DKs together, you would need to choose different pins (or break the JLink connection).
As always with Serial comms, I strongly recommend that you start by getting it working with a PC terminal; once that's working, then (and only then) move on to connecting the 2 DKs
eg, see: devzone.nordicsemi.com/.../185454
hkarthik97 if either or both of your nRF52s is on a Dev Kit, note that the default configuration is for the UART to be connected to the onboard JLink for the virtual COM port connection to the PC.
So, to connect 2 DKs together, you would need to choose different pins (or break the JLink connection).
As always with Serial comms, I strongly recommend that you start by getting it working with a PC terminal; once that's working, then (and only then) move on to connecting the 2 DKs
eg, see: devzone.nordicsemi.com/.../185454