This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem with porting nxp uart driver for nrf52840-dk

Hi i am involved in sdk5 based uart porting project

i can run example project and receive/send data to/from nrf52840-dk .

the problem is when i dig deep into the project i found more than one implementations of uart driver

nrfx_uart, nrf_drv_uart, and nrf_uart.

my task is to write an abstraction layer code and i am not sure which driver to use as base.

overall goal is to write init deint and write functions.

an easy example is appreciated

Parents Reply
  • Vidar Berg UART1_ENABLED 1 solved my problem now i can not see compile error

    how much instances i can create in nfr528540?

    is it correct way to create second instance

    #define APP_UART_SECOND_DRIVER_INSTANCE 1

    static nrf_drv_uart_t uart_instent2 = NRF_DRV_UART_INSTANCE(APP_UART_SECOND_DRIVER_INSTANCE);

Children
Related