Multiple UART on NRF52833

Hello Everyone,

                   I am using NRF52833 in my project and I have my NRF module connected to 2 other microcontrollers on UART peripherals. The details are mentioned as below:-

1) NRF52833 connected to MCU A

   RX pin of nrf- P0.29

   TX pin of nrf- P0.28

2) NRF52833 connected to MCU B

   RX pin of nrf- P0.30

   TX pin of nrf- P0.31.

I have successfully configured connection to MCU and I am able to transmit data from NRF to MCU A and receive data on NRF from MCU A.

Now I have to add another UART in the code so as to communicate with MCU B. What will be the steps to add one more UART configuration?? What is the procedure to do so.

Thanks & Regards,

Snehal.

Parents Reply
  • I solved the issue. I had to put some defines like APP_TIMER_V2 & APP_TIMER_V2_RTC1_ENABLED in the preprocessor definitions. 

    I am also using "app_timer_freertos.c" in my project as I have to run some timers through schedulers. So the problem is I am getting multiple definition error after including the app_timer2.c.

    Any way to solve this issue?

    I actually removed 2 files app_timer2.c and drv_rtc.c and the errors are gone now. But still libuarte gives error while running the code on the device.

    Thank you.

Children
Related