Receive data via uart with nrf5340

hello, I am currently working on a project that involves sending data via serial from a device to the nordic nr5340.

but I can't find an example that shows how it would be in this case, in the course it tells me to use the asynchronous api, but in this case it is to enter the parameters in the console, so I would like you to please tell me an example so that I can make the configuration.

Currently what I know is that a configuration must be made to specify the pins since by default the nrf5340 receives is through the gpios that are connected to the usb, however in the case of how the data is handled it is still confusing for me

So could you please tell me where to start.

Parents
  • Hello,

    What will you be communicating with? What are the requirements for your application? If low power is important, then I suggest you have a look at the Low Power UART(lpuart) sample.

    As you may know, if you click 'Browse' next to "Application template" in VS Code you can search for 'uart' to get a long list of relevant samples. However, we are happy to guide you further.

    Currently what I know is that a configuration must be made to specify the pins since by default the nrf5340 receives is through the gpios that are connected to the usb, however in the case of how the data is handled it is still confusing for me

    You may use an .overlay file to specify which pins to use for the UART on the nRF5340 DK. I could get back to you with an example.

Reply
  • Hello,

    What will you be communicating with? What are the requirements for your application? If low power is important, then I suggest you have a look at the Low Power UART(lpuart) sample.

    As you may know, if you click 'Browse' next to "Application template" in VS Code you can search for 'uart' to get a long list of relevant samples. However, we are happy to guide you further.

    Currently what I know is that a configuration must be made to specify the pins since by default the nrf5340 receives is through the gpios that are connected to the usb, however in the case of how the data is handled it is still confusing for me

    You may use an .overlay file to specify which pins to use for the UART on the nRF5340 DK. I could get back to you with an example.

Children
Related