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

USB CDC ACM Example Single Write

Hello,

we are using the USB CDC ACM Example to set up a USB connection between the computer and the nRF-Chip. By pressing Press Button 1 a bunch of test data will be sent to the terminal program (after a short delay).

But how is it possible to set up a instantaneous data-transfer of a single data array (for example after a button was pressed). It seems like the data are only transmitted after multiple callings of the function app_usbd_cdc_acm

Setup: nRF5 SDK v13.0.0 USB CDC ACM Example; nRF52840-Preview-DK

With kind regards

Fabian

Related