Multi-NUS with USB CDC Support upgraded to SDK v2.5.0

We have Multi-NUS running with USB CDC Support upgraded to SDK v2.5.0, but I only have Rx working when connected to another dev board running the Peripheral UART Sample.  I'm not sure why Tx (sending from Multi-NUS central to the Peripheral) isn't working.  Attached (link below) is my project.  Please let me know your thoughts.

dongle.zip

Thanks,

Starbuck

Parents
  • Hi Starbuck,

    There was a case in the past with similar symptoms, where the issue is a stack overflow.

    It is not certain that it is the problem here, but could you please try to increase the stack size with CONFIG_MAIN_STACK_SIZE and see if it helps?

    Regards,

    Hieu

  • Here are my memory config sizes (same as the Peripheral UART example):

    # Enable the BLE modules from NCS
    CONFIG_BT_NUS_CLIENT=y
    CONFIG_BT_SCAN=y
    CONFIG_BT_SCAN_FILTER_ENABLE=y
    CONFIG_BT_SCAN_UUID_CNT=1
    CONFIG_BT_GATT_DM=y
    CONFIG_HEAP_MEM_POOL_SIZE=2048
    
    # This example requires more workqueue stack
    CONFIG_MAIN_STACK_SIZE=1152
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

    I doubled the stack size, but I'm still seeing the same issue.

    CONFIG_MAIN_STACK_SIZE=2304
     
    Do you see any glaring issues with the dongle.zip project I shared?
    We started with the Multi-NUS example, upgraded it from SDK v1.4.1 to SDK v2.5.0, and then used the Peripheral UART Sample as a guide to add USB CDC support.
Reply
  • Here are my memory config sizes (same as the Peripheral UART example):

    # Enable the BLE modules from NCS
    CONFIG_BT_NUS_CLIENT=y
    CONFIG_BT_SCAN=y
    CONFIG_BT_SCAN_FILTER_ENABLE=y
    CONFIG_BT_SCAN_UUID_CNT=1
    CONFIG_BT_GATT_DM=y
    CONFIG_HEAP_MEM_POOL_SIZE=2048
    
    # This example requires more workqueue stack
    CONFIG_MAIN_STACK_SIZE=1152
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

    I doubled the stack size, but I'm still seeing the same issue.

    CONFIG_MAIN_STACK_SIZE=2304
     
    Do you see any glaring issues with the dongle.zip project I shared?
    We started with the Multi-NUS example, upgraded it from SDK v1.4.1 to SDK v2.5.0, and then used the Peripheral UART Sample as a guide to add USB CDC support.
Children
No Data
Related