NRF_LOG is not working in my Custom Board

Hello,

I am working NRF52840 as custom board, In my custom board NRF_LOG is not working I mean Nothing is displaying on terminal like tera term or termite. If load the code in Development Board (NRF52840 DK Boards) its working fine and also I Can view the data on terminal. My problem is in my custom board, can you please help me on this. How to solve this type of issues. 

Thanks & I am waiting for your response.

Parents Reply
  • Hi,

    I am using UART Converter, I have one doubt that is whether I have to mention that custom board UART Pins in Programming side also, please help me on this.

    or else 

    Only Hardware connection is enough???...

    Thanks & I am waiting for your response.

Children
  • You just need to configure DK pins for the TX and RTS as output and RX and CTS as inputs with no pull configuration.

  • From where I have to configure the output(TX & RTS) and input as (RX & CTS), please tell me..

  • nrf_gpio_cfg_output/nrf_gpio_cfg_input are the are the API that you can use to set the gpio direction. Please check this thread on how to do that on the nrF52 DK.

    You need to use this API to set the pin direction in the firmware that you flash in nRF52 DK. You can find this file in SDK\modules\nrfx\hal\nrf_gpio.h.

    Do you this direction setting for CTS/RTS/TX/RX pins in main() function and then loop forever in the while(1);

  • Hi, 

    Thanks for the reply...

    Do you this direction setting for CTS/RTS/TX/RX pins in main() function and then loop forever in the while(1); ---> How to use this in main,

  • Hi, 

    Please help me I have one doubt I am using ADC using I2C, my doubt is SCL & SDA pin which pin number I have to mention in my code whether ADC having SCL & SDA and also NRF also having SCL and SDA in my custom board, which pin number I have to mention ,

    Thanks in advance.