Hello all,
I am working on nrf52832 Board and i want to use it as translator to send and receive the data , please tel which pins i need to select as UART(rx,tx) pins ? How to configure the same?
Hello all,
I am working on nrf52832 Board and i want to use it as translator to send and receive the data , please tel which pins i need to select as UART(rx,tx) pins ? How to configure the same?
I recommend you run the ble_app_uart project in the nRF5_SDK_13.0.0_0\examples\ble_peripheral, and the RX and TX are 8 and 6.
Thank you.. Can we select any other pins?if yes how to configure?
Yes, you can select other pins. This can be configured in the PCA10040.h file. Or you can change it directly in main in the app_uart_comm_params_t instance.
const app_uart_comm_params_t comm_params =
{
.rx_pin_no = RX_PIN_NUMBER,
.tx_pin_no = TX_PIN_NUMBER,
.rts_pin_no = RTS_PIN_NUMBER,
.cts_pin_no = CTS_PIN_NUMBER,
.flow_control = APP_UART_FLOW_CONTROL_DISABLED,
.use_parity = false,
.baud_rate = UART_BAUDRATE_BAUDRATE_Baud115200
};
Hi, I am trying to config the other GPIO pins as UART RX/TX, as suggested above, but I am not getting any output on realterm. I get output, only when I use default config of 6 and 8(Tx/Rx).
I am working on the temperature example given in peripheral. I am using PCA 10040 Development kit. Are there any other configuration settings, that I need to set??
Hi Arjun,
Share your contact and company details.