the transfer speed of the cdc_acm in ncs

the cdc_acm speed is faster for my use in nrf5 sdk, but when i use the ncs,the cdc_acm example is use uart line, and the speed is slow, i receive data from rf2.4G radio, then transfer the data to cdc_acm, i found the ringbuf(1024Bytes) is full, so im sure the cdc_acm transfer speed slow than the rf 2M,is there any  method to improve the cdc_acm speed

Parents
  • I did a quick test with the cdc_acm example where I called uart_fifo_fill(dev, buffer, 64); as fast as possible, and I seem to receive about 1000000bytes in ~10seconds, which equal about 100kBps = 800kbps. Considering that the wireless protocol have some overhead, timing, and bidirectional communication it should be sufficient to to handle most data I would think.

    Best regards,
    Kenneth

Reply
  • I did a quick test with the cdc_acm example where I called uart_fifo_fill(dev, buffer, 64); as fast as possible, and I seem to receive about 1000000bytes in ~10seconds, which equal about 100kBps = 800kbps. Considering that the wireless protocol have some overhead, timing, and bidirectional communication it should be sufficient to to handle most data I would think.

    Best regards,
    Kenneth

Children
Related