Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF58232/SDK15 Where can I find sample code to use NRFX_UARTE ?

Hi,

I'm looking for an example of how NRFX_UARTE works.

I would like to set up a serial port with EasyDMA to send and receive a thirty bytes.

Thanks in advance for your help.

Best regards, 

Parents Reply
  • Ok.

    I include only "nrf_uarte.h"

    and with void UARTE0_UART0_IRQHandler(void) I have an error : 

    1> main.o: In function `UARTE0_UART0_IRQHandler':
    1> main.c:729: multiple definition of `UARTE0_UART0_IRQHandler'
    1> Nordic_BLE\nRF5_SDK_15.0.0\modules\nrfx\drivers\src/nrfx_uarte.c:571: first defined here

    If I keep NRFX_PRS_ENABLED = 1 and NRFX_PRS_BOX_4_ENABLED 1, I have an error : 

    1> main.o: In function `UARTE0_UART0_IRQHandler':
    1> main.c:728: multiple definition of `UARTE0_UART0_IRQHandler'
    1> Nordic_BLE\nRF5_SDK_15.0.0\modules\nrfx\drivers\src\prs/nrfx_prs.c:81: first defined here

Children
Related