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

I am running one mesh light and 3 mesh switch for a successful mesh demo with nRF5340 DKs. Next is implement UART0 simple communication on the mesh light board. How should I do UART init and basic TX/RX ?

Just no clue on including the proper files, initialization and how to use API in main or handler. My intent is once a led is on trigged by a button pressed up from the other board I should send some characters through the UART0 in application core. Thanks for the help!

Parents Reply
  • Elfving,

    I am make progress on send out characters through UART0 under mesh light sample. But I want to know more details on receiving messages from UART0 as sending stuff requires no any code merge.

    I could see lpuart here: \ncs\v1.6.1\nrf\samples\peripheral\lpuart

    But I could not find an option under SDK project window with lpuart and that is the reason I chose hci-_lpuart. Could you give me clues on this?

    Thanks a lot!

    Qi

Children
  • Hey Qtang!

    qtang said:

    But I could not find an option under SDK project window with lpuart and that is the reason I chose hci-_lpuart. Could you give me clues on this?

    You couldn't find it in the project drop-down menu? If not then you can allways find the folder yourself using the options button and then browsing through to nrf/samples/peripheral/lpuart.

    Was this what you were asking?

    Best regards,

    Elfving

Related