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

Is there a way for multi-threading in NRF52840

Hi I am receiving data samples from a radio trans-receiver over SPI, and I am storing them in a buffer. I want to send this samples over BLE, and want to have a maximum throughput. I am using NUS service for this purpose. So I am continuously calling ble_nus_send string for data transfer from buffer till I get a NRF_ERROR_RESOURCES. I want to minimize the data samples loss that I sense over the transreciever, using multithreading. That is I receive samples and fill the buffer, at the same time send data packets over BLE. Is there an example project of Nordic for multithreading?

Parents Reply Children
No Data
Related