Maybe I understood why the 840 does not provide an accurate indication of the slope. Yesterday in the race it read the altitude correctly but "lagged behind" in the calculation of the slope so if on a 15% climb at the beginning it gave me 0% or even negative values, at a certain point it gave me 25-30% to "recover".
Moreover I noticed that at each LAP there was a delay in the summary page appearing and, finally, at the end of the race it did not have time to calculate the new FTP which had objectively increased.
After all this introduction I believe that the problem is the slowness in performing the calculations. I checked and I have no pending updates, the New files folder is empty and there is over 50% of free storage space. I thought about deleting the old activities.
Can I do something else or does Garmin have different solutions?