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
OK,
I did try various pins. what I did not test is to switch the TX pin with RX, and then I saw that the RX does work (but then the TX does not
so I went through and tested until I found a valid pin
probably some dead pins on my EVK.
Thanks!Mickey
Hi Mickey,
Thanks for updating the ticket! So there are some pins on the DK that are not routed out to the pin headers by default. Could that be it? P0.9 and P0.10 used for NFC are for instance connected to the antenna port as shown by the silkscreen on the backside.