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

BLE_ADC SAADC sampling rate

Hello!

USing help from this forum i have successfullz transmitted adc value from one pin of AIN# to ble and reasing values successfullz but now i am facing an issue that when iever i change adc sample rat time from 250 to other lower vaalue to increase sample rat like if i write 2 that is 1/2ms will be 500hz but it gives onlz 10 to 15 ereadings it then app gives an error of gatt connection timeout 0x08 .Can someone help me with this how to set sampling rate at 500 or 1000 hz.

Thanks.

Parents Reply Children
  • faizan12 said:
    i didnt check abiut this debug set i will update about this tomorrow

    Yes, please do that and let me know.

    faizan12 said:
    nothing seems on code side because it send values prfctly on uart and shows on serial monitor perfectly.

    Yes, it sounds like the device is still running, but we will need to find out why the connection is broken.
    With DEBUG defined the device should output where the error was generated, and which error it is, if an error occurs.
    In this case, this might lead us to the reason why the connection is broken. Please define DEBUG and attach the log readout for when the connection is broken.

    Best regards,
    Karl

Related