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

How to initialize the uart?

i want to print the data to the uart to see the values in the uart..i am unable to initialize the uartt..

what are the things to be added for the initialization of the uart?

Parents
  • Hi Naveenkumar,

    What sensor are you using? 

    Is this your setup? (Sensor -- UART--nrf52 -- UART --PC ) 


    There is a single UART/UARTE on the nRF52832. It can either be configured to use EasyDMA(UARTE) or not use EasyDMA(UART). UARTE is recommended, and the UART registers are considered deprecated in the latest version of the product specification.

    If you need two UARTE peripherals, then you can find that on the nRF52840.

     

    (It is possible to multiplex the UART pins, i.e. you switch between two pin configurations. However, this will still only be able to use one UART at the time.)

Reply
  • Hi Naveenkumar,

    What sensor are you using? 

    Is this your setup? (Sensor -- UART--nrf52 -- UART --PC ) 


    There is a single UART/UARTE on the nRF52832. It can either be configured to use EasyDMA(UARTE) or not use EasyDMA(UART). UARTE is recommended, and the UART registers are considered deprecated in the latest version of the product specification.

    If you need two UARTE peripherals, then you can find that on the nRF52840.

     

    (It is possible to multiplex the UART pins, i.e. you switch between two pin configurations. However, this will still only be able to use one UART at the time.)

Children
Related