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

PCA100040 uart example gets stuck

Hello,

A stupid newbie question: APP_UART_FIFO_INIT seems to get stuck while trying to run example code.

Only modification I have made is the usage of SEGGER_RTT for debug. Does that mess up the uart somehow?

Best regards, Sampo

Parents
  • Hello Joakim,

    Sorry to have this so broadly defined. I'm using nRF5_SDK_14.0.0, and I'm using the examples/peripheral/uart The ble_app_uart example works like charm, but not the uart example for connecting serial devices to the PCA100040 board. I can compile the example, flash it, run it, and it seems to run until it calls the macro APP_UART_FIFO_INIT. I did remove the RTT debug code and just used LEDs for testing. So with the code:

    bsp_board_led_on(2);
    APP_UART_FIFO_INIT(&comm_params,
                         UART_RX_BUF_SIZE,
                         UART_TX_BUF_SIZE,
                         uart_error_handle,
                         APP_IRQ_PRIORITY_LOWEST,
                         err_code);
    

    bsp_board_led_on(1);

    The second led newer gets lit up...

Reply
  • Hello Joakim,

    Sorry to have this so broadly defined. I'm using nRF5_SDK_14.0.0, and I'm using the examples/peripheral/uart The ble_app_uart example works like charm, but not the uart example for connecting serial devices to the PCA100040 board. I can compile the example, flash it, run it, and it seems to run until it calls the macro APP_UART_FIFO_INIT. I did remove the RTT debug code and just used LEDs for testing. So with the code:

    bsp_board_led_on(2);
    APP_UART_FIFO_INIT(&comm_params,
                         UART_RX_BUF_SIZE,
                         UART_TX_BUF_SIZE,
                         uart_error_handle,
                         APP_IRQ_PRIORITY_LOWEST,
                         err_code);
    

    bsp_board_led_on(1);

    The second led newer gets lit up...

Children
No Data
Related