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

UART module nRF52

Hi all, I am trying to use the UART hardware module inside the nRF52 DK. I am very new programming with Nordic chips and C, my previous experience is programming Arduino and Atmel chips.

Can I use prinft() function to put out data from the uC programming in keil uvision5?

I tried use nRF_LOG_Info, but I think it works just for debugging not for the propose I want

sorry for the folk question

Thanks in advance

Parents
  • Hi,

    You can use NRF_LOG_INFO() just like you use the printf(). E.g. NRF_LOG_INFO("Hello World\r\n");. Remember to enable the NRF_LOG in sdk_config.h. See this answer, and this answer on how to use the configuration wizard.

  • Which of the uart examples? ble_app_uart or uart? What device do you want to send information from? PC, µC or phone? What SDK version are you using?

Reply
  • Which of the uart examples? ble_app_uart or uart? What device do you want to send information from? PC, µC or phone? What SDK version are you using?

Children
No Data