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

running TWO LIBUARTE - RX not working on LIBUARTE0

Hi All,

I am trying to run two UARTS using LIBUARTE.

this is the relevant configuration:

#define NRF_LIBUARTE_ASYNC_WITH_APP_TIMER 1
#define NRF_LIBUARTE_DRV_UARTE0 1
#define NRF_LIBUARTE_DRV_UARTE1 1

#define NRFX_RTC_ENABLED 1
#define NRFX_RTC0_ENABLED 1
#define NRFX_RTC1_ENABLED 0
#define NRFX_RTC2_ENABLED 1

#define NRFX_TIMER_ENABLED 1
#define NRFX_TIMER0_ENABLED 1
#define NRFX_TIMER1_ENABLED 1
#define NRFX_TIMER2_ENABLED 1
#define NRFX_TIMER3_ENABLED 1
#define NRFX_TIMER4_ENABLED 0

NRF_LIBUARTE_ASYNC_DEFINE(uarte0, 0, 1, 1, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 512, 3);
NRF_LIBUARTE_ASYNC_DEFINE(uarte1, 1, 2, 2, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 512, 3);

UART1 working perfect. TX + RX.
UART0: only TX is working. getting no bytes. 
tried loopback, switched various pins.

tried running only UART0. no better results.
what am I doing wrong?

any help will be greatly appreciated!
Thanks!
    Mickey

Parents Reply Children
No Data
Related