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

Hello for my radio plus ADC problem

Hello i am now implementing a nordic52832 project On this

nRF5_SDK_14.0.0_3bcc1f7\examples\proprietary_rf\esb_ptx

nRF5_SDK_14.0.0_3bcc1f7\examples\proprietary_rf\esb_prx

secondary development

I want to implement real-time transfer ADC acquisition value So I ported nRF5_SDK_14.0.0_3bcc1f7 \ examples \ peripheral \ saadc in

If not running uint32_t nrf_esb_write_payload(nrf_esb_payload_t const * p_payload) ,ADC void saadc_callback(nrf_drv_saadc_evt_t const * p_event) ADC acquisition data value callback function is running normally

but If running uint32_t nrf_esb_write_payload(nrf_esb_payload_t const * p_payload) Send data once,ADC acquisition data value callback function is not running normally

Parents
  • Hi

    What do you mean the callback is not running normally? Is it being delayed, or does it stop completely?

    What kind of sample rate do you need on the ADC?

    I would recommend triggering the ADC at a fixed rate, rather than doing it as quickly as you can (like in the example).
    Also, if you use a larger buffer you will be able to do more samples before the callback is fired. Then you should be less affected by radio interrupts.

    Best regards
    Torbjørn

Reply
  • Hi

    What do you mean the callback is not running normally? Is it being delayed, or does it stop completely?

    What kind of sample rate do you need on the ADC?

    I would recommend triggering the ADC at a fixed rate, rather than doing it as quickly as you can (like in the example).
    Also, if you use a larger buffer you will be able to do more samples before the callback is fired. Then you should be less affected by radio interrupts.

    Best regards
    Torbjørn

Children
No Data
Related