Problem running peripheral_uart on NRF52810

Hi, 

I'm evaluating the NCS peripheral_uart example for our needs.

I have an issue with deploying this example to an PCA10040 board. While running the example built for target nrf52dk_nrf52832 works fine, I can't use this example when building for target nrf52dk_nrf52810. After flashing, the software starts an endless reboot cycle.

The easiest way to reproduce this, is to use the prj_minimal.conf file along with the example, and build it for target nrf52dk_nrf52810, and run it on the PCA10040 board.

Even though I have tried to create several very minimal versions of the application, am I running out of RAM during execution time? Or is there some other problem?

Hope someone can help.

With regards,

Parents
  • Hi,

    What version of the SDK are you using? I tried v1.7.0 here, but I was not able to replicate the issue.

    Here is the hex file from my build if you want to try run it on your board:

    0576.zephyr.hex

    Best regards,

    Vidar

  • Hi, Vidar,

    Sorry for the late reply. I'm not sure where the exact issue was, but I was able to get it running after doing a separate flash erase. So thanks for thinking along! Slight smile

    I'd also take the opportunity to ask, do you have any peripheral UART implementations for nrf52810, designed for maximum throughput?

    With regards,

  • Hi,,

    No worries Slight smile

    estnisk said:
    I'd also take the opportunity to ask, do you have any peripheral UART implementations for nrf52810, designed for maximum throughput?

    We don't. The provided sample is optimized to have the lowest possible memory usage. To enable higher throughput,  please try to use the configuration settings from the throughput sample to increase the radio packet length, mtu size, and the number of packets that can be placed in the output queue. This will increase the RAM usage.

    Best regards,

    Vidar

    CONFIG_BT_BUF_ACL_RX_SIZE=251
    CONFIG_BT_CONN_TX_MAX=10
    CONFIG_BT_L2CAP_TX_BUF_COUNT=10
    CONFIG_BT_L2CAP_TX_MTU=247
    CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
    CONFIG_BT_CTLR_PHY_2M=y
    CONFIG_BT_CTLR_RX_BUFFERS=2
    CONFIG_BT_BUF_ACL_TX_COUNT=10
    CONFIG_BT_BUF_ACL_TX_SIZE=251
    CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

Reply
  • Hi,,

    No worries Slight smile

    estnisk said:
    I'd also take the opportunity to ask, do you have any peripheral UART implementations for nrf52810, designed for maximum throughput?

    We don't. The provided sample is optimized to have the lowest possible memory usage. To enable higher throughput,  please try to use the configuration settings from the throughput sample to increase the radio packet length, mtu size, and the number of packets that can be placed in the output queue. This will increase the RAM usage.

    Best regards,

    Vidar

    CONFIG_BT_BUF_ACL_RX_SIZE=251
    CONFIG_BT_CONN_TX_MAX=10
    CONFIG_BT_L2CAP_TX_BUF_COUNT=10
    CONFIG_BT_L2CAP_TX_MTU=247
    CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
    CONFIG_BT_CTLR_PHY_2M=y
    CONFIG_BT_CTLR_RX_BUFFERS=2
    CONFIG_BT_BUF_ACL_TX_COUNT=10
    CONFIG_BT_BUF_ACL_TX_SIZE=251
    CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

Children
No Data
Related