This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 bit band uart problem 19200 baudrate

Dear all,

We are using nrf52832 as our main MCU. In our development we need two uart. Among them first is Hardware uart which is working perfectly and second is software uart for which we need some help.

In our application we are using software uart with soft device. Actually we are using software uart for rf transmission in which we transmitted data using two baudrates 4800 and 19200.

In 4800 bd it's working fine but for 19200 bd frame is not received correctly. We have tried bit banging using two methods. In first method we have given the delay using timer and in second method we have given the delay using nrf_delay_us() API. In both methods we received the data on 4800 baud rate and data has changed on 19200 baudrate. For 4800 bd the frame length is 7 byte. For 19200 bd the min frame length 23 bytes and the max frame length is 43 bytes.

We have used the external crystal and the frequency is 16 Mhz.

Please guide us on that as early as possible.Your quick reply would be highly appreciated.

Thank you.  

Parents Reply Children
No Data
Related