Post Go back to editing

ADICUP 360 with ADXL-355-PMDZ

Hi everyone,

I am using an ADICUP360 with ADXL355-PMDZ. I am currently using the example code provided by Analog Devices to take acceleration readings from the accelerometer. I have two main questions and I would be delighted if anyone of you could help me with that:

1. I want to increase the resolution of ADC. (Currently, I am getting an acceleration reading upto 1 decimal point and I want to get it upto 7-8 decimal point). Also, could you point out where can I change the code for it.

2. How can I add delay between two lines of main code? I need a detailed explanation for this question since there is nothing available on the internet about ADICUP timers and delays.

Thank You.

Top Replies

  • FormerMember
    FormerMember
+1 verified

Hi,

1)  At the end of the main.c file you need to change the precision of the float number representation.  "%.2f"  needs to be "%.6f" and that should do it for you.

2) A delay can be…