Changing Hardware UART baudrate of nrf52dk in Zephyr?

This is actually a mix of software and hardware question.

Im trying to create a pass through device and I'm currently using the peripheral UART example in zephyr.

Where Android App >> nrf52dk NUS >>> 900MHz RF and vice versa. My 900MHz RF module has baud rate of 9600 and even parity.

1. How do I change the baud rate and parity of hardware UART?

2. Is the USB CDC connected to the nrf52832 chip using pin P0.06 and P0.08?

So while I read the data from usb cdc the data will also be sent to the RF module connected on P0.06 and P0.08 ?

EDIT : add this question

3. From the uart_init function. Tried configuring the baudrate but the communication on app and serial monitor doesnt work afterwards. 
It is confusing to me. It is configuring the hardware UART? but the variable has NUS written in it?

uart = device_get_binding(CONFIG_BT_NUS_UART_DEV);


TIA

Parents Reply Children
No Data
Related