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

SDK15.2 Operational issues between FDS and PPI ADC

Hi Nordic,

    Does FDS affect PPI ADC acquisition when writing data? The test found that once the FDS is written to the data, the ADC data returned by the PPI ADC is fixed.

1.The acquired AD data is correct before the FDS write operation.

2.After the FDS write operation, the acquired AD data will have a fixed interval.

I am using SDK15.2 and PPI to trigger the ADC to collect data. Is there a conflict with FDS writing data?Please help answer, thank you!

Parents Reply Children
  • Hi Kenneth,

        I have not received your reply, can you help me analyze this problem?

    Thanks!

  • I copy my answer from the other thread:

    Hi,

    The CPU will be halted during the flash write operation, depending on how frequent the ecg_data occurs, it may not be able to service the interrupts between measurements. Maybe this is causing your program flow to misbehave. Can you check your ADC configuration has changed and/or if your event source for the PPI channel to the ADC task has changed?

    An FDS write operation may not take very long time if it's only an flash write operations that occurs (maybe tens of ~us range), but if the FDS write trigger an flash erase operation to be able to write, then the CPU may be halted for 100ms, which is very long time.

    Best regards,
    Kenneth

Related